I have a project I’m currently working on for my client and after much work in prototyping the initial site and after much research, it appears I am going to have to jump back and develop the site in AS 1 (my previous prototype was built for Flash player 7 AS2 compatability).
My problem is that I have been working primarily in AS 2 for some time now and there is a concept I want to re-do with AS1 now that I am going to have to re-do this whole thing.
I have a master.swf file that is my container for my project. On the first frame of this master.swf I originally had this code here to simplify production and just easily load swf files to my object by refering to it by its variable name:
stop();
var myMCL:MovieClipLoader = new MovieClipLoader();
Then in any of my exteranl movies, I could just use the following code (say on a button for example) to call the MovieClipLoader object and load the respective swf:
onRelease = function () {
_level0.myMCL.loadClip(“overall.swf”, 6);
};
Now, since I must re-do this protoype for compatability for AS1 and Flash Player 6…I’m stuck on what the equivalent to what I previously had would be with AS1.
I tried something like this, but it is not working :h:
On my master.swf file i put the following code on my first frame (i’m sure my syntax isnt correct):
stop();
var my_mcl:MovieClip = new MovieClip.createEmptyMovieClip();
…and then on a button i would put smething like this?
onRelease = function () {
_level0.my_mcl.loadMovieNum(“overall.swf”, 6);
};
Anyone understand what I’m saying, or am I confusing you. If so, let me know and I will try and explain better. Like I said, this attempt to work with the above AS 1 wasnt working so any and all help/code clean up would be soooo awesome. Thanks ahead of time :s: