intermediate

Making Alpha Work on AS3 Dynamic Text Fields

Getting the alpha property to work with coded TextFields is another AS3 technique that you would expect to be a little easier, or at least more intuitive, than it is. Initially, you may expect something like this to render the text invisible:
var myTextField:TextField = new TextField();
myTextField.text = “Doesn’t Work”;
addChild(myTextField);
myTextField.alpha = .5;
But regardless of the alpha [...]

flash, intermediate

Easy Movie Clip Buttons Part 3 of 3: Defining Button States

In Part 1 I demonstrated how to dynamically populate existing movie clip buttons. in Part 2 I showed you how to dynamically place the button on screen. In the third and final installment, I’ll show you how to code your clips to behave like buttons. Using movie clips rather than buttons gives me the ability [...]

flash, intermediate

Easy Movie Clip Buttons Part 2 of 3: Dynamic Button Placement

Start by downloading and opening the sample file. The first difference you’ll notice from Part 1 is that there are no longer buttons on the stage. Part 1 demonstrated how to dynamically populate existing movie clip buttons. In this part, we’ll take it a step further by dynamically placing the buttons. Here’s our finished product:

flash, intermediate