If you can set width to a fixed value it should work.  The problem is
that there is no single way to measure wrapping text.  It can be any
width and height, so if you fix the width then we can compute the
height.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Austin Kottke
Sent: Wednesday, October 24, 2007 12:32 PM
To: [email protected]
Subject: [flexcoders] Resizing text area

 

Hi, is there a way to have a <mx:Text> on top of an SWFLoader and as the

<mx:Text> gets bigger in text size it pushes down the SWF loader and 
resizes the text control?

Here is what I have so far:

<mx:VBox backgroundColor="#FFFFFF" horizontalCenter="0" 
verticalCenter="0" width="100%">
<mx:Text id="smalldescription" height="100%" width="100%" >
<mx:text>
The main text goes here... and could resize.
</mx:text>
</mx:Text>
<mx:SWFLoader id="loader" source="loader.swf" 
autoLoad="true" scaleContent="true">
</mx:SWFLoader>
</mx:VBox>

It doesnt seem to be working though.

 

Reply via email to