<?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: Build a Dynamic Flash Gallery with Slider Control</title>
	<atom:link href="http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/</link>
	<description>Flash, Flex &#38; ActionScript Tutorials</description>
	<lastBuildDate>Sat, 21 Nov 2009 17:18:16 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Guillermo</title>
		<link>http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/#comment-11836</link>
		<dc:creator>Guillermo</dc:creator>
		<pubDate>Sat, 21 Nov 2009 13:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://flash.tutsplus.com/?p=509#comment-11836</guid>
		<description>Hey guys, can someone complete the source file pls, with example images! This would be nice!
Thx</description>
		<content:encoded><![CDATA[<p>Hey guys, can someone complete the source file pls, with example images! This would be nice!<br />
Thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cameron</title>
		<link>http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/#comment-11750</link>
		<dc:creator>Cameron</dc:creator>
		<pubDate>Thu, 19 Nov 2009 12:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://flash.tutsplus.com/?p=509#comment-11750</guid>
		<description>This has got to be the hardest tutorial to follow ever i&#039;m having such a nightmare with it!  How come the source file doesn&#039;t work? I think I&#039;ve followed it exactly step by step and still nothing!  I&#039;ve been reading the comments and people seem to be having the same problems that i am, but i still can&#039;t seem to fix them!  

I just wasted two days of my project trying to do it.</description>
		<content:encoded><![CDATA[<p>This has got to be the hardest tutorial to follow ever i&#8217;m having such a nightmare with it!  How come the source file doesn&#8217;t work? I think I&#8217;ve followed it exactly step by step and still nothing!  I&#8217;ve been reading the comments and people seem to be having the same problems that i am, but i still can&#8217;t seem to fix them!  </p>
<p>I just wasted two days of my project trying to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/#comment-11641</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Mon, 16 Nov 2009 17:21:08 +0000</pubDate>
		<guid isPermaLink="false">http://flash.tutsplus.com/?p=509#comment-11641</guid>
		<description>Ahhh, nevermind. It was a stupid mistake. I&#039;m sorry for the many post.
I forgot to also adjust the class path in the library items.

Thanks</description>
		<content:encoded><![CDATA[<p>Ahhh, nevermind. It was a stupid mistake. I&#8217;m sorry for the many post.<br />
I forgot to also adjust the class path in the library items.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/#comment-11640</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Mon, 16 Nov 2009 17:17:50 +0000</pubDate>
		<guid isPermaLink="false">http://flash.tutsplus.com/?p=509#comment-11640</guid>
		<description>Sorry guys, I just tried compiling again and I get:
1136: Incorrect number of arguments.  Expected 0. 1136: Incorrect number of arguments.  Expected 0.

How is that possible? I see that the Img class is expecting 2 arguments.

Also, just so you know I&#039;ve moved the classes into a directory structure like this; 
com.tutsplus.Gallery
com.tutsplus.Handle
com.tutsplus.Img

I&#039;ve also change the document class to point to com.tutsplus.Gallery and edit the source path of the fla to point to the correct directory.

Thanks</description>
		<content:encoded><![CDATA[<p>Sorry guys, I just tried compiling again and I get:<br />
1136: Incorrect number of arguments.  Expected 0. 1136: Incorrect number of arguments.  Expected 0.</p>
<p>How is that possible? I see that the Img class is expecting 2 arguments.</p>
<p>Also, just so you know I&#8217;ve moved the classes into a directory structure like this;<br />
com.tutsplus.Gallery<br />
com.tutsplus.Handle<br />
com.tutsplus.Img</p>
<p>I&#8217;ve also change the document class to point to com.tutsplus.Gallery and edit the source path of the fla to point to the correct directory.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/#comment-11639</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Mon, 16 Nov 2009 17:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://flash.tutsplus.com/?p=509#comment-11639</guid>
		<description>OK, so here is my issue. I&#039;ve read through the comments but no one seems to have had the same thing happend.

My Error is as follows:
When I try to compile I get TypeError: Error #1006: makeActive is not a function.</description>
		<content:encoded><![CDATA[<p>OK, so here is my issue. I&#8217;ve read through the comments but no one seems to have had the same thing happend.</p>
<p>My Error is as follows:<br />
When I try to compile I get TypeError: Error #1006: makeActive is not a function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammed Kayyali</title>
		<link>http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/#comment-11636</link>
		<dc:creator>Mohammed Kayyali</dc:creator>
		<pubDate>Mon, 16 Nov 2009 16:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://flash.tutsplus.com/?p=509#comment-11636</guid>
		<description>Hi,
First thanks a lot Ben Merckx for this amazing tutorial.

Second,to work on it locally you can do the following:

1- create a dynamic XML file ( see step 5 and copy paste the output from the php )

2- in Gallery.as change backend.php to (yourXML.xml)

3- create a folder and rename it to ( img ) and put your images inside it ( for sure you will put same names as xml :) )

4- inside flash: File &gt; publish settings &gt; Flash tab &gt; Click Settings ( script: [ActionScript 3.0 ] )

5-in Source path, link to the classes folder ( Click + icon then folder icon and browse for the classes folder inside your machine ) for example its ( D:\imgSliderAS3\source\classes ) on my machine.

6-Click OK , and another OK and test it.

i hope to work with you guys :)</description>
		<content:encoded><![CDATA[<p>Hi,<br />
First thanks a lot Ben Merckx for this amazing tutorial.</p>
<p>Second,to work on it locally you can do the following:</p>
<p>1- create a dynamic XML file ( see step 5 and copy paste the output from the php )</p>
<p>2- in Gallery.as change backend.php to (yourXML.xml)</p>
<p>3- create a folder and rename it to ( img ) and put your images inside it ( for sure you will put same names as xml <img src='http://active.tutsplus.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>4- inside flash: File &gt; publish settings &gt; Flash tab &gt; Click Settings ( script: [ActionScript 3.0 ] )</p>
<p>5-in Source path, link to the classes folder ( Click + icon then folder icon and browse for the classes folder inside your machine ) for example its ( D:\imgSliderAS3\source\classes ) on my machine.</p>
<p>6-Click OK , and another OK and test it.</p>
<p>i hope to work with you guys <img src='http://active.tutsplus.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Build a Dynamic Flash Gallery with Slider Control &#124; Alias 3d Media</title>
		<link>http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/#comment-11620</link>
		<dc:creator>Build a Dynamic Flash Gallery with Slider Control &#124; Alias 3d Media</dc:creator>
		<pubDate>Mon, 16 Nov 2009 09:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://flash.tutsplus.com/?p=509#comment-11620</guid>
		<description>[...] Read more   Share and Enjoy: [...]</description>
		<content:encoded><![CDATA[<p>[...] Read more   Share and Enjoy: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/#comment-11165</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Mon, 09 Nov 2009 10:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://flash.tutsplus.com/?p=509#comment-11165</guid>
		<description>hello, I&#039;m trying to work on this image gallery and instead of using a PHP file, I&#039;d rather use an XML one, but apparently I can&#039;t make it work. The XML file is outputted correctly in flash while the SWF shows just a working scrollbar and nothing else. The dynamic text field bottom left shows just 1/0 while the pictures (PNGs) are 7. That&#039;s the content in the XML: 


img/pic1.png
img/pic2.png
img/pic3.png
img/pic4.png
img/pic5.png
img/pic6.png
img/pic7.png




...and that&#039;s the code in the Gallery.as:

                private var galleryPic : XML; 
		private var xmlLoader:URLLoader = new URLLoader();
		private var xdata : XML;
		public var images : Array = new Array();
		private var orgImgId : Number;
		private var skipTo : Number = 0;
		private var loaded : Boolean = false;
		
		public var imagesClip : MovieClip = new MovieClip();
		public var stageWidth : Number;
		
		public function Gallery() : void
		{
			stageWidth = stage.stageWidth;
			theHandle.addEventListener( &quot;sliding&quot;, slide );
			
			imagesClip.y = 180;
			addChild( imagesClip );
			
                        xmlLoader.load( new URLRequest( &quot;galleryPic.xml&quot;))
			xmlLoader.addEventListener( Event.COMPLETE, loadImages );
		}
			private function loadImages( _e : Event ) : void
		{
			var galleryPic:XML = new XML(_e.target.data);
			xdata = new XML( _e.target.data );
			var i : Number = 0;
			for each( var img:XML in xdata.img )
			{
				var my_url:String = images[i];
				images[i] = new Img( img, this );
				images[i].x = 200 * i;
				images[i].id = i;
				i++;
			}
			goTo( 0 );
			trace(galleryPic.*.length());
		}


Any help would be soooooo appreciated!</description>
		<content:encoded><![CDATA[<p>hello, I&#8217;m trying to work on this image gallery and instead of using a PHP file, I&#8217;d rather use an XML one, but apparently I can&#8217;t make it work. The XML file is outputted correctly in flash while the SWF shows just a working scrollbar and nothing else. The dynamic text field bottom left shows just 1/0 while the pictures (PNGs) are 7. That&#8217;s the content in the XML: </p>
<p>img/pic1.png<br />
img/pic2.png<br />
img/pic3.png<br />
img/pic4.png<br />
img/pic5.png<br />
img/pic6.png<br />
img/pic7.png</p>
<p>&#8230;and that&#8217;s the code in the Gallery.as:</p>
<p>                private var galleryPic : XML;<br />
		private var xmlLoader:URLLoader = new URLLoader();<br />
		private var xdata : XML;<br />
		public var images : Array = new Array();<br />
		private var orgImgId : Number;<br />
		private var skipTo : Number = 0;<br />
		private var loaded : Boolean = false;</p>
<p>		public var imagesClip : MovieClip = new MovieClip();<br />
		public var stageWidth : Number;</p>
<p>		public function Gallery() : void<br />
		{<br />
			stageWidth = stage.stageWidth;<br />
			theHandle.addEventListener( &#8220;sliding&#8221;, slide );</p>
<p>			imagesClip.y = 180;<br />
			addChild( imagesClip );</p>
<p>                        xmlLoader.load( new URLRequest( &#8220;galleryPic.xml&#8221;))<br />
			xmlLoader.addEventListener( Event.COMPLETE, loadImages );<br />
		}<br />
			private function loadImages( _e : Event ) : void<br />
		{<br />
			var galleryPic:XML = new XML(_e.target.data);<br />
			xdata = new XML( _e.target.data );<br />
			var i : Number = 0;<br />
			for each( var img:XML in xdata.img )<br />
			{<br />
				var my_url:String = images[i];<br />
				images[i] = new Img( img, this );<br />
				images[i].x = 200 * i;<br />
				images[i].id = i;<br />
				i++;<br />
			}<br />
			goTo( 0 );<br />
			trace(galleryPic.*.length());<br />
		}</p>
<p>Any help would be soooooo appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ActiveDen and Activetuts – New Names, Same Awesome Content &#124; Synergy Webdesign</title>
		<link>http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/#comment-9871</link>
		<dc:creator>ActiveDen and Activetuts – New Names, Same Awesome Content &#124; Synergy Webdesign</dc:creator>
		<pubDate>Wed, 28 Oct 2009 07:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://flash.tutsplus.com/?p=509#comment-9871</guid>
		<description>[...] Build a Dynamic Flash Gallery with Slider Control In this tutorial, we&#8217;ll create a gallery which displays all image files in a given directory. A slider is used to browse easily through the images&#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Build a Dynamic Flash Gallery with Slider Control In this tutorial, we&#8217;ll create a gallery which displays all image files in a given directory. A slider is used to browse easily through the images&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Build a Dynamic Flash Gallery with Slider Control - Activetuts+ at Flash Designers</title>
		<link>http://active.tutsplus.com/tutorials/xml/build-a-dynamic-gallery-with-actionscript-30-and-php/#comment-9786</link>
		<dc:creator>Build a Dynamic Flash Gallery with Slider Control - Activetuts+ at Flash Designers</dc:creator>
		<pubDate>Mon, 26 Oct 2009 21:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://flash.tutsplus.com/?p=509#comment-9786</guid>
		<description>[...] is the original post: Build a Dynamic Flash Gallery with Slider Control - Activetuts+                [...]</description>
		<content:encoded><![CDATA[<p>[...] is the original post: Build a Dynamic Flash Gallery with Slider Control &#8211; Activetuts+                [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!--
This site's performance optimized by W3 Total Cache:

W3 Total Cache improves the user experience of your blog by caching
frequent operations, reducing the weight of various files and providing
transparent content delivery network integration.

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 2/7 queries in 0.008 seconds using memcached

Served from: psdtutsplus.com @ 2009-11-21 13:20:45 -->