<?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: Flash ScrollBar in ActionScript 3.0</title> <atom:link href="http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/feed/" rel="self" type="application/rss+xml" /><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/</link> <description>useful tips and resources</description> <lastBuildDate>Thu, 11 Mar 2010 01:52:09 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Vincent Shao</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-29770</link> <dc:creator>Vincent Shao</dc:creator> <pubDate>Sat, 02 Jan 2010 06:39:28 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-29770</guid> <description>i don&#039;t understand what the &quot;parent[ct]&quot; means, can anyone explain it? thx and  happy new year</description> <content:encoded><![CDATA[<p>i don&#8217;t understand what the &#8220;parent[ct]&#8221; means, can anyone explain it? thx and  happy new year</p> ]]></content:encoded> </item> <item><title>By: Rodrigo</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-29210</link> <dc:creator>Rodrigo</dc:creator> <pubDate>Wed, 02 Dec 2009 19:27:24 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-29210</guid> <description>Hello, I need to change this code below for the button that makes the scroll, horizontal floor?var sd:Number;
var sr:Number;
var cd:Number;
var cr:Number;
var new_y:Number;
var drag_area:Rectangle;var flashmo_content:MovieClip;
var flashmo_content_area:MovieClip;
var scrolling_speed:Number; // 0.00 to 1.00function scrolling( ct:String, ct_area:String, speed:Number ):void
{
scrolling_speed = speed;
if( scrolling_speed  1 ) scrolling_speed = 0.50;
flashmo_content = parent[ct];
flashmo_content_area = parent[ct_area];flashmo_content.mask = flashmo_content_area;
flashmo_content.x = flashmo_content_area.x;
flashmo_content.y = flashmo_content_area.y;flashmo_scroller.x = flashmo_scrollable_area.x;
flashmo_scroller.y = flashmo_scrollable_area.y;
sr = flashmo_content_area.width / flashmo_content.width;
//flashmo_scroller.height = flashmo_scrollable_area.height * sr;
sd = flashmo_scrollable_area.width - flashmo_scroller.width;
cd = flashmo_content.width - flashmo_content_area.width;
cr = cd / sd * 1.01;
drag_area = new Rectangle(0, 0, 0, flashmo_scrollable_area.width - flashmo_scroller.width);
if ( flashmo_content.width &lt;= flashmo_content_area.width )
{
flashmo_scroller.visible = flashmo_scrollable_area.visible = false;
}else{
flashmo_scroller.visible = flashmo_scrollable_area.visible = true;
}
flashmo_scroller.addEventListener( MouseEvent.MOUSE_DOWN, scroller_drag );
flashmo_scroller.addEventListener( MouseEvent.MOUSE_UP, scroller_drop );
this.addEventListener( Event.ENTER_FRAME, on_scroll );
}
function scroller_drag( me:MouseEvent ):void
{
me.target.startDrag(false, drag_area);
stage.addEventListener(MouseEvent.MOUSE_UP, up);
}
function scroller_drop( me:MouseEvent ):void
{
me.target.stopDrag();
stage.removeEventListener(MouseEvent.MOUSE_UP, up);
}
function up( me:MouseEvent ):void
{
flashmo_scroller.stopDrag();
}
function on_scroll( e:Event ):void
{
new_y = flashmo_content_area.x + flashmo_scrollable_area.x * cr - flashmo_scroller.x  * cr;
flashmo_content.x += ( new_y - flashmo_content.x ) * scrolling_speed;
}</description> <content:encoded><![CDATA[<p>Hello, I need to change this code below for the button that makes the scroll, horizontal floor?</p><p>var sd:Number;<br
/> var sr:Number;<br
/> var cd:Number;<br
/> var cr:Number;<br
/> var new_y:Number;<br
/> var drag_area:Rectangle;</p><p>var flashmo_content:MovieClip;<br
/> var flashmo_content_area:MovieClip;<br
/> var scrolling_speed:Number; // 0.00 to 1.00</p><p>function scrolling( ct:String, ct_area:String, speed:Number ):void<br
/> {<br
/> scrolling_speed = speed;<br
/> if( scrolling_speed  1 ) scrolling_speed = 0.50;</p><p> flashmo_content = parent[ct];<br
/> flashmo_content_area = parent[ct_area];</p><p> flashmo_content.mask = flashmo_content_area;<br
/> flashmo_content.x = flashmo_content_area.x;<br
/> flashmo_content.y = flashmo_content_area.y;</p><p> flashmo_scroller.x = flashmo_scrollable_area.x;<br
/> flashmo_scroller.y = flashmo_scrollable_area.y;</p><p> sr = flashmo_content_area.width / flashmo_content.width;<br
/> //flashmo_scroller.height = flashmo_scrollable_area.height * sr;</p><p> sd = flashmo_scrollable_area.width &#8211; flashmo_scroller.width;<br
/> cd = flashmo_content.width &#8211; flashmo_content_area.width;<br
/> cr = cd / sd * 1.01;</p><p> drag_area = new Rectangle(0, 0, 0, flashmo_scrollable_area.width &#8211; flashmo_scroller.width);</p><p> if ( flashmo_content.width &lt;= flashmo_content_area.width )<br
/> {<br
/> flashmo_scroller.visible = flashmo_scrollable_area.visible = false;<br
/> }else{<br
/> flashmo_scroller.visible = flashmo_scrollable_area.visible = true;<br
/> }</p><p> flashmo_scroller.addEventListener( MouseEvent.MOUSE_DOWN, scroller_drag );<br
/> flashmo_scroller.addEventListener( MouseEvent.MOUSE_UP, scroller_drop );<br
/> this.addEventListener( Event.ENTER_FRAME, on_scroll );<br
/> }<br
/> function scroller_drag( me:MouseEvent ):void<br
/> {<br
/> me.target.startDrag(false, drag_area);<br
/> stage.addEventListener(MouseEvent.MOUSE_UP, up);<br
/> }<br
/> function scroller_drop( me:MouseEvent ):void<br
/> {<br
/> me.target.stopDrag();<br
/> stage.removeEventListener(MouseEvent.MOUSE_UP, up);<br
/> }<br
/> function up( me:MouseEvent ):void<br
/> {<br
/> flashmo_scroller.stopDrag();<br
/> }<br
/> function on_scroll( e:Event ):void<br
/> {<br
/> new_y = flashmo_content_area.x + flashmo_scrollable_area.x * cr &#8211; flashmo_scroller.x  * cr;<br
/> flashmo_content.x += ( new_y &#8211; flashmo_content.x ) * scrolling_speed;<br
/> }</p> ]]></content:encoded> </item> <item><title>By: Hope</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-27249</link> <dc:creator>Hope</dc:creator> <pubDate>Mon, 14 Sep 2009 21:18:53 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-27249</guid> <description>You guys are my superheros!</description> <content:encoded><![CDATA[<p>You guys are my superheros!</p> ]]></content:encoded> </item> <item><title>By: Ramon Fritsch</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-26071</link> <dc:creator>Ramon Fritsch</dc:creator> <pubDate>Tue, 28 Jul 2009 18:38:05 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-26071</guid> <description>Ok man, great job!I have made a scroll class too. Verify in http://blog.ramonfritsch.com/t/scrollcheers</description> <content:encoded><![CDATA[<p>Ok man, great job!</p><p>I have made a scroll class too. Verify in <a
href="http://blog.ramonfritsch.com/t/scroll" rel="nofollow">http://blog.ramonfritsch.com/t/scroll</a></p><p>cheers</p> ]]></content:encoded> </item> <item><title>By: Beginner</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-25262</link> <dc:creator>Beginner</dc:creator> <pubDate>Tue, 09 Jun 2009 05:50:02 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-25262</guid> <description>HiI have a question
I wish to add scrolling with my wheel mouse
How can do this</description> <content:encoded><![CDATA[<p>Hi</p><p>I have a question<br
/> I wish to add scrolling with my wheel mouse<br
/> How can do this</p> ]]></content:encoded> </item> <item><title>By: Kenny Cramer</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-25061</link> <dc:creator>Kenny Cramer</dc:creator> <pubDate>Thu, 28 May 2009 14:24:50 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-25061</guid> <description>I am trying to use the flashmo 145 garden flash template as my basis for applying this scroll bar to my RSS feed data.  I copied everything over and change the properties to match my existing design... everthing works fine while using the provided XML data file (flashmo_143_news_list.xml) but when I link to my RSS feed (test_feed.xml), everything disappears...  in the code, I changed &quot;flashmo_xml.item[i].title.toString()&quot; to &quot;flashmo_xml.rss.channel.item[i].title.toString()&quot; to accomodate for the changes in the xml structure for my feed... My RSS feed was created in Feeder 1.57 and does not have a &quot;target&quot; tag (but does have a I do have pubDate)...  I haven&#039;t gotten far enough along to edit your code so that these feilds will be include in my final output, so it shouldn&#039;t be any alteration error...  unless it is doing this because it is not finding a &quot;target&quot; tag in my XML file?  Can you help?  THANK YOU!!! THANK YOU!!!</description> <content:encoded><![CDATA[<p>I am trying to use the flashmo 145 garden flash template as my basis for applying this scroll bar to my RSS feed data.  I copied everything over and change the properties to match my existing design&#8230; everthing works fine while using the provided XML data file (flashmo_143_news_list.xml) but when I link to my RSS feed (test_feed.xml), everything disappears&#8230;  in the code, I changed &#8220;flashmo_xml.item[i].title.toString()&#8221; to &#8220;flashmo_xml.rss.channel.item[i].title.toString()&#8221; to accomodate for the changes in the xml structure for my feed&#8230; My RSS feed was created in Feeder 1.57 and does not have a &#8220;target&#8221; tag (but does have a I do have pubDate)&#8230;  I haven&#8217;t gotten far enough along to edit your code so that these feilds will be include in my final output, so it shouldn&#8217;t be any alteration error&#8230;  unless it is doing this because it is not finding a &#8220;target&#8221; tag in my XML file?  Can you help?  THANK YOU!!! THANK YOU!!!</p> ]]></content:encoded> </item> <item><title>By: shahram</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-24884</link> <dc:creator>shahram</dc:creator> <pubDate>Wed, 20 May 2009 05:52:55 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-24884</guid> <description>thank you admin you are a great man.very cool</description> <content:encoded><![CDATA[<p>thank you admin you are a great man.very cool</p> ]]></content:encoded> </item> <item><title>By: admin</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-24741</link> <dc:creator>admin</dc:creator> <pubDate>Thu, 14 May 2009 10:48:40 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-24741</guid> <description>Hi shahram, you need to copy and paste the scrollbar from actionscript 2.0 templates such as http://www.flashmo.com/preview/flashmo_116_dream</description> <content:encoded><![CDATA[<p>Hi shahram, you need to copy and paste the scrollbar from actionscript 2.0 templates such as <a
href="http://www.flashmo.com/preview/flashmo_116_dream" rel="nofollow">http://www.flashmo.com/preview/flashmo_116_dream</a></p> ]]></content:encoded> </item> <item><title>By: shahram</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-24724</link> <dc:creator>shahram</dc:creator> <pubDate>Wed, 13 May 2009 18:27:38 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-24724</guid> <description>I WANT to integrate the flash scrollbar into the homepage of the flashmo_120_artwork template. , Admin can you help me</description> <content:encoded><![CDATA[<p>I WANT to integrate the flash scrollbar into the homepage of the flashmo_120_artwork template. , Admin can you help me</p> ]]></content:encoded> </item> <item><title>By: shortbusowen</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-24475</link> <dc:creator>shortbusowen</dc:creator> <pubDate>Fri, 01 May 2009 20:11:25 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-24475</guid> <description>Great tutorial, is it possible to make it a horizontal without flipping everthing?</description> <content:encoded><![CDATA[<p>Great tutorial, is it possible to make it a horizontal without flipping everthing?</p> ]]></content:encoded> </item> <item><title>By: Niko</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-24271</link> <dc:creator>Niko</dc:creator> <pubDate>Mon, 27 Apr 2009 10:41:44 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-24271</guid> <description>Another question, what kind of changes would i have to make if i wanted to use xml codes like  and if i whanted to add one more title to the script</description> <content:encoded><![CDATA[<p>Another question, what kind of changes would i have to make if i wanted to use xml codes like  and if i whanted to add one more title to the script</p> ]]></content:encoded> </item> <item><title>By: Niko</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-24246</link> <dc:creator>Niko</dc:creator> <pubDate>Sun, 26 Apr 2009 22:24:51 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-24246</guid> <description>Hi, you code is very very useful! i have only one question about it. How do i remove the &quot;read the full story&quot; buttons from the code</description> <content:encoded><![CDATA[<p>Hi, you code is very very useful! i have only one question about it. How do i remove the &#8220;read the full story&#8221; buttons from the code</p> ]]></content:encoded> </item> <item><title>By: Amol Dharmadhikari</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-22394</link> <dc:creator>Amol Dharmadhikari</dc:creator> <pubDate>Wed, 01 Apr 2009 05:46:50 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-22394</guid> <description>its very good getting knowledge of flash but i want to tell you some things is that you the small examples in with a flash file to download</description> <content:encoded><![CDATA[<p>its very good getting knowledge of flash but i want to tell you some things is that you the small examples in with a flash file to download</p> ]]></content:encoded> </item> <item><title>By: bav</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-22168</link> <dc:creator>bav</dc:creator> <pubDate>Sun, 29 Mar 2009 12:15:00 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-22168</guid> <description>Wow only 1 line of AS? Amazing stuff thanks Flashmo.</description> <content:encoded><![CDATA[<p>Wow only 1 line of AS? Amazing stuff thanks Flashmo.</p> ]]></content:encoded> </item> <item><title>By: Flash Beginner</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-20753</link> <dc:creator>Flash Beginner</dc:creator> <pubDate>Thu, 12 Mar 2009 17:19:57 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-20753</guid> <description>Thanks for the advice.   One more question - since I am working with the flashmo_079_classic template, is there an easy way to switch the scroll boxes so that they show content entered in Flash, rather than fed in from the XML document?  I am interested in a way to format the content of the scroller box to my liking, and don&#039;t need the XML feature.  Thanks!</description> <content:encoded><![CDATA[<p>Thanks for the advice.   One more question &#8211; since I am working with the flashmo_079_classic template, is there an easy way to switch the scroll boxes so that they show content entered in Flash, rather than fed in from the XML document?  I am interested in a way to format the content of the scroller box to my liking, and don&#8217;t need the XML feature.  Thanks!</p> ]]></content:encoded> </item> <item><title>By: admin</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-20724</link> <dc:creator>admin</dc:creator> <pubDate>Thu, 12 Mar 2009 03:36:51 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-20724</guid> <description>Flash Beginner, you may take a look at http://www.flashmo.com/preview/flashmo_064_design for AS2 scrollbar.</description> <content:encoded><![CDATA[<p>Flash Beginner, you may take a look at <a
href="http://www.flashmo.com/preview/flashmo_064_design" rel="nofollow">http://www.flashmo.com/preview/flashmo_064_design</a> for AS2 scrollbar.</p> ]]></content:encoded> </item> <item><title>By: Flash Beginner</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-20692</link> <dc:creator>Flash Beginner</dc:creator> <pubDate>Wed, 11 Mar 2009 16:37:17 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-20692</guid> <description>Thanks so much!  Any suggestions on a scrollboar built in AS2, or a way around this problem?</description> <content:encoded><![CDATA[<p>Thanks so much!  Any suggestions on a scrollboar built in AS2, or a way around this problem?</p> ]]></content:encoded> </item> <item><title>By: admin</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-20670</link> <dc:creator>admin</dc:creator> <pubDate>Wed, 11 Mar 2009 10:04:55 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-20670</guid> <description>Hi Flash Beginner,This scrollbar works for AS3 templates only but flashmo_079_classic was built on AS2.</description> <content:encoded><![CDATA[<p>Hi Flash Beginner,</p><p>This scrollbar works for AS3 templates only but flashmo_079_classic was built on AS2.</p> ]]></content:encoded> </item> <item><title>By: Flash Beginner</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-20648</link> <dc:creator>Flash Beginner</dc:creator> <pubDate>Wed, 11 Mar 2009 03:47:12 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-20648</guid> <description>I am trying to integrate the flash scrollbar into the homepage of the flashmo_079_classic template.  I am pretty new to flash, and am having trouble getting it functioning.  I copied the actionscript code over, and then copied the movie clips over, but it doesn&#039;t seem to work - I am getting a green box with the content behind it, and the scroller doesn&#039;t work... any suggestions (or more detailed directions) would be really nice!  Thanks</description> <content:encoded><![CDATA[<p>I am trying to integrate the flash scrollbar into the homepage of the flashmo_079_classic template.  I am pretty new to flash, and am having trouble getting it functioning.  I copied the actionscript code over, and then copied the movie clips over, but it doesn&#8217;t seem to work &#8211; I am getting a green box with the content behind it, and the scroller doesn&#8217;t work&#8230; any suggestions (or more detailed directions) would be really nice!  Thanks</p> ]]></content:encoded> </item> <item><title>By: Oleg</title><link>http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/comment-page-1/#comment-17921</link> <dc:creator>Oleg</dc:creator> <pubDate>Tue, 17 Feb 2009 05:02:18 +0000</pubDate> <guid
isPermaLink="false">http://www.webdesignmo.com/blog/2008/12/03/flash-scrollbar-in-actionscript-30/#comment-17921</guid> <description>I&#039;m student, beginer in AS3. Tutorial is very usefull. Thanks.</description> <content:encoded><![CDATA[<p>I&#8217;m student, beginer in AS3. Tutorial is very usefull. Thanks.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 6/27 queries in 0.008 seconds using disk
Content Delivery Network via webdesignmo2.flashmo.netdna-cdn.com

Served from: host.flashmo.net @ 2010-03-11 11:54:51 -->