PDA

View Full Version : Global CSS to affect all dynamic text


chrismitchell
01-30-2008, 10:04 AM
I'm trying to get CSS to affect all the dynamic text boxes that i have on a site i'm making (i'm calling all my text from seperate .txt files).

Is there any easy way of doing this?

Thanks in advance


Christopher Mitchell

chrismitchell
01-31-2008, 03:09 PM
Is this easier to do in Flash CS3?


Christopher Mitchell

sophistikat
01-31-2008, 03:20 PM
i haven't tried this but i would try to set the prototype setStyle to the CSS file; something like TextField.prototype.setStyle = gloablCSS; I'll see if this would work, i'll create some test during my lunch period.

chrismitchell
02-01-2008, 12:26 PM
i dont know if this will help at all :)

here are my test files.. the text is saved as an HTML page to try and use the css tags.

chrismitchell
02-01-2008, 12:27 PM
oh and i'm working all this in MX2004 at the moment :)


Christopher Mitchell