Hi Guys,
I have the following code which ultimately loads a SWF into movieclip 'myloader' using a movie clip loader, code as follows:
var myload:MovieClipLoader = new MovieClipLoader();
var listener:Object = new Object();
myload.addListener(listener);
listener.onLoadStart = function(){
animcontainer.myloader._lockroot = true;
trace("Started");
}
listener.onLoadInit = function(){
animcontainer.myloader._lockroot = true;
trace("finished and locked");
}
listener.onLoadComplete = function(){
animcontainer.myloader._lockroot = true;
}
myload.loadClip(path, animcontainer.myloader);
The swf I am loading has pause, rewind and play buttons that must be referencing _root as they work fine when played alone. Upon loading them into myloader they no longer work.
Based on the above code surely the myloader clip should be locking as _root after the load is complete?
I have Googled myself dry on this one, no luck. ANY help will be much appreciated,
Thanks.