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();

not difficult write class this...
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

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support