<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Using the TitleWindow container to display status messages</title>
	<link>http://blog.flexexamples.com/2007/08/22/using-the-titlewindow-container-to-display-status-messages/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Tue, 06 Jan 2009 09:54:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: John C. Bland II</title>
		<link>http://blog.flexexamples.com/2007/08/22/using-the-titlewindow-container-to-display-status-messages/#comment-417</link>
		<author>John C. Bland II</author>
		<pubDate>Fri, 24 Aug 2007 03:38:52 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/22/using-the-titlewindow-container-to-display-status-messages/#comment-417</guid>
		<description>I agree with Borek...very clever! I would've never thought about using a TitleWindow. Nice!</description>
		<content:encoded><![CDATA[<p>I agree with Borek&#8230;very clever! I would&#8217;ve never thought about using a TitleWindow. Nice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob McKeown</title>
		<link>http://blog.flexexamples.com/2007/08/22/using-the-titlewindow-container-to-display-status-messages/#comment-403</link>
		<author>Rob McKeown</author>
		<pubDate>Thu, 23 Aug 2007 16:57:59 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/22/using-the-titlewindow-container-to-display-status-messages/#comment-403</guid>
		<description>Here is an example of how you could make it fade in/out. You would need to embed the font used in the error message for the text to fade with the box.

&lt;pre class="code"&gt;
...
import mx.effects.Fade;
import mx.events.EffectEvent;

            private function showTitleWindow():void {
                titleWindow.height = 28;
                var fade:Fade = new mx.effects.Fade();
                fade.alphaFrom = 0;
                fade.alphaTo = 1;
                fade.target = titleWindow;

                fade.play();
            }

            private function hideTitleWindow():void {
                var fade:Fade = new mx.effects.Fade();
                fade.alphaFrom = 1;
                fade.alphaTo = 0;
                fade.target = titleWindow;
                fade.addEventListener(EffectEvent.EFFECT_END, function(event:EffectEvent) : void {
                titleWindow.height = 0;
});
                fade.play();
           }
...
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Here is an example of how you could make it fade in/out. You would need to embed the font used in the error message for the text to fade with the box.</p>
<pre class="code">
...
import mx.effects.Fade;
import mx.events.EffectEvent;

            private function showTitleWindow():void {
                titleWindow.height = 28;
                var fade:Fade = new mx.effects.Fade();
                fade.alphaFrom = 0;
                fade.alphaTo = 1;
                fade.target = titleWindow;

                fade.play();
            }

            private function hideTitleWindow():void {
                var fade:Fade = new mx.effects.Fade();
                fade.alphaFrom = 1;
                fade.alphaTo = 0;
                fade.target = titleWindow;
                fade.addEventListener(EffectEvent.EFFECT_END, function(event:EffectEvent) : void {
                titleWindow.height = 0;
});
                fade.play();
           }
...
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Borek</title>
		<link>http://blog.flexexamples.com/2007/08/22/using-the-titlewindow-container-to-display-status-messages/#comment-397</link>
		<author>Borek</author>
		<pubDate>Thu, 23 Aug 2007 15:51:21 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/22/using-the-titlewindow-container-to-display-status-messages/#comment-397</guid>
		<description>To use a TitleWindow is clever idea! I'm pretty much looking forward to seeing your solution to neat transition effects - it took me many hours to figure out how to correctly implement our internal VBoxWithMessage component that does exactly the same thing.</description>
		<content:encoded><![CDATA[<p>To use a TitleWindow is clever idea! I&#8217;m pretty much looking forward to seeing your solution to neat transition effects - it took me many hours to figure out how to correctly implement our internal VBoxWithMessage component that does exactly the same thing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
