I've tried your new setWindowSize property, but it will only resize correctly if the cache is flushed/empty. If the cache is flushed it will load to the correct position and resize correctly. If I then reload the page, it will resize incorrectly. Is there something else I need to add to the code? The pano was created in beta5a.
I've put up a page at the following address, along with screen captures of it sizing correctly and not correctly:
http://www.pixelweave.com/itour/iTour_prototype_1B.html
My Code:
var vr:MovieClip = _root.createEmptyMovieClip("vr", 1);
vr._lockroot=true;
// move the upper left corner
vr._x=20;
vr._y=20;
var myLoader = new MovieClipLoader();
var myListener = new Object();
myListener.onLoadInit = function () {
// your initalisation of the pano, add Hotspots,... f.e
vr.pano.setWindowSize(325,225);
};
myLoader.addListener(myListener);
myLoader.loadClip("MainStay_LivingRoom_flash_325x225.swf", vr);
setWindowSize isn't working correctly - I think?
-
- Posts: 3
- Joined: Thu Sep 28, 2006 5:56 pm
I just noticed that hitting F5 multiple times will reset it. Usuallly the third or fourth time. Still can't figure out how to get rid of the jaggys, except by loading a movie on top of the pano movie.