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 [...]
Entries Categorized as 'flash'
Making Alpha Work on AS3 Dynamic Text Fields
October 14, 2008
Can I access Stage from an AS3 Class with no DisplayObject?
October 8, 2008
I’m working on a project that requires creating and adding a Movie Clip to the Stage from a class file. Seemed like an easy task, however, referring to the Stage from my class turned out to be trickier than I thought.
I know that, although you can’t refer to Stage directly, it is a property of [...]
Passing an Array or Object using Flash AS3 Remoting? Don’t Forget the Object Encoding!
May 20, 2008
Earlier today I posted about an issue I was having when attempting to pass a structure to a ColdFusion web service using AS3 netConnection. Whenever I attempted to pass a structure to the web service, the call would be rejected before it even reached the method it was calling. The error I was receiving was [...]
Posted in

content rss