<?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: Making the ultimate dynamic image gallery in Flash 8 &#8211; part 1 of 2</title>
	<atom:link href="http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/</link>
	<description>Learn Flash easily.</description>
	<lastBuildDate>Thu, 11 Mar 2010 07:42:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: anuj chitrakar</title>
		<link>http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/comment-page-4/#comment-2203</link>
		<dc:creator>anuj chitrakar</dc:creator>
		<pubDate>Wed, 10 Mar 2010 11:23:38 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=757#comment-2203</guid>
		<description>i am definately confused on folder structure. where did this mypage.html came from ?

mean while i will read xml tutorial</description>
		<content:encoded><![CDATA[<p>i am definately confused on folder structure. where did this mypage.html came from ?</p>
<p>mean while i will read xml tutorial</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anuj chitrakar</title>
		<link>http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/comment-page-4/#comment-2202</link>
		<dc:creator>anuj chitrakar</dc:creator>
		<pubDate>Wed, 10 Mar 2010 11:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=757#comment-2202</guid>
		<description>as i expected, something went wrong. i thought i was doing fine until i reached step 9. Is the file structure compiled in dreamweaver ? probably not. actually i was thinking on step 8. that i didn&#039;t something funny, ofcourse i have read how xml works....any idea ?</description>
		<content:encoded><![CDATA[<p>as i expected, something went wrong. i thought i was doing fine until i reached step 9. Is the file structure compiled in dreamweaver ? probably not. actually i was thinking on step 8. that i didn&#8217;t something funny, ofcourse i have read how xml works&#8230;.any idea ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nithin k</title>
		<link>http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/comment-page-4/#comment-2199</link>
		<dc:creator>Nithin k</dc:creator>
		<pubDate>Wed, 10 Mar 2010 05:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=757#comment-2199</guid>
		<description>thanks for this tutorial, i want to do more with images, can you please send me the latest styles of image galley with explained.</description>
		<content:encoded><![CDATA[<p>thanks for this tutorial, i want to do more with images, can you please send me the latest styles of image galley with explained.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Myke</title>
		<link>http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/comment-page-4/#comment-1999</link>
		<dc:creator>Myke</dc:creator>
		<pubDate>Mon, 22 Feb 2010 19:48:02 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=757#comment-1999</guid>
		<description>can someone make this in Flash CS4 please?</description>
		<content:encoded><![CDATA[<p>can someone make this in Flash CS4 please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xa Xa Xa</title>
		<link>http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/comment-page-4/#comment-1988</link>
		<dc:creator>Xa Xa Xa</dc:creator>
		<pubDate>Fri, 12 Feb 2010 15:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=757#comment-1988</guid>
		<description>Last comment, I swear.

I was having trouble with the previous and next buttons working when I pull in the gallery SWF into another. Because I had just tacked the prev and next button code to the END of Gallery Actions, I guess it just didn&#039;t &quot;get around to it.&quot; Moving that snippet code to the top of Gallery Actions AND removing &quot;_root.&quot; fixed it.</description>
		<content:encoded><![CDATA[<p>Last comment, I swear.</p>
<p>I was having trouble with the previous and next buttons working when I pull in the gallery SWF into another. Because I had just tacked the prev and next button code to the END of Gallery Actions, I guess it just didn&#8217;t &#8220;get around to it.&#8221; Moving that snippet code to the top of Gallery Actions AND removing &#8220;_root.&#8221; fixed it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pikeman</title>
		<link>http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/comment-page-4/#comment-1987</link>
		<dc:creator>Pikeman</dc:creator>
		<pubDate>Fri, 12 Feb 2010 15:45:39 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=757#comment-1987</guid>
		<description>Xa Xa Xa that ain&#039;t correct, here it is 

/////////////////////////////////////////////////////////////////
_root.prev_btn.onRelease = function() {
if (Number(bigNumber)&gt; 0) {
if (Number(bigNumber) == 1){
	bigNumber = picsNO;
 }else{
	bigNumber--;
};
bigImagePath = &quot;gallery/&quot;+whichGallery+&quot;/&quot;+bigNumber+&quot;.jpg&quot;;
disableThumbs();
loader.loadClip(bigImagePath,target);
if (clickedGallery&gt;0) {
var descPosition:Number = 0;
for (i=0; i=1) {
if (Number(bigNumber) == picsNO){
	bigNumber = 1;
 }else{
	bigNumber++;
};
bigImagePath = &quot;gallery/&quot;+whichGallery+&quot;/&quot;+bigNumber+&quot;.jpg&quot;;
disableThumbs();
loader.loadClip(bigImagePath,target);
if (clickedGallery&gt;0) {
var descPosition:Number = 0;
for (i=0; i&lt;clickedGallery; i++) {
descPosition += imagesInGallery[i];
}
descPosition = descPosition+Number(bigNumber)-1;
imageDesc = descriptions[descPosition];
} else {
imageDesc = descriptions[Number(bigNumber)-1];
}
descText.text = imageDesc;
}else{
bigNumber = 1;	
}
currentThumbnail.enabled = false;
}
//////////////////////////////////////////////////////////////////////

why?
first of all you must give each Pic it&#039;s proper text. As you cycle through the gallery with the Next and Prev button each picture must have it&#039;s own text displayed.
I included a variable at the begining of the code 

var picsNO:Number = 0;

this is the equivalent for number of pics in the gallery
In function parseGalleries()
place 
picsNO = currentGallery.childNodes.length;

ATENTION this will not work as I created only one gallery and eliminated the menu as I want to place this gallery inside a web page. For this to work you will have to create an array to store the number of images for each gallery somehow like this:

picsNO[i] =  currentGallery.childNodes.length;

after that in Next and Prev button you will have to ask about picsNO[currentGallery]

In this case as you reach the end of the Gallery with the Next button it will jump to the first image and so on 

THX for this tutorial!</description>
		<content:encoded><![CDATA[<p>Xa Xa Xa that ain&#8217;t correct, here it is </p>
<p>/////////////////////////////////////////////////////////////////<br />
_root.prev_btn.onRelease = function() {<br />
if (Number(bigNumber)&gt; 0) {<br />
if (Number(bigNumber) == 1){<br />
	bigNumber = picsNO;<br />
 }else{<br />
	bigNumber&#8211;;<br />
};<br />
bigImagePath = &#8220;gallery/&#8221;+whichGallery+&#8221;/&#8221;+bigNumber+&#8221;.jpg&#8221;;<br />
disableThumbs();<br />
loader.loadClip(bigImagePath,target);<br />
if (clickedGallery&gt;0) {<br />
var descPosition:Number = 0;<br />
for (i=0; i=1) {<br />
if (Number(bigNumber) == picsNO){<br />
	bigNumber = 1;<br />
 }else{<br />
	bigNumber++;<br />
};<br />
bigImagePath = &#8220;gallery/&#8221;+whichGallery+&#8221;/&#8221;+bigNumber+&#8221;.jpg&#8221;;<br />
disableThumbs();<br />
loader.loadClip(bigImagePath,target);<br />
if (clickedGallery&gt;0) {<br />
var descPosition:Number = 0;<br />
for (i=0; i&lt;clickedGallery; i++) {<br />
descPosition += imagesInGallery[i];<br />
}<br />
descPosition = descPosition+Number(bigNumber)-1;<br />
imageDesc = descriptions[descPosition];<br />
} else {<br />
imageDesc = descriptions[Number(bigNumber)-1];<br />
}<br />
descText.text = imageDesc;<br />
}else{<br />
bigNumber = 1;<br />
}<br />
currentThumbnail.enabled = false;<br />
}<br />
//////////////////////////////////////////////////////////////////////</p>
<p>why?<br />
first of all you must give each Pic it&#039;s proper text. As you cycle through the gallery with the Next and Prev button each picture must have it&#039;s own text displayed.<br />
I included a variable at the begining of the code </p>
<p>var picsNO:Number = 0;</p>
<p>this is the equivalent for number of pics in the gallery<br />
In function parseGalleries()<br />
place<br />
picsNO = currentGallery.childNodes.length;</p>
<p>ATENTION this will not work as I created only one gallery and eliminated the menu as I want to place this gallery inside a web page. For this to work you will have to create an array to store the number of images for each gallery somehow like this:</p>
<p>picsNO[i] =  currentGallery.childNodes.length;</p>
<p>after that in Next and Prev button you will have to ask about picsNO[currentGallery]</p>
<p>In this case as you reach the end of the Gallery with the Next button it will jump to the first image and so on </p>
<p>THX for this tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xa Xa Xa</title>
		<link>http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/comment-page-4/#comment-1986</link>
		<dc:creator>Xa Xa Xa</dc:creator>
		<pubDate>Fri, 12 Feb 2010 15:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=757#comment-1986</guid>
		<description>It appears that I&#039;ve run into a snag. Gallery works fine until I call in the gallery SWF into another parent SWF- buttons are broken. Any suggestions? You can also shoot me an email.</description>
		<content:encoded><![CDATA[<p>It appears that I&#8217;ve run into a snag. Gallery works fine until I call in the gallery SWF into another parent SWF- buttons are broken. Any suggestions? You can also shoot me an email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xa Xa Xa</title>
		<link>http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/comment-page-4/#comment-1974</link>
		<dc:creator>Xa Xa Xa</dc:creator>
		<pubDate>Sun, 07 Feb 2010 23:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=757#comment-1974</guid>
		<description>Here&#039;s the rest of the code Dave was talking about, in full. I had just appended this onto what was already there in the Gallery Actions&#039; Actions - Frame window.  I do admit that my Actionscript is rusty, but this should work. 

_root.prev_btn.onRelease = function() {
if (bigNumber&gt;1) {
bigNumber--;
bigImagePath= &quot;gallery/&quot;+whichGallery+&quot;/&quot;+bigNumber+&quot;.jpg&quot;;
disableThumbs();
loader.loadClip(bigImagePath,target);
};
}

_root.nxt_btn.onRelease = function() {
if (bigNumber&gt;1) {
bigNumber++;
bigImagePath= &quot;gallery/&quot;+whichGallery+&quot;/&quot;+bigNumber+&quot;.jpg&quot;;
disableThumbs();
loader.loadClip(bigImagePath,target);
};
}</description>
		<content:encoded><![CDATA[<p>Here&#8217;s the rest of the code Dave was talking about, in full. I had just appended this onto what was already there in the Gallery Actions&#8217; Actions &#8211; Frame window.  I do admit that my Actionscript is rusty, but this should work. </p>
<p>_root.prev_btn.onRelease = function() {<br />
if (bigNumber&gt;1) {<br />
bigNumber&#8211;;<br />
bigImagePath= &#8220;gallery/&#8221;+whichGallery+&#8221;/&#8221;+bigNumber+&#8221;.jpg&#8221;;<br />
disableThumbs();<br />
loader.loadClip(bigImagePath,target);<br />
};<br />
}</p>
<p>_root.nxt_btn.onRelease = function() {<br />
if (bigNumber&gt;1) {<br />
bigNumber++;<br />
bigImagePath= &#8220;gallery/&#8221;+whichGallery+&#8221;/&#8221;+bigNumber+&#8221;.jpg&#8221;;<br />
disableThumbs();<br />
loader.loadClip(bigImagePath,target);<br />
};<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: talavang</title>
		<link>http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/comment-page-4/#comment-1963</link>
		<dc:creator>talavang</dc:creator>
		<pubDate>Mon, 01 Feb 2010 20:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=757#comment-1963</guid>
		<description>am still using this app

3 years and counting</description>
		<content:encoded><![CDATA[<p>am still using this app</p>
<p>3 years and counting</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sensa</title>
		<link>http://flashexplained.com/actionscript/making-the-ultimate-dynamic-image-gallery-in-flash-8/comment-page-4/#comment-1960</link>
		<dc:creator>Sensa</dc:creator>
		<pubDate>Sat, 30 Jan 2010 18:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=757#comment-1960</guid>
		<description>Hi! Can someone send me the sourcefiles? Unfortunately I got some errors... Thx! szilajmaggot@gmail.com</description>
		<content:encoded><![CDATA[<p>Hi! Can someone send me the sourcefiles? Unfortunately I got some errors&#8230; Thx! <a href="mailto:szilajmaggot@gmail.com">szilajmaggot@gmail.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
