[flexcoders] what can cause stage width and height go negative

2009-03-17 Thread flexwdw
Hey all,

I have a baffling situation where the stage.height and the stage.width are 
going negative (-1.07... in fact).  At this time, stageWidth and stageHeight 
are valid, so I have an initialized stage object.  This is occurring in a 
complex application, and I have not been able to reproduce it stand alone.  

So, I'm trying to figure out the genesis of this problem.  I understand fully 
that stage.width and stage.height are the measurements of the content of the 
stage, and not the stage itself.  

Does anyone know situations that can cause stage.width and stage.height to be 
negative?



RE: [flexcoders] what can cause stage width and height go negative

2009-03-17 Thread Alex Harui
The pixel limits are +/- 8192 pixels or so.  If you jam enough stuff to 
overflow those ranges, you can't guarantee what you get back.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of flexwdw
Sent: Monday, March 16, 2009 8:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] what can cause stage width and height go negative


Hey all,

I have a baffling situation where the stage.height and the stage.width are 
going negative (-1.07... in fact). At this time, stageWidth and stageHeight are 
valid, so I have an initialized stage object. This is occurring in a complex 
application, and I have not been able to reproduce it stand alone.

So, I'm trying to figure out the genesis of this problem. I understand fully 
that stage.width and stage.height are the measurements of the content of the 
stage, and not the stage itself.

Does anyone know situations that can cause stage.width and stage.height to be 
negative?