loading multiple resources
hi, starting things as3, , found resource loads through urlrequest, urlloader , others asynchronous, is, flow of applications continues after resource load request.
i have case in have load group of resources before entering different section of application, , don't want hardcode load complete events every single resource load.
is there way in as3 this?
.loadresource("hello.gif");
.loadresource("table.xml");
.loadresource("howareyou.gif");
.loadresource("bye.gif");
.loadresource("story.txt");
.waitformultipleobjects();
i have case in have load group of resources before entering different section of application, , don't want hardcode load complete events every single resource load.
is there way in as3 this?
.loadresource("hello.gif");
.loadresource("table.xml");
.loadresource("howareyou.gif");
.loadresource("bye.gif");
.loadresource("story.txt");
.waitformultipleobjects();
not difficult write class this...
here example found in sandy 3d engine :
http://www.flashsandy.org/documentation/3.0/sandy/util/loaderqueue.html
here example found in sandy 3d engine :
http://www.flashsandy.org/documentation/3.0/sandy/util/loaderqueue.html
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment