Resize a MovieClip on AS2 in function of text len?

Posted by DomingoSL on Stack Overflow See other posts from Stack Overflow or by DomingoSL
Published on 2010-06-01T15:51:03Z Indexed on 2010/06/01 15:53 UTC
Read the original article Hit count: 116

Filed under:
|

Hello, i have a AS2 script who get information from a MySQL database. This information is a text from 0 to 300 chars. I want to display that text in this layout: alt text

I want to resize the black box you see on the picture in function of the amount of text imported. Any idea of how to do that on AS2?

The instance name of the box is: cargador.fondo (only want to resize height) The instance name of the text is: cargador.texto

Thanks.

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-2