Probably because of a scope problem. Lookup "Delegate"
On 9/8/06, Helmut Granda <[EMAIL PROTECTED]> wrote:
Can the MovieClipLoader class be reused?
I have the following code:
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myListener.onLoadComplete =
Your code will load the same SWF again and again forever.
I wrote a sequential loading script for someone recently, may be you can
adopt the concept from it. This script gathers the total byte size of
all the SWFs first, then starts loading SWFs one by one, so that you can
monitor the loading
thanks for your suggestion, still I cant get it to work. all I am trying to
acomplish is a preloader that will load files in order so if it is done with
1 then load the next one and so forth. I have found some information in how
to load 5 files at the same time.
Also I was able to call the functi
try subbing your code from onLoadComplete to an onLoadInit function, that
looks like it should do the trick
On 9/7/06, Helmut Granda <[EMAIL PROTECTED]> wrote:
Can the MovieClipLoader class be reused?
I have the following code:
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener
Can the MovieClipLoader class be reused?
I have the following code:
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myListener.onLoadComplete = function(targetMC:MovieClip):Void {
trace("loaded" + targetMC);
myMCL.loadClip("right2.swf", "img2");//-
5 matches
Mail list logo