Laoding Pano into Container -> scaling problem

Specific Q&A about the new Flash export
Locked
Graymalkin
Posts: 5
Joined: Fri Dec 01, 2006 2:27 pm
Location: Volkswagen AG, Wolfsburg, Germany
Contact:

Hi,

first I'd like to say that's a neat piece of software you've made there, Thomas. Habe die Ehre, net schlecht. :wink:

Now my problem: Let's assume I've got a flash stage of a certain size (let's say 800 x 400px) and I want to load my pano into a MovieClip which is much smaller (47 x 357). Each time I load the pano into the Container-MC it assumes that it has to be as big as the whole stage.

I have an empty MovieClip in root, called VR. In this mc I load the pano:

Code: Select all

//Movie-Loader und -Listener erstellen
var myLoader = new MovieClipLoader();
var myListener = new Object();

myListener.onLoadStart = function () {
  vr.window_width=476;
  vr.window_height=357;
};

myListener.onLoadInit = function () {
// Hotspot hinzufügen
  var hs_1:MovieClip=_root.attachMovie("hs_lib","hs_1",this.getNextHighestDepth());
  vr.pano.addHotspot('hotspot1',50,-20,hs_1);
};

// Listener hinzufügen
myLoader.addListener(myListener);

// Pano in den Container-MC laden
myLoader.loadClip("r32_interieur_small.swf", vr);
Key problem seems to be that the Cubic I've created with Pano2QTVR keeps scaling along with the window size, no matter which setting I use under Flash > Display > Scaling.

How to proceed?

Servus,
Gray
Graymalkin
Posts: 5
Joined: Fri Dec 01, 2006 2:27 pm
Location: Volkswagen AG, Wolfsburg, Germany
Contact:

Got it.

Seems to be a bug in the beta7 - scaling settings don't have any effect on the exported SWF, it's scaling even if I choose Scaling > No.

All is good when exporting with beta6. :wink: Missing the options the beta7 offers though (e.g. mass simulation, etc.) :?
User avatar
thomas
Chief Gnome
Posts: 2613
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

Ok, I have found the bug and fixed it. I will release a new beta8 soon including the tour sample code. Just give me a day or two.
MfG, Thomas
Locked