Application Domain Dilemma
hey, me again.
i'm trying load 2 clips:
ldr = new loader();
var req:urlrequest = new urlrequest("swf/clip1.swf");
var ldrcontext:loadercontext = new loadercontext(false, applicationdomain.currentdomain);
ldr.contentloaderinfo.addeventlistener(event.complete, completehandler);
ldr.load(req, ldrcontext);
symbol1.addchild(ldr);
ldd = new loader();
var ret:urlrequest = new urlrequest("swf/clip2.swf");
var lddcontent:loadercontext = new loadercontext(false, applicationdomain.currentdomain);
ldd.contentloaderinfo.addeventlistener(event.complete, completehandling);
ldd.load(ret, lddcontent);
symbol2.addchild(ldd);
the problem that, actionscript on frames of clip1 being mixed actionscript on frames clip2, causing "null method/reference error"
any solutions?
thanks.
actionscript not "mixed up". if have identically named different classes in 2 swfs, issue.
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment