-
Hello all!
I'ed like to know how to change a dynamic text's color.
I know there's a textfield.textColor action but I don't know how to use it.
This is what I tried:
Code:
text.textColor = (0xFF9900);
And...
Code:
text.textColor = (0*FF9900);
Both won't work...
Thanks for any help!
-
Senior Member
Is this in Flash5(dumb question may be)?
-
Senior Front End Developper
there's no such method in Flash 5...
you can put the textfield in a movie clip and change the color using the color object.
let's put the textfield in a movie clip called mc
textColor = new Color(mc);
textColor.setRGB(0xFF0000);
delete textColor;
-
Owner of the ™ thread
only Movieclips ahve properties
-
you click in the text box so that it is where you can put text in and choose the color in the color menu second column in the tools menu
-
Well, I am working in Flash MX although I thought it wouldn't matter.
you click in the text box so that it is where you can put text in and choose the color in the color menu second column in the tools menu
I want to change the color with the action script.
Is there no other way to change a dynamic text but turn it to MC?
-
Try making the text black then changing the tint color.
-
Senior Front End Developper
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|