You're accessing the 'height' property before the LayoutManager has
determined what its height should be. You need to wait at least until
the component has dispatched an updateComplete event.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ibo
Sent: Monday, July 21, 2008 12:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] getting absolute height from component

 

If I have a canvas with height set to 100%, how do I get its absolute
height? (in pixels)
the height attribute is giving me 0.

 

Reply via email to