[flexcoders] Flex App Resize

2010-04-22 Thread Jeff
I have a flex application embedded within an HTML page.  I've been trying to 
resize the html element dynamically via an ExternalInterface call to a 
javascript function in the host page.  Unfortunately, listening to Resize 
events and/or overriding the updateDisplayList method on the Application doesnt 
seem to give me the correct height (measuredHeight property).  Any ideas on how 
to calculate the complete application height?



Re: [flexcoders] Flex App Resize

2010-04-22 Thread Alex Harui
MeasuredHeight measures the content of the app, not its assigned height.


On 4/22/10 7:27 AM, Jeff britton.j...@gmail.com wrote:






I have a flex application embedded within an HTML page.  I've been trying to 
resize the html element dynamically via an ExternalInterface call to a 
javascript function in the host page.  Unfortunately, listening to Resize 
events and/or overriding the updateDisplayList method on the Application doesnt 
seem to give me the correct height (measuredHeight property).  Any ideas on how 
to calculate the complete application height?






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui