<?xml version="1.0" encoding="iso-8859-1"?><rss version="2.0">
<channel><title><![CDATA[ActionScript.org Flash, Flex and ActionScript Resources - Comments for article: CSS in Flash MX 2004]]></title><link>http://www.actionscript.org/resources</link><description /><language>en-us</language><copyright><![CDATA[http://www.actionscript.org/resources]]></copyright><generator>N/A</generator><webMaster>general.redirect@gmail.com</webMaster><lastBuildDate>Sun, 22 Nov 2009 22:54:08 CST</lastBuildDate><ttl>20</ttl><item><title><![CDATA[Comment #1]]></title><link>http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment842</link><description><![CDATA[From the tutorial, it seems like you have to hard code the text into the textbox.  However, is it possible to apply CSS to dynamic text?<br/><br/>
(Comment posted by Calvin at 3:13 pm, Fri 23rd Feb 2007)]]></description><author>no@spam.com (Calvin)</author><pubDate><![CDATA[Fri, 23 Feb 2007 15:13:47 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment842</guid></item><item><title><![CDATA[Comment #2]]></title><link>http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment892</link><description><![CDATA[sure thing. <code> 
var format = new TextField.StyleSheet();
var path = "http://www.kirupa.com/developer/mx2004/code/flash.css";
var quick = "<br><p class='one'>The quick Kirupa jumps over the lazy dog.</p><br><p class='two'>The quick Kirupa jumps over the lazy dog.</p><br><p class='three'>The quick Kirupa jumps over the lazy dog.</p><br><p class='four'>The quick Kirupa jumps over the lazy dog.</p>";
format.load(path);
format.onLoad = function(loaded) {
	if (loaded) {
		output.styleSheet = format;
		output.text = quick;
	} else {
		output.text = "Error loading CSS file!";
	}
};

<code>

where "output" is the instance name of your dynamic text field. THIS IS FROM KIRUPA.COM <br/><br/>
(Comment posted by dkawa at 8:55 pm, Sun 25th Feb 2007)]]></description><author>no@spam.com (dkawa)</author><pubDate><![CDATA[Sun, 25 Feb 2007 20:55:56 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment892</guid></item><item><title><![CDATA[Comment #3]]></title><link>http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment3557</link><description><![CDATA[This tutorial is absolutely awsome!! One of the few that gets down to business from the start. It worked instantly, congrats!<br/><br/>
(Comment posted by MacRegor at 1:42 pm, Tue 29th May 2007)]]></description><author>no@spam.com (MacRegor)</author><pubDate><![CDATA[Tue, 29 May 2007 13:42:02 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment3557</guid></item><item><title><![CDATA[Comment #4]]></title><link>http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment3705</link><description><![CDATA[Hi!
I´ve made this code already but having a problem.. when i put <p> tag, the text inside it does not load in flash :S
Anybody can help me?<br/><br/>
(Comment posted by André at 6:35 am, Mon 4th Jun 2007)]]></description><author>no@spam.com (André)</author><pubDate><![CDATA[Mon, 04 Jun 2007 06:35:09 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment3705</guid></item><item><title><![CDATA[Comment #5]]></title><link>http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment4471</link><description><![CDATA[var yourtext:XML = new XML();
yourtext.load("yourContent.html");
yourtext.onLoad = function () {	
	instName_txt.htmlText = yourtext;
}

Crate a normal "yourContent".html to call in Flash<br/><br/>
(Comment posted by geek at 7:08 am, Sun 8th Jul 2007)]]></description><author>no@spam.com (geek)</author><pubDate><![CDATA[Sun, 08 Jul 2007 07:08:01 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment4471</guid></item><item><title><![CDATA[Comment #6]]></title><link>http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment4622</link><description><![CDATA[I've noticed that you can include every font you want into the css, as long as you type the name correct and off course embed all glyphs first.<br/><br/>
(Comment posted by grapplica at 11:37 am, Fri 13th Jul 2007)]]></description><author>no@spam.com (grapplica)</author><pubDate><![CDATA[Fri, 13 Jul 2007 11:37:29 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment4622</guid></item><item><title><![CDATA[Comment #7]]></title><link>http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment5168</link><description><![CDATA[Has anyone figured out how to get items in an unordered list to display horizontally? 

li { display: inline; }

doesn't seem to work in flash.<br/><br/>
(Comment posted by Dean at 1:41 pm, Sat 4th Aug 2007)]]></description><author>no@spam.com (Dean)</author><pubDate><![CDATA[Sat, 04 Aug 2007 13:41:40 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment5168</guid></item><item><title><![CDATA[Comment #8]]></title><link>http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment5456</link><description><![CDATA[hi,

this is great, thank you! one question: when the textArea is inside a graphic it works fine, but when i place it inside a movie clip, it does not work. does anyone know why?

thank you a ton!
-cam<br/><br/>
(Comment posted by cameron thomas at 1:43 pm, Fri 17th Aug 2007)]]></description><author>no@spam.com (cameron thomas)</author><pubDate><![CDATA[Fri, 17 Aug 2007 13:43:01 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment5456</guid></item><item><title><![CDATA[Comment #9]]></title><link>http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment5780</link><description><![CDATA[Yeah you need to embed the fonts in your text area to work within movieclips<br/><br/>
(Comment posted by suecomax at 5:24 pm, Sat 1st Sep 2007)]]></description><author>no@spam.com (suecomax)</author><pubDate><![CDATA[Sat, 01 Sep 2007 17:24:41 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment5780</guid></item><item><title><![CDATA[Comment #10]]></title><link>http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment11626</link><description><![CDATA[css textboxt &#0305nput (textfield) style - examples - - 
http://www.css-lessons.ucoz.com/textbox-css-examples.htm<br/><br/>
(Comment posted by sezer at 9:35 pm, Fri 23rd May 2008)]]></description><author>no@spam.com (sezer)</author><pubDate><![CDATA[Fri, 23 May 2008 21:35:41 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment11626</guid></item><item><title><![CDATA[Comment #11]]></title><link>http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment13481</link><description><![CDATA[I've tried using css formating for a dynamic text box. If one css property is not recognized then the text that is formated by that property doesn't show. And the font-weight property doesn't seem to be recognized. I just don't understand where the problem is.<br/><br/>
(Comment posted by cc8277 at 7:12 am, Mon 21st Sep 2009)]]></description><author>no@spam.com (cc8277)</author><pubDate><![CDATA[Mon, 21 Sep 2009 07:12:20 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/55/1/CSS-in-Flash-MX-2004/Page1.html#Comment13481</guid></item></channel></rss>