Variables
inlineread onlyPRELOAD:Int = 1
The scene is calling the preload()
method.
That happens when the scene is added as root scene or is added as a child of another visual.
inlineread onlyLOAD:Int = 2
The scene is actually loading. Any asset that was
added with assets.add()
in the preload()
method is
getting loaded.
inlineread onlyCREATE:Int = 3
The scene has finished loading and is calling the create()
method
to fill it with any object, visual needed etc...
inlineread onlyFADE_IN:Int = 4
The create()
method has finished running so the scene is now ready to fade in.
Default fade in implementation is instant, but this can be changed by overriding
the fadeIn()
method.