first I'd like to say that's a neat piece of software you've made there, Thomas. Habe die Ehre, net schlecht.
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);
How to proceed?
Servus,
Gray