Re: [Flashcoders] centering content on stage / resizable stage

2008-05-14 Thread EECOLOR
Make sure you have in your code (somewhere at the start) the following code: *stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT;* Also make sure that you have the following property in your object / embed tag: salign=TL Greetz Erik On 5/14/08, Patrick J. Jankun

[Flashcoders] centering content on stage / resizable stage

2008-05-13 Thread Patrick J. Jankun
Hello again! Im quite desparate after trying to find a simply and yet efficient way to get my content always in the middle of that stage, i wrote simple script, that seems to be working when i launch the stand alone player, however when i launch it with the html wrapper and in browser, the

Re: [Flashcoders] centering content on stage / resizable stage

2008-05-13 Thread chas warn
Sorry if I'm missing your exact question... but I just create a swf and center it in a div like thisIt's a funky way to do it but it works DIV.container { width: 800px; left: 50%; margin-left: -400px; } On Tue, May 13, 2008 at 3:28 PM, Patrick J. Jankun [EMAIL PROTECTED]