Ask a Question related to Macromedia Flash, Design and Development.
-
J-Dogg #1
stretching dynamic text fields
Hi everyone,
How do I make a text field dynamically fit its contents?
I have a movie clip instance, called "macromedia", which holds a dynamic
text area, called "myText".
The frame script in the mc says:
myText = this._name;
so when the movie is published, myText reads "macromedia".
The problem is that I want the text area to fit the text, not just be one
length and either crop the text if it's too much or be longer than the text
if it's too short.
The purpose is to duplicate the mc based on the number of items in an array,
and fill the dynamic text area "myText" with contents of the array. Then
each mc should be only as long as the sentence it contains, so it can scroll
to the end and stop within a masked area. Each sentence is between 50-100
words, and will be supplied by the client the day before the CDs get duped,
so I'd like to make it as dynamic as possible.
TIA
Jeremy
J-Dogg Guest
-
Preview and dynamic text fields.
Is there anything that I can do, short of phoning Steve, that will get Preview (v3.0.8) to stop balking at text fields on interactive pdf files?... -
Masking and Dynamic Text Fields
I was wondering, since apparently that Dynamic Text Fields are not rendered while under a Layer Mask, if there was a work around or if macromedia... -
Could dynamic text fields be masked
I tried masking dynamic text fields but was not able to. Could they be masked. Thanks, p4p -
Dynamic text fields. Continuing text over columns
Hi I'm doing a mock up news paper article over 4 columns in flash mx and the text loads in dynamically. I have 4 dynamic text boxes sitting side... -
Got it: stretching dynamic text fields
Someone answered in another news group: Using instance names for text areas in MX, you can use the property "autoSize". "J-Dogg"... -
J-Dogg #2
stretching dynamic text fields
Hi everyone,
How do I make a text field dynamically fit its contents?
I have a movie clip instance, called "macromedia", which holds a dynamic
text area, called "myText".
The frame script in the mc says:
myText = this._name;
so when the movie is published, myText reads "macromedia".
The problem is that I want the text area to fit the text, not just be one
length and either crop the text if it's too much or be longer than the text
if it's too short.
The purpose is to duplicate the mc based on the number of items in an array,
and fill the dynamic text area "myText" with contents of the array. Then
each mc should be only as long as the sentence it contains, so it can scroll
to the end and stop within a masked area. Each sentence is between 50-100
words, and will be supplied by the client the day before the CDs get duped,
so I'd like to make it as dynamic as possible.
TIA
Jeremy
J-Dogg Guest
-
J-Dogg #3
Got it: stretching dynamic text fields
Someone answered in another news group:
Using instance names for text areas in MX, you can use the property
"autoSize".
"J-Dogg" <j-dogg@quitspammingme.net> wrote in message
news:vZqsb.18438$jA6.13867@bignews6.bellsouth.net. ..text> Hi everyone,
>
> How do I make a text field dynamically fit its contents?
>
> I have a movie clip instance, called "macromedia", which holds a dynamic
> text area, called "myText".
> The frame script in the mc says:
> myText = this._name;
>
> so when the movie is published, myText reads "macromedia".
>
> The problem is that I want the text area to fit the text, not just be one
> length and either crop the text if it's too much or be longer than thearray,> if it's too short.
>
> The purpose is to duplicate the mc based on the number of items in anscroll> and fill the dynamic text area "myText" with contents of the array. Then
> each mc should be only as long as the sentence it contains, so it canduped,> to the end and stop within a masked area. Each sentence is between 50-100
> words, and will be supplied by the client the day before the CDs get> so I'd like to make it as dynamic as possible.
>
> TIA
>
> Jeremy
>
>
J-Dogg Guest



Reply With Quote

