swf loading problem into other swf

Specific Q&A about the new Flash export
Locked
Creever
Posts: 2
Joined: Thu Jul 03, 2008 12:22 pm

Hi,

i made panorama swf in pano2qtvr and i'd like to load into other swf(flash9, AS2), but the problem is if i use my panorama, it doesn't work, but if i use "park.swf" from the container tutorial, it works...
so i have no idea what's the problem and what's the different between 2 swf files.

cheers
Creev
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

Maybe ?
Flash 9 and AS3
Flash 8 and AS2
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
Creever
Posts: 2
Joined: Thu Jul 03, 2008 12:22 pm

no, i tried all variation.

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/mypano.swf", vr);

this script is in my container swf.

panorama url from tutorial (http://vv.digitania.hu/teszt/pano/panorama/park.swf):

and this is main (http://vv.digitania.hu/teszt/pano/panorama/mypano.swf):

and these are containers swf (http://vv.digitania.hu/teszt/pano/proba_mypano.html , http://vv.digitania.hu/teszt/pano/proba_park.html)

i changed only the path in AS: myLoader.loadClip("panorama/park.swf", vr);

so, i dont know what is the different between park.swf and mypano.swf.

i made my pano with pano2qtvr 1.6.3 pro

thanks for help
Creev
User avatar
thomas
Chief Gnome
Posts: 2613
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

http://vv.digitania.hu/teszt/pano/panorama/mypano.swf is created with Pano2VR and it is a Flash 9 movie. You can not use a AS2 container to load a AS3 panorama.
MfG, Thomas
Locked