Topic: Simpleviewer 2 align center

Couldn't find an answer to my issue
(found a question for V2 but without answer: http://www.simpleviewer.net/forum/viewt … p?id=10908 also: http://simpleviewer.net/simpleviewer/pro/support/v1_9/ but that is no good because I'm using v2)

Simpleviewer loads without any problem inside my SWF and works nice.
Problem is that my stage is center aligned, and when Simpleviewer is loaded the whole stage is send to the left.
First is tried some settings, then all settings to center, but no effect.

Adding multiple:
stage.align = StageAlign.CENTER; (or TOP/BOTTOM)
At some points during loading of simpleviewer it will align, but it still flickers to the left first before aligning to the center.

Maybe I'm missing something here but for now I'm out of options.
Thanks.

Re: Simpleviewer 2 align center

Please see this thread for details: http://www.simpleviewer.net/forum/viewt … p?id=11286

SimpleViewer requires StageScaleMode.NO_SCALE and StageAlign.TOP_LEFT. If you want to embed it you have to modify the loading SWF to work with those parameters.

Steven Speirs
SimpleViewer Support Team.

Re: Simpleviewer 2 align center

Just needed your mind clearer.
I misinterpreted the other advices.

My Parent SWF now uses StageScaleMode.NO_SCALE and StageAlign.TOP_LEFT as posted,
and my Parent movieclips are centered manually (For reference: http://scriptplayground.com/tutorials/a … e-in-AS3/)

Works like a charm now, thanks!

Re: Simpleviewer 2 align center

I'm glad you have sorted it out and thank you for posting the link for reference.

Steven Speirs
SimpleViewer Support Team.