The question says it all basically, but an example:
<?xml version="1.0" encoding="UTF-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:mc="my_components.*"
xmlns:custom="swf_address.*"
...
deactivate="repeat_end(event); bActive = false"
...
initialize="{new Rad_XF(this)}"
>
What would the syntax be if deactivate="repeat_end(event); bActive = false"; is moved to an .AS file - specifically if its moved to the constructor of this new class I created Rad_XF.as. The reason it has to be moved is that repeat_end and bActive are members of this new class now, and no longer defined in the mxml file. (You can see I'm passing in the application reference to the Rad_XF constructor. - this hasn't been tested yet.)