[Flashcoders] Fullscreen Flash issue

2006-01-16 Thread Mike Boutin
I am working on a fullscreen flash project. Can anyone tell me why this code acts like a loop rather than just happening once? I am trying to position an object at the bottom of the browser window no matter what the window size. I am using this code to set it right off the start. This all

Re: [Flashcoders] Fullscreen Flash issue

2006-01-16 Thread Ian Thomas
Mike, Where is this code? Just on the root timeline? Are you sure the repositioning you're getting isn't a result of the normal Flash resizing/scaling and that this code _is_ being called twice? Cheers, Ian On 1/16/06, Mike Boutin [EMAIL PROTECTED] wrote: I am working on a fullscreen flash

Re: [Flashcoders] Fullscreen Flash issue

2006-01-16 Thread Marc Hoffman
not sure why, but try putting Stage properties in a new variable that doesn't get reset when repositioning the object: theWidth=Stage.width/2; theHeight=Stage.height-70; siteLogo._x = theWidth; siteLogo._y = theHeight; - Marc At 10:34 AM 1/16/2006, you wrote: I am working on a fullscreen

Re: [Flashcoders] Fullscreen Flash issue

2006-01-16 Thread Mike Boutin
Yes thanks this seems to work. Still not sure why it was doing what it was, either way thanks for the help! Marc Hoffman wrote: not sure why, but try putting Stage properties in a new variable that doesn't get reset when repositioning the object: theWidth=Stage.width/2;