After updateDisplayList runs, you should be able to figure that out from
unscaledWidth/Height, viewMetrics and scrollbar existing and its
properties.

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of reflexactions
Sent: Friday, November 23, 2007 2:58 AM
To: [email protected]
Subject: [flexcomponents] Container SubClass - Getting
Scrollable\Viewable Dimensions

 

This sound so simple I think I must be missing the obvious but...

I am subclassing Container and I need to know the scrollable and 
viewable dimensions of the content.... 

but scrollableHeight/viewableHeight and scrollableWidth/viewableWidth 
are declared private...

do I really need to replicate and effectively run twice the containers 
code for calculating these values?

tks

 

Reply via email to