For a browser app, you may take a look at this useful link: http://technobytz.com/flex-preinitialize.html
For a desktop app, the same events should apply but they are only called once - you should look at the InvokeEvent.INVOKE dispatched by the WindowedApplication: it will be dispatched after the first startup, and on every try to launch the application if it is already running (e.g. by its icon, or by file association), because the same AIR app cannot be launched in multiple processes at the same time. 2013/8/29 Tom Chiverton <[email protected]> > If you mean at the user level - nothing. > Unless you define an event listener, for something like creationComplete, > then nothing will happen. > > At the framework level, there's a whole component lifecycle that every > component you added to your app will go through : http://goo.gl/iHsHW < > http://www.google.com/url?sa=**t&rct=j&q=&esrc=s&source=web&** > cd=1&sqi=2&ved=0CDIQygQwAA&**url=http%3A%2F%2Fhelp.adobe.** > com%2Fen_US%2Fflex%2Fusing%**2FWS460ee381960520ad-** > 2811830c121e9107ecb-7fff.html%**23WS460ee381960520ad-** > 2811830c121e9107ecb-7ffc&ei=**1f8eUtHAPKvy0gX_qoHgAg&usg=** > AFQjCNE5N9vOcGFO-DZmMTGczjd-**hUPhPg&sig2=CwtRpSIohWrs-** > OTkAlx_LA&bvm=bv.51495398,d.**d2k<http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&sqi=2&ved=0CDIQygQwAA&url=http%3A%2F%2Fhelp.adobe.com%2Fen_US%2Fflex%2Fusing%2FWS460ee381960520ad-2811830c121e9107ecb-7fff.html%23WS460ee381960520ad-2811830c121e9107ecb-7ffc&ei=1f8eUtHAPKvy0gX_qoHgAg&usg=AFQjCNE5N9vOcGFO-DZmMTGczjd-hUPhPg&sig2=CwtRpSIohWrs-OTkAlx_LA&bvm=bv.51495398,d.d2k> > > > > Tom > > > On 29/08/2013 07:48, Sumudu Chinthaka wrote: > >> Hi >> >> i have a very basic question that i have search the web and could not find >> an answer >> >> what is the entry point to an flex application >> >> what method does AIR run time invokes when we run the application >> >> >> Thanks >> Sumudu >> >> >> ______________________________**______________________________** >> __________ >> This email has been scanned by the Symantec Email Security.cloud service. >> For more information please visit http://www.symanteccloud.com >> ______________________________**______________________________** >> __________ >> > >
