<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HTMLStyle</title>
	<atom:link href="http://www.rubenswieringa.com/blog/htmlstyle/feed" rel="self" type="application/rss+xml" />
	<link>http://www.rubenswieringa.com/blog/htmlstyle</link>
	<description>Ruben Swieringa on Actionscript and a whole lot of other stuff..</description>
	<lastBuildDate>Mon, 08 Mar 2010 09:38:49 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: AS???????? &#171; Deepin 3000</title>
		<link>http://www.rubenswieringa.com/blog/htmlstyle/comment-page-1#comment-97927</link>
		<dc:creator>AS???????? &#171; Deepin 3000</dc:creator>
		<pubDate>Sat, 06 Mar 2010 07:35:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/htmlstyle#comment-97927</guid>
		<description>[...] HTMLStyle ??????Flex??html-text??????HTMLStyle??????????????ActionScript??? [...]</description>
		<content:encoded><![CDATA[<p>[...] HTMLStyle ??????Flex??html-text??????HTMLStyle??????????????ActionScript??? [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 7 Small But Powerful ActionScript Class About TextField - Ntt.cc</title>
		<link>http://www.rubenswieringa.com/blog/htmlstyle/comment-page-1#comment-97618</link>
		<dc:creator>7 Small But Powerful ActionScript Class About TextField - Ntt.cc</dc:creator>
		<pubDate>Sun, 21 Feb 2010 15:21:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/htmlstyle#comment-97618</guid>
		<description>[...] HTMLStyle [...]</description>
		<content:encoded><![CDATA[<p>[...] HTMLStyle [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruben</title>
		<link>http://www.rubenswieringa.com/blog/htmlstyle/comment-page-1#comment-92406</link>
		<dc:creator>Ruben</dc:creator>
		<pubDate>Sun, 04 Oct 2009 09:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/htmlstyle#comment-92406</guid>
		<description>thanks Leon! that&#039;s awesome! :)</description>
		<content:encoded><![CDATA[<p>thanks Leon! that&#8217;s awesome! <img src='http://www.rubenswieringa.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leon</title>
		<link>http://www.rubenswieringa.com/blog/htmlstyle/comment-page-1#comment-92320</link>
		<dc:creator>leon</dc:creator>
		<pubDate>Wed, 30 Sep 2009 13:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/htmlstyle#comment-92320</guid>
		<description>played with it, and had it running smoothly after 5 mins.
Btw. I discovered a easy way to refresh the styles after loading an stylesheet.

use:

mx.styles.StyleManager.clearStyleDeclaration( &quot;&quot;, true )

instead of:

// trick the TextArea class into thinking we&#039;re actually changing the text
// so that it will update it&#039;s appearance:
dummyText.text = &quot; &quot; + dummyText.text;
dummyText.text = dummyText.text.slice(1);</description>
		<content:encoded><![CDATA[<p>played with it, and had it running smoothly after 5 mins.<br />
Btw. I discovered a easy way to refresh the styles after loading an stylesheet.</p>
<p>use:</p>
<p>mx.styles.StyleManager.clearStyleDeclaration( &#8220;&#8221;, true )</p>
<p>instead of:</p>
<p>// trick the TextArea class into thinking we&#8217;re actually changing the text<br />
// so that it will update it&#8217;s appearance:<br />
dummyText.text = &#8221; &#8221; + dummyText.text;<br />
dummyText.text = dummyText.text.slice(1);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaarangapan</title>
		<link>http://www.rubenswieringa.com/blog/htmlstyle/comment-page-1#comment-91109</link>
		<dc:creator>Shaarangapan</dc:creator>
		<pubDate>Sun, 30 Aug 2009 22:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/htmlstyle#comment-91109</guid>
		<description>I never ever post but this time I will,Thanks alot for the great blog.</description>
		<content:encoded><![CDATA[<p>I never ever post but this time I will,Thanks alot for the great blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mika</title>
		<link>http://www.rubenswieringa.com/blog/htmlstyle/comment-page-1#comment-82336</link>
		<dc:creator>Mika</dc:creator>
		<pubDate>Sun, 29 Mar 2009 18:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/htmlstyle#comment-82336</guid>
		<description>Hi Ruben,

I cant get the zip file with source. Can you point it out?

Thanks a lot,
Mika</description>
		<content:encoded><![CDATA[<p>Hi Ruben,</p>
<p>I cant get the zip file with source. Can you point it out?</p>
<p>Thanks a lot,<br />
Mika</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruben</title>
		<link>http://www.rubenswieringa.com/blog/htmlstyle/comment-page-1#comment-1096</link>
		<dc:creator>Ruben</dc:creator>
		<pubDate>Fri, 13 Jul 2007 22:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/htmlstyle#comment-1096</guid>
		<description>&lt;strong&gt;@Matt:&lt;/strong&gt;  Thanks for the kind words, in this actual blog-post I wrote down a hypothetical example of how to use HTMLStyle in its simplest form, that should be sufficient. If not then just say so and I will have a look at your project.
Do mind that I will have very little time in the next seven days..

&lt;strong&gt;@Peter:&lt;/strong&gt; Unfortunately I currently do not have the time to look into the situation you&#039;re describing, I will look at it when I have more time (as I said hopefully in about seven days).
I really appreciate that you are giving me feedback about your experiences with the HTMLStyle component, so thanks!</description>
		<content:encoded><![CDATA[<p><strong>@Matt:</strong>  Thanks for the kind words, in this actual blog-post I wrote down a hypothetical example of how to use HTMLStyle in its simplest form, that should be sufficient. If not then just say so and I will have a look at your project.<br />
Do mind that I will have very little time in the next seven days..</p>
<p><strong>@Peter:</strong> Unfortunately I currently do not have the time to look into the situation you&#8217;re describing, I will look at it when I have more time (as I said hopefully in about seven days).<br />
I really appreciate that you are giving me feedback about your experiences with the HTMLStyle component, so thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Kehl</title>
		<link>http://www.rubenswieringa.com/blog/htmlstyle/comment-page-1#comment-1082</link>
		<dc:creator>Peter Kehl</dc:creator>
		<pubDate>Fri, 13 Jul 2007 16:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/htmlstyle#comment-1082</guid>
		<description>Hi Ruben. Thank you for this excellent helper.

However, I&#039;ve found a situation when HTMLStyle&#039;s styleSheet doesn&#039;t propagate. It happens when the application uses states - mx:State and when HTMLStyle instance is defined in the default (&#039;&#039;) mx:State.

However, even when compiling demo.mxml, I get two warnings on lines 80 and 86: Data binding will not be able to detect assignments to &#039;styleSheet&#039;. Those warnings are same as the ones I get in my code that uses mx:State. So I&#039;ve tried to add an explicit event to styleSheet property, i.e. [Bindable(event=&quot;styleSheetGotChanged&quot;)] public var styleSheet:StyleSheet= new StyleSheet() and then I dispatched new event at every place where styleSheet was asisigned to, but that didn&#039;t help.

Now question: is there any specific reason why in HTMLStyle init() must be called from application&#039;s CREATION_COMPLETE event when using CDATA content CSS rather than source? Couldn&#039;t I just directly invoke it from HTMLStyle constructor, or from application&#039;s early events e.g. creationComplete?

My line of thought is: since HTMLInstance.styleSheet doesn&#039;t get bound to (for whatever Flex reason) properly in other mx:State states, how about having HTMLStyle instance in default mx:State and assigning its styleSheet to a variable, which I then use in other ms:State states?

thank you</description>
		<content:encoded><![CDATA[<p>Hi Ruben. Thank you for this excellent helper.</p>
<p>However, I&#8217;ve found a situation when HTMLStyle&#8217;s styleSheet doesn&#8217;t propagate. It happens when the application uses states &#8211; mx:State and when HTMLStyle instance is defined in the default (&#8221;) mx:State.</p>
<p>However, even when compiling demo.mxml, I get two warnings on lines 80 and 86: Data binding will not be able to detect assignments to &#8217;styleSheet&#8217;. Those warnings are same as the ones I get in my code that uses mx:State. So I&#8217;ve tried to add an explicit event to styleSheet property, i.e. [Bindable(event="styleSheetGotChanged")] public var styleSheet:StyleSheet= new StyleSheet() and then I dispatched new event at every place where styleSheet was asisigned to, but that didn&#8217;t help.</p>
<p>Now question: is there any specific reason why in HTMLStyle init() must be called from application&#8217;s CREATION_COMPLETE event when using CDATA content CSS rather than source? Couldn&#8217;t I just directly invoke it from HTMLStyle constructor, or from application&#8217;s early events e.g. creationComplete?</p>
<p>My line of thought is: since HTMLInstance.styleSheet doesn&#8217;t get bound to (for whatever Flex reason) properly in other mx:State states, how about having HTMLStyle instance in default mx:State and assigning its styleSheet to a variable, which I then use in other ms:State states?</p>
<p>thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.rubenswieringa.com/blog/htmlstyle/comment-page-1#comment-1045</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 12 Jul 2007 19:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/htmlstyle#comment-1045</guid>
		<description>Really like what you created here, nice!

I&#039;m only using the external stylesheet for Anchor hover and rollover effects for my  and do not need to toggle back and forth.

Do you know of a solution that does not require the createComplete to load the function. Would rather these styles be set on the page without having to call this function after the Application has loaded.

All I&#039;m trying to do is set anchor hover and rollover states via an external style sheet. Have you seen any quick, simple examples of this?

Any help would be greatly appreciated.

Thanks,
Matt</description>
		<content:encoded><![CDATA[<p>Really like what you created here, nice!</p>
<p>I&#8217;m only using the external stylesheet for Anchor hover and rollover effects for my  and do not need to toggle back and forth.</p>
<p>Do you know of a solution that does not require the createComplete to load the function. Would rather these styles be set on the page without having to call this function after the Application has loaded.</p>
<p>All I&#8217;m trying to do is set anchor hover and rollover states via an external style sheet. Have you seen any quick, simple examples of this?</p>
<p>Any help would be greatly appreciated.</p>
<p>Thanks,<br />
Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruben</title>
		<link>http://www.rubenswieringa.com/blog/htmlstyle/comment-page-1#comment-284</link>
		<dc:creator>Ruben</dc:creator>
		<pubDate>Wed, 16 May 2007 17:49:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/htmlstyle#comment-284</guid>
		<description>I did the exact same thing (created a new project in Flex with the files from the downloaded source) and I had no trouble whatsoever. You &lt;em&gt;are&lt;/em&gt; using Flex Builder 2, right?</description>
		<content:encoded><![CDATA[<p>I did the exact same thing (created a new project in Flex with the files from the downloaded source) and I had no trouble whatsoever. You <em>are</em> using Flex Builder 2, right?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
