, July 17, 2006 2:12 PM
>>To: Flashcoders mailing list
>>Subject: Re: [Flashcoders] the height of a dynamic textfield
>>
>>yes, I supposed the same... but, if I code like this:
>>
>> loadVariables("artlist.txt", _root.lists.submain);
>> var middle =
yes, I supposed the same... but, if I code like this:
loadVariables("artlist.txt", _root.lists.submain);
var middle = _root.lists.submain.height;
_root.ctrl = middle;
the ctrl textfield stay empty, and an action based on this value don't
start...
TextField.textHeight don't retrieve any value..
t; Sent: Monday, July 17, 2006 10:48 AM
> To: Flashcoders mailing list
> Subject: RE: [Flashcoders] the height of a dynamic textfield
>
>
> TextField.textHeight
>
> A lot of answers can be found in Flash's built-in help.
>
> 1. Type TextField into the actions w
TextField.textHeight
A lot of answers can be found in Flash's built-in help.
1. Type TextField into the actions window and select it.
2. In Flash 7, hit the Lookup button. In Flash 8, right click and
choose "View Help"
3. Expand the TextField folder and look through all the properties of
TextF
Hi Enrico,
the best working solution I know, is to encapsulate the textfield into
a MovieClip. Then you insert your text into the textfield and
afterwards you determine the height of the MovieClip.
Have fun,
Matthias
remark: I think, this is one of the questions that is asked all the
time and a
5 matches
Mail list logo