<?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: AS3 liquid layout class</title>
	<atom:link href="http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/</link>
	<description></description>
	<lastBuildDate>Tue, 01 May 2012 18:41:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Chris at Fluid Web Design</title>
		<link>http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/#comment-93</link>
		<dc:creator>Chris at Fluid Web Design</dc:creator>
		<pubDate>Thu, 21 Jul 2011 14:47:16 +0000</pubDate>
		<guid isPermaLink="false">http://juliankussman.com/blog/?p=97#comment-93</guid>
		<description>If you need to use it on different frames you need to import it into each of those frames. Classes are only available on the frame you import them on.</description>
		<content:encoded><![CDATA[<p>If you need to use it on different frames you need to import it into each of those frames. Classes are only available on the frame you import them on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmad Yousaf</title>
		<link>http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/#comment-92</link>
		<dc:creator>Ahmad Yousaf</dc:creator>
		<pubDate>Sat, 04 Jun 2011 10:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://juliankussman.com/blog/?p=97#comment-92</guid>
		<description>Can Any one tell me please.. How can we use this call on any other frame of FLA?? I&#039;m using many movieclips on different frames...</description>
		<content:encoded><![CDATA[<p>Can Any one tell me please.. How can we use this call on any other frame of FLA?? I&#8217;m using many movieclips on different frames&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Great liquid layout classs for Actionscript 3 &#171; Fluid Web Design : Blog</title>
		<link>http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/#comment-91</link>
		<dc:creator>Great liquid layout classs for Actionscript 3 &#171; Fluid Web Design : Blog</dc:creator>
		<pubDate>Wed, 20 Apr 2011 01:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://juliankussman.com/blog/?p=97#comment-91</guid>
		<description>[...] year I used a great as3 liquid layout class to create the cx media website. I just came across that site again and wanted to share since I have [...] </description>
		<content:encoded><![CDATA[<p>[...] year I used a great as3 liquid layout class to create the cx media website. I just came across that site again and wanted to share since I have [...] </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris at Fluid Web Design</title>
		<link>http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/#comment-90</link>
		<dc:creator>Chris at Fluid Web Design</dc:creator>
		<pubDate>Wed, 20 Apr 2011 01:26:39 +0000</pubDate>
		<guid isPermaLink="false">http://juliankussman.com/blog/?p=97#comment-90</guid>
		<description>I created a site last year with this class. it worked great. Check it out at &lt;a href=&quot;http://www.cxmedia.net&quot; rel=&quot;nofollow&quot;&gt;CX Media&lt;/a&gt;.  Thanks Julian! I hope everyone benefits from the little bit I contributed in march last year. I&#039;ve been straying from flash a bit lately into html/css/js. hopefully I can get some more flash work soon! Happy freelancing.</description>
		<content:encoded><![CDATA[<p>I created a site last year with this class. it worked great. Check it out at <a href="http://www.cxmedia.net" rel="nofollow">CX Media</a>.  Thanks Julian! I hope everyone benefits from the little bit I contributed in march last year. I&#8217;ve been straying from flash a bit lately into html/css/js. hopefully I can get some more flash work soon! Happy freelancing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emilime</title>
		<link>http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/#comment-89</link>
		<dc:creator>emilime</dc:creator>
		<pubDate>Fri, 09 Apr 2010 07:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://juliankussman.com/blog/?p=97#comment-89</guid>
		<description>&lt;a href=&quot;#comment-528&quot; rel=&quot;nofollow&quot;&gt;@ziriguidum&lt;/a&gt; where did you add your code in the class? could you upload the refactored class somewhere?</description>
		<content:encoded><![CDATA[<p><a href="#comment-528" rel="nofollow">@ziriguidum</a> where did you add your code in the class? could you upload the refactored class somewhere?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ziriguidum</title>
		<link>http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/#comment-88</link>
		<dc:creator>ziriguidum</dc:creator>
		<pubDate>Fri, 09 Apr 2010 03:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://juliankussman.com/blog/?p=97#comment-88</guid>
		<description>great ! added this to it:

// match stage dimensions;
					$disp.width = _stage.stageWidth;
					$disp.height = _stage.stageHeight;
	
					if (_registeredObjects[$disp].fitStageHeight == true &amp;&amp; _registeredObjects[$disp].fitStageWidth == true)
						break;
						
					// adjust proportionally to fill stage width or height;
					if (_registeredObjects[$disp].fitStageHeight == true)
						$disp.scaleX = $disp.scaleY
					if (_registeredObjects[$disp].fitStageWidth == true)
						$disp.scaleY = $disp.scaleX
					else
						( $disp.scaleX &gt; $disp.scaleY ) ? $disp.scaleY = $disp.scaleX : $disp.scaleX = $disp.scaleY;


i want to implement also minWidth and minHeight and change the way the arguments are passed to be something more friendly like a tween call where i can pass args in no specfic order... instead of just true or false</description>
		<content:encoded><![CDATA[<p>great ! added this to it:</p>
<p>// match stage dimensions;<br />
					$disp.width = _stage.stageWidth;<br />
					$disp.height = _stage.stageHeight;</p>
<p>					if (_registeredObjects[$disp].fitStageHeight == true &amp;&amp; _registeredObjects[$disp].fitStageWidth == true)<br />
						break;</p>
<p>					// adjust proportionally to fill stage width or height;<br />
					if (_registeredObjects[$disp].fitStageHeight == true)<br />
						$disp.scaleX = $disp.scaleY<br />
					if (_registeredObjects[$disp].fitStageWidth == true)<br />
						$disp.scaleY = $disp.scaleX<br />
					else<br />
						( $disp.scaleX &gt; $disp.scaleY ) ? $disp.scaleY = $disp.scaleX : $disp.scaleX = $disp.scaleY;</p>
<p>i want to implement also minWidth and minHeight and change the way the arguments are passed to be something more friendly like a tween call where i can pass args in no specfic order&#8230; instead of just true or false</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/#comment-87</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Fri, 26 Mar 2010 03:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://juliankussman.com/blog/?p=97#comment-87</guid>
		<description>I played around with the code a little bit and got it so the position of the items isnt dependant on what size the window is when you initially load the page. here is an example:

case TR:
  if (_registeredObjects[disp].stayRelative){
    // original code uses _stageW so it relies on original window size
    //disp.x = sw - _stageW + _registeredObjects[disp].ogX;

    // new code
    // figures out how far from the right of the page the item should be
    // depending on the minimum stage width assigned and subtracts that 
    // from the current stage width each time stage is resized
    disp.x = sw - (_minW - _registeredObjects[disp].ogX);
    //y doesn&#039;t change
  }else{
    disp.x = (sw - disp.width);
    disp.y = 0;
  }
  break;

I didnt mess with the code in the else statement because I&#039;m not using that in my application. Thanks a lot for this class guys. I&#039;ve always been a sucker for liquid layout. hence my company name = fluid web design</description>
		<content:encoded><![CDATA[<p>I played around with the code a little bit and got it so the position of the items isnt dependant on what size the window is when you initially load the page. here is an example:</p>
<p>case TR:<br />
  if (_registeredObjects[disp].stayRelative){<br />
    // original code uses _stageW so it relies on original window size<br />
    //disp.x = sw &#8211; _stageW + _registeredObjects[disp].ogX;</p>
<p>    // new code<br />
    // figures out how far from the right of the page the item should be<br />
    // depending on the minimum stage width assigned and subtracts that<br />
    // from the current stage width each time stage is resized<br />
    disp.x = sw &#8211; (_minW &#8211; _registeredObjects[disp].ogX);<br />
    //y doesn&#8217;t change<br />
  }else{<br />
    disp.x = (sw &#8211; disp.width);<br />
    disp.y = 0;<br />
  }<br />
  break;</p>
<p>I didnt mess with the code in the else statement because I&#8217;m not using that in my application. Thanks a lot for this class guys. I&#8217;ve always been a sucker for liquid layout. hence my company name = fluid web design</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/#comment-86</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Fri, 26 Mar 2010 01:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://juliankussman.com/blog/?p=97#comment-86</guid>
		<description>I wonder how easy it would be to set the initial position of everything relative to where its at in the minimum dimensions you set. I say this because the initial positions of the items on the page is set into the browser no matter how large the browser window is. if I have my window maxed out when the page loads up, it doesnt move everything out to fit the window, it just keeps it all in the minimum area you set, so if I then make my window smaller, nothing happens. maybe I&#039;ll mess with this a little bit to see what I come up with.</description>
		<content:encoded><![CDATA[<p>I wonder how easy it would be to set the initial position of everything relative to where its at in the minimum dimensions you set. I say this because the initial positions of the items on the page is set into the browser no matter how large the browser window is. if I have my window maxed out when the page loads up, it doesnt move everything out to fit the window, it just keeps it all in the minimum area you set, so if I then make my window smaller, nothing happens. maybe I&#8217;ll mess with this a little bit to see what I come up with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deskin</title>
		<link>http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/#comment-85</link>
		<dc:creator>Deskin</dc:creator>
		<pubDate>Tue, 09 Mar 2010 08:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://juliankussman.com/blog/?p=97#comment-85</guid>
		<description>@Josh Chernoff: You are my HERO !!!! Thank you very much!!!</description>
		<content:encoded><![CDATA[<p>@Josh Chernoff: You are my HERO !!!! Thank you very much!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: irralekgrooge</title>
		<link>http://juliankussman.com/blog/2009/04/08/as3-liquid-layout-class/#comment-84</link>
		<dc:creator>irralekgrooge</dc:creator>
		<pubDate>Fri, 11 Dec 2009 09:03:22 +0000</pubDate>
		<guid isPermaLink="false">http://juliankussman.com/blog/?p=97#comment-84</guid>
		<description>Looks like you are a true professional. Did ya study about the subject? haha..</description>
		<content:encoded><![CDATA[<p>Looks like you are a true professional. Did ya study about the subject? haha..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

