[Flashcoders] Stage.height Misreporting

2006-01-05 Thread Jason Lutes
I need some brain help this morning. I want to position a button ten
pixels in from the lower right-hand corner of the movie. I decided to use
Stage.width and Stage.height, minus the respective width and height of the
button, minus ten (each). I can't get this to work though, because Flash
reports the Stage height always at exactly 100 pixels shorter than it
really is. I'm stumped.

The _width and _height properties of _level0 won't work either due to
off-Stage assets causing the clip size to extend beyond the Stage
boundary.


-
pixelTwiddler, a.k.a. Jason

Respect yourself, and THINK about stuff.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Stage.height Misreporting

2006-01-05 Thread Rich Rodecker
i've run into a simlar issue before:
http://www.visible-form.com/blog/000190.html

you might need to wait a few frames before getting the correct width and
height properties.

On 1/4/06, Jason Lutes [EMAIL PROTECTED] wrote:

 I need some brain help this morning. I want to position a button ten
 pixels in from the lower right-hand corner of the movie. I decided to use
 Stage.width and Stage.height, minus the respective width and height of the
 button, minus ten (each). I can't get this to work though, because Flash
 reports the Stage height always at exactly 100 pixels shorter than it
 really is. I'm stumped.

 The _width and _height properties of _level0 won't work either due to
 off-Stage assets causing the clip size to extend beyond the Stage
 boundary.


 -
 pixelTwiddler, a.k.a. Jason

 Respect yourself, and THINK about stuff.


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Stage.height Misreporting

2006-01-05 Thread Mike Britton
Try using setInterval

Mike
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Stage.height Misreporting

2006-01-05 Thread coker todd


--- Mike Britton [EMAIL PROTECTED] wrote:

 Try using setInterval
 
 Mike
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 




__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders