This content has been marked as final. Show 4 replies
I'm not certain about this but I've seen that when you define dimensions using styles/constraints, then width and height do not get updated.
By styles and constraints, I'm referring to left, right, top, bottom, etc. Try using width instead, if that is the case.
public function mouseDownEventHandler(event:MouseEvent):void
event.currentTarget.validateNow(); // Updates display list properties such as width / height
Thanks Kaotic but, that didn't work.
Still shows 0 for the width but, the X shows a proper value.
They all didn't work.