swf in level loadMovie

Using Pano2VR/Object2VR SWF files with your own Flash projects
Post Reply
ole4
Posts: 2
Joined: Sat Dec 18, 2010 6:50 pm

hello
i have a problemwith the level`s.
it works , if my script is:

loadMovie(panorama.swf, 0);

but it dosen`t work if my script is:
loadMovie(panorama.swf, 1);

i don`t no why. you have an idee????
ole4
Posts: 2
Joined: Sat Dec 18, 2010 6:50 pm

hi again,
here is the project. if you see in the project, you can see that the pano.swf do not loading in the main ( test.swf).
i have try it in diverent steps:

first: no way:

Code: Select all

_root.createEmptyMovieClip("con1",1);
var myLoader = new MovieClipLoader();
myLoader.loadClip("pano.swf",_root.con1);  
sec: ok, but only in the 0 level.... not in the .1 or any other level:

Code: Select all

loadMovie ( "pano.swf",0);  
third: no way:

Code: Select all

var vr:MovieClip = _root.createEmptyMovieClip("vr", 1);
vr._lockroot=true;
// move the upper left corner
vr._x=100;
vr._y=200;
var myLoader = new MovieClipLoader();
var myListener = new Object();
myListener.onLoadStart = function () {
// Set the dimensions and position of the pano
  vr.window_width=500;
  vr.window_height=380;
  vr.window_x=100;
  vr.window_y=10;
};
myListener.onLoadInit = function () {
  // your initalisation of the pano, add Hotspots,...
  // You can also set the window size here but you need to use the API
  vr.pano.setWindowSize(500,380);
};
myLoader.addListener(myListener);
myLoader.loadClip("panorama.swf", vr);

is anybody here, to have an idea??? i need help....
Attachments
pano.swf
(156.49 KiB) Downloaded 2929 times
test.fla
(43.5 KiB) Downloaded 2937 times
Post Reply