Can someone please explain why height/width, measuredHeight/measuredWidth, explicitHeight/explictWidth =0 at some stages and in what stage does the application get those values.
Same with screen.height/screen.width. I try to reference those as well, but even that returns 0.
Also in debugMode, I often recieve different value than when I run the content live. Is there a reason for that -- maybe I dont have something setup correctly?
try to trace them in 'updateDisplayList' function
You have to understand the component lifecycle, particularly if you are using any auto-layout containers.
This LiveDoc page will help:
Search for "About the component instantiation life cycle" within the page.
If this post answered your question or helped, please mark it as such.