hello, usually when i'm doing a regular web application i have my html document, a small piece of javascript where i instantiate my general-purpose javascript objects and finally my especialists-objects.
How can i do it with Flex? using the <mx:Script> tag i can add some logic and do direct access on the widgets. But what i really need is to separate the script from the rest, so interface and logic could be well managed.