views:

41

answers:

1

I have two display objects dispObj1, dispObj2.
dispObj2.stage is null. (i.e. it is not added to stage anyhow)
What should be the output of dispObj1.getBounds(dispObj2)?
Is it well defined, or could it be arbitrary?
Once I got x of boundingRectangle close to 6710785, which I guess
is a symptom of an integer overflow somewhere.

But other times I got a reasonable value for x,y,width,height.

A: 

I guess it returns some junk values.
Another person has faced the same problem.
Source :
insane defaults for getBounds

dta