Tag: ActionScript
-
atoi in Flex/ActionScript - Converting Strings to Numbers
It couldn’t be easier to convert a string to a number in Flex Actionscript. The language doesn’t have (or need) an atoi() function as seen in languages like C - it’s as simple as creating a cast:
-
Accessing the stage in Flex
When creating components in Flex, designers sometimes need to attach events to the main stage. Unless the application has reached creationComplete, the **stage **property of custom components will be null.