when the swf gets loaded, the Application starts and is firing events in a typical order like "preinitialize","initialize","creationComplete".... You can listen for any of those events to trigger your own "main" method
2013/8/29 Tom Chiverton <t...@extravision.com> > On 29/08/2013 09:23, Sumudu Chinthaka wrote: > >> what im confuse is that, what method get calls by the AIR runtime when you >> execute mobile or desktop application >> > There isn't a hard coded main() like in Java or C, it's event driven. > > Tom >