Linux player doesn't really honor SWF dimensions. We've had to use HTML wrappers to control it.
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of seriousbraincancer Sent: Monday, June 04, 2007 7:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: stage.stageWidth/stageHeight lies in standalone player? Tracing enterFrame shows the right dimensions, as does setting scaleMode to NO_SCALE and listening to Event.RESIZE. Although, it doesn't quite match the args I pass in for default-size: (Test.as is at http://pastie.caboo.se/67829 <http://pastie.caboo.se/67829> ) > mxmlc -default-size 300 300 Test.as trace output: on resize dims are 296,304 on resize dims are 300,304 It looks like there's some extra padding there, but it could be that it's because I'm using the debug flash player in Linux? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > I think SAFlashPlayer might do a quick resize so if you check > later it has the right size. Try tracing on "enterFrame" events. > > In general, we do very little in the constructors. There is > an INIT method which is used to kick off real work.