Wednesday, November 19, 2008
At the Adobe MAX Conference in San Francisco, Google have announced that in a joint collaboration with Adobe and a few third party developers that they will be launching a simplified solution for tracking Flash content for everyone, called Google Analytics Tracking For Adobe Flash.
Getting started with AMFPHP
Over the last week or so I've been building my first project to make use of the AMFPHP alongside one of our server guys, have to say been pretty impressed with the ease at which it is to implement and the speed at which it runs. Couple of links -
Ajax and Flex Data Loading Benchmarks
Lee Brimlow has a couple of tutorials to get started over at GoToAndLearn
Few people have been mentioning Zend too - possibly about to be licensed by Adobe?
Ajax and Flex Data Loading Benchmarks
Lee Brimlow has a couple of tutorials to get started over at GoToAndLearn
Few people have been mentioning Zend too - possibly about to be licensed by Adobe?
Monday, November 10, 2008
Adobe Air Resources
So today I started out on the build of our first client Air App. Here's some of the resources I found to be useful in getting started...
Thursday, October 30, 2008
Tuesday, October 28, 2008
Tuesday, October 14, 2008
After seeing all the latest work from Eric Natzke and Flight404 at FOTB I've taken an interest in the powers of creating artwork through processing. Here's a interesting little article about it here
Labels: AS3, Design, Flash, Illustration
Monday, October 13, 2008
Friday, October 03, 2008
Using Library Embedded Fonts in AS3
In order to use a font you have embedded into the library of your fla the easiest way to use the font I have found is:
var field:TextField = new TextField();
var format:TextFormat = new TextFormat();
var font:FontLinkage = new FontLinkage();
format.font = font.fontName;
field.embedFonts = true;
field.defaultTextFormat = format;
field.text = "Text";
addChild(field);
Where FontLinkage is the name you have set of the linkage identifier within the library.
var field:TextField = new TextField();
var format:TextFormat = new TextFormat();
var font:FontLinkage = new FontLinkage();
format.font = font.fontName;
field.embedFonts = true;
field.defaultTextFormat = format;
field.text = "Text";
addChild(field);
Where FontLinkage is the name you have set of the linkage identifier within the library.
Friday, September 26, 2008
Add and Remove items from Array
This is a solution to an problem I ran into yesterday. I was storing an array of selected answers, when I ran into an issue where I wanted to add and remove the answers as the user selected/ deselected them. So ok, I could have run a loop through all of the answers to see if they were selected when the user submitted their answers but hey - this was my take on it - and something that has a wider use for future projects. You can download the example I've setup here.
Thursday, September 18, 2008
Thursday, July 24, 2008
You're probably aware of those nice reflections appearing in some of the latest websites, online ads, and even software. It's an effect common to "Web 2.0" designs, in which something like an album cover or video player appears to reflect some sort of virtual floor beneath it. This tutorial steps you through the creation of the Reflect class, a custom ActionScript 3.0 class that you can apply to reflections on movie clips (and use to modify them) in your Flash CS3 Professional projects.
Labels: AS3
Monday, June 02, 2008
Saturday, May 31, 2008
Thursday, May 29, 2008
Obtaining Flash Vars n AS3
AS3 to obtain flash vars
var flashVars:Object = LoaderInfo(this.root.loaderInfo).parameters;
trace(flashVars['variable name']);
var flashVars:Object = LoaderInfo(this.root.loaderInfo).parameters;
trace(flashVars['variable name']);
Labels: AS3
Tuesday, May 27, 2008
Email Verification through Regular Expressions - AS3
Here's an example to test email addresses using regular expressions:
var pattern:RegExp = /^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$/;
var goodEmail:String = "nick@thewhitewood.com";
var badEmail:String = "nick@thewhitewood";
trace(goodEmail, " is valid:", pattern.test(goodEmail));
trace(badEmail, " is valid:", pattern.test(badEmail));
var pattern:RegExp = /^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$/;
var goodEmail:String = "nick@thewhitewood.com";
var badEmail:String = "nick@thewhitewood";
trace(goodEmail, " is valid:", pattern.test(goodEmail));
trace(badEmail, " is valid:", pattern.test(badEmail));
Multiple Text Events in Single Textfield - AS3
Ran into an issue using multiple text links within an html field to call functions. Being that the textfield will only listen to the type of event - it is not possible to set different outcomes for different links as the eventListener is triggered by the listener set on the textfield. A little trick using the event.text function will allow you to see the name of the function being called.
Labels: AS3
Friday, May 16, 2008
Thursday, May 08, 2008
Tuesday, May 06, 2008
Thursday, March 13, 2008
Friday, March 07, 2008
Sunday, February 03, 2008
Wednesday, January 23, 2008
Monday, January 21, 2008
Tuesday, January 08, 2008
Monday, January 07, 2008
Tuesday, December 18, 2007
Contact
Portfolio

