I was wonding if anyone can help me on this, it is wierd, I am using the exact code found here and this error in the pano is coming up. When I view the pano by itself it works fine.
I also would like to make a mask around the pano to crop off the edges any help today would be greatly appreciated! !
the code I am using is:
the buttons are just code like this:code wrote:// Create container movieclipÂ
var vr:MovieClip = _root.createEmptyMovieClip("vr", 1);
// prevent access to "real" root
vr._lockroot=true;
//test jaymz
var playerControl:Function;
// Create a Movieclip loader
var myLoader = new MovieClipLoader();
var myListener = new Object();
myListener.onLoadStart = function () {
// Set the dimentions and position of the pano
vr.window_width = 600;
vr.window_height = 300;
vr.window_x=100;
vr.window_y=10;
// change initial viewing parameters
vr.pan=160;
vr.tilt=10;
// change autorotation
vr.autorotate=5;
vr.autorotate_delay=20;
};
// add the Listener
myLoader.addListener(myListener);
// ... and finally load the pano!
myLoader.loadClip("vr1.swf",vr);
code wrote:on(press) {
vr.pano.changePan(-4.0);
}