Topic: Viewer loading at bottom right
I was able to embed a single gallery viewer into a flash movie using the following code, that I got from this forum, where "test" is the name of my empty movie clip:
Stage.align = "C";
Stage.scaleMode = "noScale";
_global.SVStageWidth = 640;
_global.SVStageHeight = 420;
var myMovieClipLoader = new MovieClipLoader();
_root.xmlDataPath = "gallery.xml";
However when I export my movie for a preview, my gallery is completely loaded to the bottom right, while my stage (scene 1) is in the center.
In my simpleviewer.fla file I set the stage to the same size as my movie (1100x600). The Stage.align is also set to "C" and in my options I'm using a fixed layout.
When I set the viewer to Stage.align = "TL" my movie stage (scene 1) would play at the top left (instead of center) and my viewer would this time be centered.
I have tried different combinations (fixed/ non-fixed layout, TL, C etc..) and I still wasn't able to center both my movie and the simple viewer pro.
It would be nice if someone could help me figure out a solution - I am sure that I'm just missing a very small detail !
Thank you :)