problem with variable and loading

Specific Q&A about the new Flash export
Locked
threemind
Posts: 2
Joined: Thu Sep 27, 2007 7:29 pm

Thu Sep 27, 2007 7:50 pm

Bye,
i'm a new entry.

I load 2 different movieclip from the outside into onlyone file .fla make with Flash 8 version. This files are cilynder panoramic realized with Pano2QTVR 1.6.6 version.

For the loading i've use this script:

var vr:MovieClip = area.createEmptyMovieClip("vr", 1000);
vr._lockroot = true;
var myLoader = new MovieClipLoader();
var myListener = new Object();
myListener.onLoadStart = function() {
vr.autorotate = 0;
vr.autorotate_delay = 120;
};
myLoader.addListener(myListener);
myLoader.loadClip("swf/pano2.swf", vr);

With this script, used in two different buttons,
this is the problem:

When i click on the buttons and charge the first or the second external .swf, the next/other .swf don't charge...

I've try to change, in the second button: the name of var, myLoader, myListenere etc...but nothing!

Thank's in advance for reply.
Threemind
Locked