flash / css?
- Started
- Last post
- 10 Responses
- sheepman
is there a way to apply css styles to dynamic text in flash?
- seven70
Don't think so. According to the notes at Macromedias site you can only do the very basic formatting like bold tags, italics, colors and links.
I might be wrong though...
- robert0
This is a good question.
Does anyone have any info on changing the color (onRollOver)of Dynamic text; brought in by txt or xml file.
- unfittoprint0
you can't. at least directly.
You could use some sort of parsing (using substr() function) to seek and detect a link tab (using a function referrer in the link's href), separate it from the rrest of the test, use onRollOver(), onPress(), onRollOut() events... but that is waaaaaay too costly in processing terms for the user, and not a very 'clean' trick....
but this baby is already filling Macromedia's wishlist for the next Flash....
oh, can somebody increase the stage size, for crying out loud!
- unknown0
What a good idea to create your own? people would lap it up.
- unfittoprint0
hmmm....
- robert0
Well I have an xml menu that creates movie clips (with a button and dynamic text) I have a roll over function on these buttons (color change) but I would love to be able to change the color of the dynamic text aswell.
I was thinking about making the button a two state movie clip and having the dynamic text on the second frame a different color.
What do you guys think?
Need an example?
- unfittoprint0
for making the entire texbox change color is easier, you could use name the textbox like myText, ad the change the different text object parameters like Color, backgnroundColor using movieclips events...
it's easier and you'll have the stuff in just one frame...
- unfittoprint0
sorry about the text errors... i'm typing while phoning... :-p
- robert0
Yes your right now I have to trace the hell out of this... because I have no idea what each clip is called..
LOL
- unfittoprint0
trace is the actionscripter best friend.... :-)