Hello,
When I place this code on my page, it doesn't work. When I edit my page to see the result, the page is white, nothing appears...
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("mypanorama.swf", vr);
Of course I named my swf correctly.
I don't understand where it comes from... I use the MX version.
Many thanks to who can help me,
Jack
problem to show my swf in a fla
You need at least Flash 8 to make this work.
MfG, Thomas