You might want to take a look at the Preloader class if dealing with AIR
(I'm not sure about flash player in the browser). I found a video from the
creators of mixing
loom<http://www.jamesward.com/2011/04/26/introducing-mixing-loom-runtime-actionscript-bytecode-modification/>
some
time ago but can't find it anymore where they talk about the virtual
machine and how they load their custom code before flex is loaded to
achieve steps towards Aspect Oriented Programming in Flex. Interesting
stuff!

I have made my own preloader which extends the default preloader
(mx.preloaders.SparkDownloadProgressBar) and this is where I load all of my
dirty monkey patches.


On 29 August 2013 09:23, Sumudu Chinthaka <csum...@gmail.com> wrote:

> if you get java console application we know that main() method is the one
> that run buy the JVM
>
> what im confuse is that, what method get calls by the AIR runtime when you
> execute mobile or desktop application
>
> Sumudu
>
>
> On Thu, Aug 29, 2013 at 1:32 PM, Tom Chiverton <t...@extravision.com> wrote:
>
> > 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
> >> ______________________________**______________________________**
> >> __________
> >>
> >
> >
>

Reply via email to