Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

04 Nov 2008, 22:58

l2net wrote:I will forgive pardons for my English (the electronic translator).
As the code for gallery loading not on all screen, and in the size of page (approximately 500 – 500 pixels) should look?
What minimum window for correct work of gallery?
In advance thanks!
There are some settings you can apply to make the gallery look better on smaller pages. You can minimize margins from thumbnails and image, and perhaps remove some of the controls/modules.
 
l2net
Posts: 2
Joined: 04 Nov 2008, 19:20

05 Nov 2008, 07:32

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:
Code
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!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

05 Nov 2008, 23:02

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:
Code
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
Code
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!