PXLoaderContext does not get passed on when using a collection loader

12 views
Skip to first unread message

Thomas Pujolle

unread,
Jul 31, 2012, 5:01:07 AM7/31/12
to pix...@googlegroups.com
Hello there,

I'm filling up a PXSequenceLoader with many PXGraphicLoaders loading swf, as following:
for each(var s:String in list){

pl.add(new PXGraphicLoader(),s.split(".")[1],new URLRequest("assets/swf/"+s),PXLoaderContext.getInstance());

}

But the PXLoaderContext does not seem to get passed on to the PXGraphicLoader as the global application domain is not able to give me the definition in the swf.

When I do it only with one PXGraphicLoader it works, using PXApplication.getInstance().loaderInfo.applicationDomain.

Any idea?

Thomas Pujolle

unread,
Jul 31, 2012, 5:13:34 AM7/31/12
to pix...@googlegroups.com
My mistake, it does work.
Reply all
Reply to author
Forward
0 new messages