Groups | Blog | Home
all groups > flash actionscript > may 2007 >

flash actionscript : change a static TF with AS


jlucchesi
5/26/2007 7:18:43 PM
Hi - Is there any way to address a static textfield in a movieClip with AS? I
want to change the color and selecability of the text using Actionscript
(because I have about 50 of them and don't want to open each mc to get at the
textfield.) The mc has an instance name but, natuarally, the textfield
doesn't.

I used static text because there are less problems with the font displaying
on different computers. Now, down the road I have to make these changes. Am I
screwed?

TIA some expertise.

JL
GWD
5/26/2007 7:38:58 PM
kglad
5/26/2007 7:46:51 PM
you can't use as to access static text with as2.

jlucchesi
5/26/2007 9:50:14 PM
GWD
5/26/2007 10:03:20 PM
I don't know if you're using flash 8... but if you want to get to them easily,
try using the Movie Explorer (ALT-F3 in windows).

Deselect everything except text.
You can see (if you expand the branches the static text ) content of static
text as well as textfields
Then if you double click the symbol icon (the owner of the text) it'll take
you straight to editing mode for the 'owner' of that static text. If you go
through the list in the movie explorer doing this it might be easier to keep
track of what you've done. Hope that makes sense.
jlucchesi
5/29/2007 4:18:47 PM
GWD - thanks for that. I don't use Movie explorer much. I was able to get to
the text and get it into edit mode but I was really looking for a way to make
the changes in AS to avoid hunting down and clicking on stuff.
Your input did lead me to an interesting FL8 feature.
Thanks,
JL
AddThis Social Bookmark Button