Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is loaderInfo available only after applicationComplete fires?

In an AS3 project, we can access loaderInfo in the first line of the root class' constructor. This means that the entire AS3 application can take advantage of the loaderInfo object.

However, in Flex, it seems that the loaderInfo object is not available until after the applicationComplete event is sent. This is problematic for me, as other components (that need to leverage loaderInfo) are initialized long before the applicationComplete event is sent.

I must be missing something. Thanks for your help, everyone! :)

like image 926
rinogo Avatar asked Nov 25 '25 08:11

rinogo


1 Answers

Use Application.application.systemManager.stage.loaderInfo in Flex.

See: http://www.actionscript.org/forums/showthread.php3?p=938460&posted=1#post938460

like image 98
rinogo Avatar answered Nov 27 '25 05:11

rinogo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!