Ok. I am bugged here. but here it goes
I am trying to make small games which will be displayed one after the another in sequence in a master flash movie. each game needs some external parameters like game.swf?para1=111¶2=222
Now I dont like that method because browser will redownload the whole game when parameter changes. So I am loading the movie by :
this.movExistingEmptyClip.loadMovie(“game.swf”);
i fixed the onload with prototypeing.
then in onLoad
this.movExistingEmptyClip.onLoad = function() {
this.Para1 =“111”;
trace(“Master”);
trace(this.Para1);
trace(this);
}
In the first frame of game.swf,
when i try this
trace(“Game”);
trace(this.Para1);
trace(this);
it comes out undefined.
even when trace(this); is pointing to the same movie.
here is the trace.
Master
111
_level0.movQuestion
Child
undefined
_level0.movQuestion
Am I missing something ?
I hope I am not confusing.
Regards