<?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: adding a Slideshow feature to a SimpleViewer gallery</title>
	<atom:link href="http://blog.christopherpitzer.com/2007/adding-a-slideshow-feature-to-a-simpleviewer-gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.christopherpitzer.com/2007/adding-a-slideshow-feature-to-a-simpleviewer-gallery/</link>
	<description>web development, games, business, optimism</description>
	<lastBuildDate>Tue, 23 Feb 2010 01:05:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Zef</title>
		<link>http://blog.christopherpitzer.com/2007/adding-a-slideshow-feature-to-a-simpleviewer-gallery/comment-page-1/#comment-48</link>
		<dc:creator>Zef</dc:creator>
		<pubDate>Mon, 27 Oct 2008 22:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.christopherpitzer.com/?p=12#comment-48</guid>
		<description>Saved my life. much appreciated, great work!</description>
		<content:encoded><![CDATA[<p>Saved my life. much appreciated, great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://blog.christopherpitzer.com/2007/adding-a-slideshow-feature-to-a-simpleviewer-gallery/comment-page-1/#comment-45</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Fri, 11 Jul 2008 18:56:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.christopherpitzer.com/?p=12#comment-45</guid>
		<description>Looks great! I do not have Macromedia Flash, I only have SimpleViewer Pro. Am I able to edit simpleviewer.fla without Macromedia Flash? If not, any workaround?

Regards,

Tom

&lt;em&gt;&gt;&gt; You will have to have flash.  Sorry!&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Looks great! I do not have Macromedia Flash, I only have SimpleViewer Pro. Am I able to edit simpleviewer.fla without Macromedia Flash? If not, any workaround?</p>
<p>Regards,</p>
<p>Tom</p>
<p><em>>> You will have to have flash.  Sorry!</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Pitzer</title>
		<link>http://blog.christopherpitzer.com/2007/adding-a-slideshow-feature-to-a-simpleviewer-gallery/comment-page-1/#comment-41</link>
		<dc:creator>Christopher Pitzer</dc:creator>
		<pubDate>Thu, 07 Feb 2008 03:34:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.christopherpitzer.com/?p=12#comment-41</guid>
		<description>&lt;em&gt;&gt;&gt; OK. Now, thanks to your patience, the slideshow starts.
&gt;&gt;Trouble is I can’t stop it.
&gt;&gt;I think I haven’t grasped the details of the button (movie clip, OK) creation.&lt;/em&gt;

Basically what&#039;s going on here is that we are using the setInterval function to advance the slideshow once every X seconds.  To stop the slideshow, we need to use the code:

&lt;blockquote&gt;clearInterval(nInterval);&lt;/blockquote&gt;

...where nInterval is the variable we use in the setInterval declaration.

Now the button is basically just a movie clip with two layers inside.  Each layer is an overlapping graphic, one for how the button will look when it is &quot;on&quot;, and one for how it will look when it is &quot;off&quot;.  The bottom graphic doesn&#039;t need to be a movie clip, but the top one does, and it needs to have an instance name of mcPlay (to work with the code above).  Also, the whole button needs an instance name of ssButton.

Set things up like that and you should be good to go.

If you need help on creating movie clips and giving them instance names, etc, you need to start by looking for some basic tutorials on ActionScript (the scripting language within flash - a lot like javascript).  Don&#039;t worry - it&#039;s not that frightening.</description>
		<content:encoded><![CDATA[<p><em>>> OK. Now, thanks to your patience, the slideshow starts.<br />
>>Trouble is I can’t stop it.<br />
>>I think I haven’t grasped the details of the button (movie clip, OK) creation.</em></p>
<p>Basically what&#8217;s going on here is that we are using the setInterval function to advance the slideshow once every X seconds.  To stop the slideshow, we need to use the code:</p>
<blockquote><p>clearInterval(nInterval);</p></blockquote>
<p>&#8230;where nInterval is the variable we use in the setInterval declaration.</p>
<p>Now the button is basically just a movie clip with two layers inside.  Each layer is an overlapping graphic, one for how the button will look when it is &#8220;on&#8221;, and one for how it will look when it is &#8220;off&#8221;.  The bottom graphic doesn&#8217;t need to be a movie clip, but the top one does, and it needs to have an instance name of mcPlay (to work with the code above).  Also, the whole button needs an instance name of ssButton.</p>
<p>Set things up like that and you should be good to go.</p>
<p>If you need help on creating movie clips and giving them instance names, etc, you need to start by looking for some basic tutorials on ActionScript (the scripting language within flash &#8211; a lot like javascript).  Don&#8217;t worry &#8211; it&#8217;s not that frightening.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graffe The Master</title>
		<link>http://blog.christopherpitzer.com/2007/adding-a-slideshow-feature-to-a-simpleviewer-gallery/comment-page-1/#comment-37</link>
		<dc:creator>Graffe The Master</dc:creator>
		<pubDate>Mon, 21 Jan 2008 16:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.christopherpitzer.com/?p=12#comment-37</guid>
		<description>I&#039;m stuck at the same place as fabiospark...  how do you make the MC/button function? Everything else in the tutorial works beautifully.</description>
		<content:encoded><![CDATA[<p>I&#8217;m stuck at the same place as fabiospark&#8230;  how do you make the MC/button function? Everything else in the tutorial works beautifully.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fabiospark</title>
		<link>http://blog.christopherpitzer.com/2007/adding-a-slideshow-feature-to-a-simpleviewer-gallery/comment-page-1/#comment-24</link>
		<dc:creator>fabiospark</dc:creator>
		<pubDate>Sun, 25 Nov 2007 16:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.christopherpitzer.com/?p=12#comment-24</guid>
		<description>OK. Now, thanks to your patience, the slideshow starts.
Trouble is I can&#039;t stop it.

I think I haven&#039;t grasped the details of the button (movie clip, OK) creation.
Do you mind telling me in full details how to create that button, please?
How do you get the play/pause effect? Shall I have to create  a &quot;play&quot; and a &quot;pause&quot; layer when editing the button and put the two texts (or better, the two symbols) on the two different layers?
What else?

Thanks again.</description>
		<content:encoded><![CDATA[<p>OK. Now, thanks to your patience, the slideshow starts.<br />
Trouble is I can&#8217;t stop it.</p>
<p>I think I haven&#8217;t grasped the details of the button (movie clip, OK) creation.<br />
Do you mind telling me in full details how to create that button, please?<br />
How do you get the play/pause effect? Shall I have to create  a &#8220;play&#8221; and a &#8220;pause&#8221; layer when editing the button and put the two texts (or better, the two symbols) on the two different layers?<br />
What else?</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fabiospark</title>
		<link>http://blog.christopherpitzer.com/2007/adding-a-slideshow-feature-to-a-simpleviewer-gallery/comment-page-1/#comment-23</link>
		<dc:creator>fabiospark</dc:creator>
		<pubDate>Fri, 23 Nov 2007 18:22:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.christopherpitzer.com/?p=12#comment-23</guid>
		<description>Sorry to be so dumb... but I didn&#039;t understand if the first code snippet should be put:
 
&lt;em&gt;&gt;&gt; Not dumb - just new!  Keep at it!&lt;/em&gt;

1 - into the movie clip in &quot;edit symbols&quot; mode when you create it or
2 - into the key frame you created on your new layer or
3 - into the instance of the symbol (movie clip) you are putting into you newly created key frame
4 - elsewhere (so where?)

&lt;em&gt;&gt;&gt; The code goes on the keyframe itself.  The keyframe you create on frame 30 of the new layer.  Select the keyframe (the one you created by selecting the frame and hitting F6) and hit F9 to bring up the actions panel for that frame.  Then paste in the code.&lt;/em&gt;

Another thing, please: which properties should we set in the button?

&lt;em&gt;&gt;&gt; The button is simply a movie clip that looks like a button... it&#039;s not a &quot;button component&quot; from the UI components that ship with flash.  In other words, it has no special properties to set.  Just stick it on the stage with the right keyframe selected, and give it an instance name in the property inspector (use the instance name I did to keep it simple).&lt;/em&gt;

Thanks.</description>
		<content:encoded><![CDATA[<p>Sorry to be so dumb&#8230; but I didn&#8217;t understand if the first code snippet should be put:</p>
<p><em>>> Not dumb &#8211; just new!  Keep at it!</em></p>
<p>1 &#8211; into the movie clip in &#8220;edit symbols&#8221; mode when you create it or<br />
2 &#8211; into the key frame you created on your new layer or<br />
3 &#8211; into the instance of the symbol (movie clip) you are putting into you newly created key frame<br />
4 &#8211; elsewhere (so where?)</p>
<p><em>>> The code goes on the keyframe itself.  The keyframe you create on frame 30 of the new layer.  Select the keyframe (the one you created by selecting the frame and hitting F6) and hit F9 to bring up the actions panel for that frame.  Then paste in the code.</em></p>
<p>Another thing, please: which properties should we set in the button?</p>
<p><em>>> The button is simply a movie clip that looks like a button&#8230; it&#8217;s not a &#8220;button component&#8221; from the UI components that ship with flash.  In other words, it has no special properties to set.  Just stick it on the stage with the right keyframe selected, and give it an instance name in the property inspector (use the instance name I did to keep it simple).</em></p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Pitzer</title>
		<link>http://blog.christopherpitzer.com/2007/adding-a-slideshow-feature-to-a-simpleviewer-gallery/comment-page-1/#comment-22</link>
		<dc:creator>Christopher Pitzer</dc:creator>
		<pubDate>Fri, 23 Nov 2007 07:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.christopherpitzer.com/?p=12#comment-22</guid>
		<description>No problem - I edited the first section to present the instructions in a step-by-step format.</description>
		<content:encoded><![CDATA[<p>No problem &#8211; I edited the first section to present the instructions in a step-by-step format.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fabiospark</title>
		<link>http://blog.christopherpitzer.com/2007/adding-a-slideshow-feature-to-a-simpleviewer-gallery/comment-page-1/#comment-21</link>
		<dc:creator>fabiospark</dc:creator>
		<pubDate>Thu, 22 Nov 2007 21:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.christopherpitzer.com/?p=12#comment-21</guid>
		<description>Hi.
Do you mind giving us a more step by step description of the  first section of your instructions? It would help a lot if you say where to put the code and how Flash 8 behaves after each step you do while editing the simpleviewer.fla file. 
Hope you have time to help.
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi.<br />
Do you mind giving us a more step by step description of the  first section of your instructions? It would help a lot if you say where to put the code and how Flash 8 behaves after each step you do while editing the simpleviewer.fla file.<br />
Hope you have time to help.<br />
Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
