l2net wrote:With the sizes of a window it is clear. Thanks!
And here the question with a code is not clear....
My case: we have the button (starting action of loading of gallery in a window) and a window (a clip with the rectangle image (the form) in which there should be a gallery)
a button name - mybutton
a name of a clip with the form - myWindow
a code such:
Stage.align = "TL";
Stage.scaleMode = "showAll";
mybutton.onPress = function(){
loadMovie("/test/imagevue/imagevue2.swf?globalpath=test/", myWindow);
}
but by pressing the button occurs nothing... Help council or show a working example as in the theme beginning.
In advance many thanks!
I am not sure, but you have a mix of root-relative and relative paths in the SWF- and globalpath settings. What is the exact location of the document that is loading the gallery? You should be using something like
loadMovie("test/imagevue/imagevue2.swf?globalpath=test/", myWindow)
(Eg. without the starting /slash)
Also, not sure why you have Stage.scaleMode = "showAll"... Shouldn't it perhaps be "noScale"?
and regarding the "rectangle image" - You may be thinking the gallery should be restricted to operate within that rectangle, but unfortunately, it will not simply limit itself to the dimensions of that rectangle. We will be providing some options for limiting the gallery in a future release!