
ActionScript is used by the Flex developers to apply custom behaviors within a Flex application. There are situations when declarative language like that of MXML is not appropriate for coding. In such a situation the application of procedural language like ActionScript is the only option open.
Moreover, if you want to execute a dynamic aspect your application the ActionScript is the only option. ActionScript follows an executable method and consists of various types of storage variables.
Therefore in a situation when you want a button to glow as user moves the mouse through the button, MXML will suffice. But when users click on to it for some action to take place then you want to use ActionScript for that.
Moreover, if you want to execute a dynamic aspect your application the ActionScript is the only option. ActionScript follows an executable method and consists of various types of storage variables.
Therefore in a situation when you want a button to glow as user moves the mouse through the button, MXML will suffice. But when users click on to it for some action to take place then you want to use ActionScript for that.




