<?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 for My Flash Lab</title>
	<atom:link href="http://www.myflashlab.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.myflashlab.com</link>
	<description>web components</description>
	<lastBuildDate>Sat, 13 Mar 2010 21:53:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Scrollbar Class by ali</title>
		<link>http://www.myflashlab.com/2010/01/22/scrollbar-class/comment-page-1/#comment-24</link>
		<dc:creator>ali</dc:creator>
		<pubDate>Sat, 13 Mar 2010 21:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.myflashlab.com/?p=67#comment-24</guid>
		<description>Hey Scott and whsecurity:

You can have a 100% scrollbar like below:
&lt;code lang=&quot;actionscript3&quot;&gt;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;

import com.doitflash.events.ScrollEvent;
import com.doitflash.consts.Orientation;
import com.doitflash.consts.Ease;
import com.doitflash.utils.scroll.EffectConst;
import com.doitflash.utils.scroll.RegSimpleConst;
import com.doitflash.utils.scroll.RegSimpleScroll;

var _regSimpleScroll:RegSimpleScroll =  new RegSimpleScroll();
var _myContent:MyContent = new MyContent(); // the content you want to scroll

this.addChild(_regSimpleScroll);

this.stage.addEventListener(Event.RESIZE, onStageResize);

// set inputs
_regSimpleScroll.maskContent = _myContent;
_regSimpleScroll.orientation = Orientation.AUTO; // accepted values: Orientation.AUTO, Orientation.VERTICAL, Orientation.HORIZONTAL
_regSimpleScroll.scrollSpace = 20; // max value is RegSimpleConst.SCROLL_MAX_SPACE
_regSimpleScroll.drawDisabledScroll = true;
_regSimpleScroll.maskWidth = stage.stageWidth - _regSimpleScroll.scrollBarWidth - _regSimpleScroll.scrollSpace;
_regSimpleScroll.maskHeight = stage.stageHeight - _regSimpleScroll.scrollBarWidth - _regSimpleScroll.scrollSpace;

function onStageResize(e:Event):void
{
	_regSimpleScroll.maskWidth = stage.stageWidth - _regSimpleScroll.scrollBarWidth - _regSimpleScroll.scrollSpace;
	_regSimpleScroll.maskHeight = stage.stageHeight - _regSimpleScroll.scrollBarWidth - _regSimpleScroll.scrollSpace;
}
&lt;/code&gt;

As you see I have set a RESIZE listener to listen when ever the stage width and height changes, then I set the scrollbar width and height according to stage.

the important part is only two lines that set the scrollbar width and height:
&lt;code lang=&quot;actionscript3&quot;&gt;
_regSimpleScroll.maskWidth = stage.stageWidth - _regSimpleScroll.scrollBarWidth - _regSimpleScroll.scrollSpace;
_regSimpleScroll.maskHeight = stage.stageHeight - _regSimpleScroll.scrollBarWidth - _regSimpleScroll.scrollSpace;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hey Scott and whsecurity:</p>
<p>You can have a 100% scrollbar like below:</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:400px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">scaleMode</span> = <span style="color: #004993;">StageScaleMode</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">NO_SCALE</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">align</span> = <span style="color: #004993;">StageAlign</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">TOP_LEFT</span><span style="color: #000066; font-weight: bold;">;</span><br />
<br />
<span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>doitflash<span style="color: #000066; font-weight: bold;">.</span>events<span style="color: #000066; font-weight: bold;">.</span>ScrollEvent<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>doitflash<span style="color: #000066; font-weight: bold;">.</span>consts<span style="color: #000066; font-weight: bold;">.</span>Orientation<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>doitflash<span style="color: #000066; font-weight: bold;">.</span>consts<span style="color: #000066; font-weight: bold;">.</span>Ease<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>doitflash<span style="color: #000066; font-weight: bold;">.</span>utils<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">scroll</span><span style="color: #000066; font-weight: bold;">.</span>EffectConst<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>doitflash<span style="color: #000066; font-weight: bold;">.</span>utils<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">scroll</span><span style="color: #000066; font-weight: bold;">.</span>RegSimpleConst<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>doitflash<span style="color: #000066; font-weight: bold;">.</span>utils<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">scroll</span><span style="color: #000066; font-weight: bold;">.</span>RegSimpleScroll<span style="color: #000066; font-weight: bold;">;</span><br />
<br />
<span style="color: #6699cc; font-weight: bold;">var</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">:</span>RegSimpleScroll = &nbsp;<span style="color: #0033ff; font-weight: bold;">new</span> RegSimpleScroll<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #6699cc; font-weight: bold;">var</span> _myContent<span style="color: #000066; font-weight: bold;">:</span>MyContent = <span style="color: #0033ff; font-weight: bold;">new</span> MyContent<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">// the content you want to scroll</span><br />
<br />
<span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>_regSimpleScroll<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<br />
<span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">RESIZE</span><span style="color: #000066; font-weight: bold;">,</span> onStageResize<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<br />
<span style="color: #009900; font-style: italic;">// set inputs</span><br />
_regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>maskContent = _myContent<span style="color: #000066; font-weight: bold;">;</span><br />
_regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">orientation</span> = Orientation<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">AUTO</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">// accepted values: Orientation.AUTO, Orientation.VERTICAL, Orientation.HORIZONTAL</span><br />
_regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollSpace = <span style="color: #000000; font-weight:bold;">20</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">// max value is RegSimpleConst.SCROLL_MAX_SPACE</span><br />
_regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>drawDisabledScroll = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span><br />
_regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>maskWidth = <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">stageWidth</span> <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollBarWidth <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollSpace<span style="color: #000066; font-weight: bold;">;</span><br />
_regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>maskHeight = <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">stageHeight</span> <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollBarWidth <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollSpace<span style="color: #000066; font-weight: bold;">;</span><br />
<br />
<span style="color: #339966; font-weight: bold;">function</span> onStageResize<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><br />
<span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>maskWidth = <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">stageWidth</span> <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollBarWidth <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollSpace<span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>maskHeight = <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">stageHeight</span> <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollBarWidth <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollSpace<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #000000;">&#125;</span></div></td></tr></tbody></table></div>
<p>As you see I have set a RESIZE listener to listen when ever the stage width and height changes, then I set the scrollbar width and height according to stage.</p>
<p>the important part is only two lines that set the scrollbar width and height:</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">_regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>maskWidth = <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">stageWidth</span> <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollBarWidth <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollSpace<span style="color: #000066; font-weight: bold;">;</span><br />
_regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>maskHeight = <span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">stageHeight</span> <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollBarWidth <span style="color: #000066; font-weight: bold;">-</span> _regSimpleScroll<span style="color: #000066; font-weight: bold;">.</span>scrollSpace<span style="color: #000066; font-weight: bold;">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrollbar Class by ali</title>
		<link>http://www.myflashlab.com/2010/01/22/scrollbar-class/comment-page-1/#comment-23</link>
		<dc:creator>ali</dc:creator>
		<pubDate>Sat, 13 Mar 2010 21:31:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.myflashlab.com/?p=67#comment-23</guid>
		<description>Hi Scott,

in the sample files, as you know the content window sample gets information from the XML file and the XML file can load photos not SWF files, but you can use scrollbar class itself to have your own content that should be a DisplayObject and you can scroll anything that you like, in your content you can load SWF and anything else :)</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>in the sample files, as you know the content window sample gets information from the XML file and the XML file can load photos not SWF files, but you can use scrollbar class itself to have your own content that should be a DisplayObject and you can scroll anything that you like, in your content you can load SWF and anything else <img src='http://www.myflashlab.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrollbar Class by whsecurity</title>
		<link>http://www.myflashlab.com/2010/01/22/scrollbar-class/comment-page-1/#comment-22</link>
		<dc:creator>whsecurity</dc:creator>
		<pubDate>Fri, 12 Mar 2010 10:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.myflashlab.com/?p=67#comment-22</guid>
		<description>Can the scrollbar function in a fullscreen site? And if so what happen if the user resize the browser? How i can make the scrollbar resize with the window(ex. i set the scrollbar = stageHeight)?

Nice work!</description>
		<content:encoded><![CDATA[<p>Can the scrollbar function in a fullscreen site? And if so what happen if the user resize the browser? How i can make the scrollbar resize with the window(ex. i set the scrollbar = stageHeight)?</p>
<p>Nice work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrollbar Class by Scott</title>
		<link>http://www.myflashlab.com/2010/01/22/scrollbar-class/comment-page-1/#comment-21</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 11 Mar 2010 20:36:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.myflashlab.com/?p=67#comment-21</guid>
		<description>Ok, all seems to be functioning well.   Could you point me in the direction for more info about 100% height and/or width? Maybe how to resize to 100% height but maintain a proportional SWF?

Oh and great job on the component.</description>
		<content:encoded><![CDATA[<p>Ok, all seems to be functioning well.   Could you point me in the direction for more info about 100% height and/or width? Maybe how to resize to 100% height but maintain a proportional SWF?</p>
<p>Oh and great job on the component.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrollbar Class by Scott</title>
		<link>http://www.myflashlab.com/2010/01/22/scrollbar-class/comment-page-1/#comment-20</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 11 Mar 2010 19:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.myflashlab.com/?p=67#comment-20</guid>
		<description>I think i have the 100% issue solved.   Is there a way i can load an SWF into my XML content?</description>
		<content:encoded><![CDATA[<p>I think i have the 100% issue solved.   Is there a way i can load an SWF into my XML content?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrollbar Class by Scott</title>
		<link>http://www.myflashlab.com/2010/01/22/scrollbar-class/comment-page-1/#comment-19</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 11 Mar 2010 19:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.myflashlab.com/?p=67#comment-19</guid>
		<description>How can i make the scroller expand to 100% width and height?  (i&#039;m aware of the DOCtype issue)</description>
		<content:encoded><![CDATA[<p>How can i make the scroller expand to 100% width and height?  (i&#8217;m aware of the DOCtype issue)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ContactForm Class by admin</title>
		<link>http://www.myflashlab.com/2010/01/27/contactform-class/comment-page-1/#comment-17</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 22 Feb 2010 05:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.myflashlab.com/?p=85#comment-17</guid>
		<description>Hi, our new contact form class will behave pretty much the same when it comes to PHP data processing. the main reason for this, is that the input fields that you create in your flash all comes with optional IDs. The default PHP file has been written in a way to receive all incoming data no matter what their ID are. that&#039;s why it is not sorted in a specific order.

saying that, you still can create your custom PHP file!</description>
		<content:encoded><![CDATA[<p>Hi, our new contact form class will behave pretty much the same when it comes to PHP data processing. the main reason for this, is that the input fields that you create in your flash all comes with optional IDs. The default PHP file has been written in a way to receive all incoming data no matter what their ID are. that&#8217;s why it is not sorted in a specific order.</p>
<p>saying that, you still can create your custom PHP file!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ContactForm Class by papilliondesign</title>
		<link>http://www.myflashlab.com/2010/01/27/contactform-class/comment-page-1/#comment-16</link>
		<dc:creator>papilliondesign</dc:creator>
		<pubDate>Sun, 21 Feb 2010 19:51:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.myflashlab.com/?p=85#comment-16</guid>
		<description>Hi I purchased your contact form class on ActiveDen just recently and have been moving along quite well... 
I have a question about the php posting... I am creating some rather long forms say 10-15 inputs or more and as I am testing the data is posted to the email in a way I didn&#039;t expect... I was hoping that data would be posted in the order it is listed on the form... but it seems to come in with no rhyme or reason.  I suppose this is php just popping data in an array in some kind of order... 

Is your update addressing this issue... or can you point me to some php code to add to sort and present the data in the same order as listed on the form
Thanks again for a really nice Class!</description>
		<content:encoded><![CDATA[<p>Hi I purchased your contact form class on ActiveDen just recently and have been moving along quite well&#8230;<br />
I have a question about the php posting&#8230; I am creating some rather long forms say 10-15 inputs or more and as I am testing the data is posted to the email in a way I didn&#8217;t expect&#8230; I was hoping that data would be posted in the order it is listed on the form&#8230; but it seems to come in with no rhyme or reason.  I suppose this is php just popping data in an array in some kind of order&#8230; </p>
<p>Is your update addressing this issue&#8230; or can you point me to some php code to add to sort and present the data in the same order as listed on the form<br />
Thanks again for a really nice Class!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrollbar Class by ali</title>
		<link>http://www.myflashlab.com/2010/01/22/scrollbar-class/comment-page-1/#comment-14</link>
		<dc:creator>ali</dc:creator>
		<pubDate>Fri, 19 Feb 2010 20:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.myflashlab.com/?p=67#comment-14</guid>
		<description>Yep, it&#039;s ready, you can order it :)
Thanks</description>
		<content:encoded><![CDATA[<p>Yep, it&#8217;s ready, you can order it <img src='http://www.myflashlab.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrollbar Class by Tim</title>
		<link>http://www.myflashlab.com/2010/01/22/scrollbar-class/comment-page-1/#comment-13</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 19 Feb 2010 16:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.myflashlab.com/?p=67#comment-13</guid>
		<description>I see you added the scrollbar to the shop, but it still says UNDER CONSTRUCTION – PLEASE CONTACT US BEFORE PURCHASING ANYTHING. Can i order it now ? :)</description>
		<content:encoded><![CDATA[<p>I see you added the scrollbar to the shop, but it still says UNDER CONSTRUCTION – PLEASE CONTACT US BEFORE PURCHASING ANYTHING. Can i order it now ? <img src='http://www.myflashlab.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
