In the example below an action script file with .as extension has been imported in the main Operations.mxml file. This .as file instance is brought through the source attribute in <mx:Script> tags.
Syntax for using 'source' attribute:-
<mx:Script source = ' '> ...... </mx:Script>
In the imported action script file four functions are defined and they are called through the click attribute property of buttons in the main mxml file.
Ask your questions, our development team will try to give answers to your questions.