<?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: How to: Adding SWFAddress to SimpleViewer</title>
	<atom:link href="http://www.mikerichardsphotography.com/blog/2009/05/15/how-to-adding-swfaddress-to-simpleviewer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikerichardsphotography.com/blog/2009/05/15/how-to-adding-swfaddress-to-simpleviewer/</link>
	<description></description>
	<lastBuildDate>Wed, 06 Jan 2010 03:57:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: boris</title>
		<link>http://www.mikerichardsphotography.com/blog/2009/05/15/how-to-adding-swfaddress-to-simpleviewer/comment-page-1/#comment-60</link>
		<dc:creator>boris</dc:creator>
		<pubDate>Sat, 14 Nov 2009 21:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikerichardsphotography.com/blog/?p=21#comment-60</guid>
		<description>how do you open the image in the litebox, can you please let me know that? thanks, cheeres    kloshark (at) hotmail.com</description>
		<content:encoded><![CDATA[<p>how do you open the image in the litebox, can you please let me know that? thanks, cheeres    kloshark (at) hotmail.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.mikerichardsphotography.com/blog/2009/05/15/how-to-adding-swfaddress-to-simpleviewer/comment-page-1/#comment-58</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 30 Oct 2009 23:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikerichardsphotography.com/blog/?p=21#comment-58</guid>
		<description>Updated the code above to fix the back button issue, see the changes below.

&lt;code  lang=&quot;actionscript&quot; line_numbers=&quot;false&quot; width=&quot;480&quot;&gt;
import com.airtightinteractive.apps.viewers.simpleViewer.*

//...

switch(galName) {
		case &quot;&quot; :
			// If the gallery name is empty set to the default gallery.
			galName = defaulGallery;
			loadGallery(galName, imgId);
			break;
		case currentGalName :
			if (imgId == null or imgId == &quot;&quot;) {imgId =&quot;0&quot;;}
			_root.firstImageIndex = imgId;
			ImageArea.getInstance().showImage(imgId);
			ThumbArea.getInstance().selectedThumbIndex = imgId;
			break; 
		default : 
			//if there is no image id load the first image.
			if (imgId == null or imgId == &quot;&quot;) {imgId =&quot;0&quot;;}
			//If the galName is not the currentGalName load the new gallery.
			//Prevents swf from being reloaded every time you update 
			//the address from clicking a thumb
			if (currentGalName != galName) {loadGallery(galName, imgId);}
			break;
	}
&lt;/code&gt;

Also updated the example to use swfadress 2.4</description>
		<content:encoded><![CDATA[<p>Updated the code above to fix the back button issue, see the changes below.</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">airtightinteractive</span>.<span style="color: #006600;">apps</span>.<span style="color: #006600;">viewers</span>.<span style="color: #006600;">simpleViewer</span>.<span style="color: #66cc66;">*</span><br />
<br />
<span style="color: #808080; font-style: italic;">//...</span><br />
<br />
<span style="color: #b1b100;">switch</span><span style="color: #66cc66;">&#40;</span>galName<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">case</span> <span style="color: #ff0000;">&quot;&quot;</span> :<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// If the gallery name is empty set to the default gallery.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; galName = defaulGallery;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loadGallery<span style="color: #66cc66;">&#40;</span>galName, imgId<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">case</span> currentGalName :<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>imgId == <span style="color: #000000; font-weight: bold;">null</span> or imgId == <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>imgId =<span style="color: #ff0000;">&quot;0&quot;</span>;<span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">_root</span>.<span style="color: #006600;">firstImageIndex</span> = imgId;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ImageArea.<span style="color: #006600;">getInstance</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">showImage</span><span style="color: #66cc66;">&#40;</span>imgId<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ThumbArea.<span style="color: #006600;">getInstance</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">selectedThumbIndex</span> = imgId;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span>; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">default</span> : <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//if there is no image id load the first image.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>imgId == <span style="color: #000000; font-weight: bold;">null</span> or imgId == <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>imgId =<span style="color: #ff0000;">&quot;0&quot;</span>;<span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//If the galName is not the currentGalName load the new gallery.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//Prevents swf from being reloaded every time you update </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//the address from clicking a thumb</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>currentGalName <span style="color: #66cc66;">!</span>= galName<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>loadGallery<span style="color: #66cc66;">&#40;</span>galName, imgId<span style="color: #66cc66;">&#41;</span>;<span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span>;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div></div>
<p>Also updated the example to use swfadress 2.4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.mikerichardsphotography.com/blog/2009/05/15/how-to-adding-swfaddress-to-simpleviewer/comment-page-1/#comment-56</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 16 Oct 2009 14:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikerichardsphotography.com/blog/?p=21#comment-56</guid>
		<description>Huh strange I didn&#039;t notice that and you just caught me as I&#039;m heading out of town for a week... It would most likely be one of 2 issues either the event is not being caught or the caught event is not processing and updating the flash. Without having time to play with it at the moment I would lean towards the latter. I&#039;ll have to take a look at it when I get back.</description>
		<content:encoded><![CDATA[<p>Huh strange I didn&#8217;t notice that and you just caught me as I&#8217;m heading out of town for a week&#8230; It would most likely be one of 2 issues either the event is not being caught or the caught event is not processing and updating the flash. Without having time to play with it at the moment I would lean towards the latter. I&#8217;ll have to take a look at it when I get back.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: disway</title>
		<link>http://www.mikerichardsphotography.com/blog/2009/05/15/how-to-adding-swfaddress-to-simpleviewer/comment-page-1/#comment-55</link>
		<dc:creator>disway</dc:creator>
		<pubDate>Fri, 16 Oct 2009 01:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikerichardsphotography.com/blog/?p=21#comment-55</guid>
		<description>Nice tut, can&#039;t wait to dig in. However I noticed the back or forward buttons do not work when you are inside the gallery. In other words, when you are at image 3, you cannot use back button to go to image 2. The buttons do work going between the galleries on your Example page though. Any ideas? Could this be another case of &quot;ID&quot; tag issue? Hope I didn&#039;t open a can of worm for you. By the way I am using Safari on a Intel Mac with 10.6.</description>
		<content:encoded><![CDATA[<p>Nice tut, can&#8217;t wait to dig in. However I noticed the back or forward buttons do not work when you are inside the gallery. In other words, when you are at image 3, you cannot use back button to go to image 2. The buttons do work going between the galleries on your Example page though. Any ideas? Could this be another case of &#8220;ID&#8221; tag issue? Hope I didn&#8217;t open a can of worm for you. By the way I am using Safari on a Intel Mac with 10.6.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.mikerichardsphotography.com/blog/2009/05/15/how-to-adding-swfaddress-to-simpleviewer/comment-page-1/#comment-18</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 06 Jun 2009 02:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikerichardsphotography.com/blog/?p=21#comment-18</guid>
		<description>Not sure how possible this will be with the free version. Try a / in front of the folder name. If not that the only other thing I can think of is playing with the options listed below.

XML options
imagePath and thumbPath

HTML options
fo.addVariable(&quot;xmlDataPath&quot;, &quot;gallerydata.xml&quot;);

http://www.airtightinteractive.com/simpleviewer/options.html</description>
		<content:encoded><![CDATA[<p>Not sure how possible this will be with the free version. Try a / in front of the folder name. If not that the only other thing I can think of is playing with the options listed below.</p>
<p>XML options<br />
imagePath and thumbPath</p>
<p>HTML options<br />
fo.addVariable(&#8220;xmlDataPath&#8221;, &#8220;gallerydata.xml&#8221;);</p>
<p><a href="http://www.airtightinteractive.com/simpleviewer/options.html" rel="nofollow">http://www.airtightinteractive.com/simpleviewer/options.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tif</title>
		<link>http://www.mikerichardsphotography.com/blog/2009/05/15/how-to-adding-swfaddress-to-simpleviewer/comment-page-1/#comment-15</link>
		<dc:creator>tif</dc:creator>
		<pubDate>Fri, 05 Jun 2009 06:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikerichardsphotography.com/blog/?p=21#comment-15</guid>
		<description>maybe you can help:

trying to use simplviewer(not pro), and make a multiple galleries.
I made two separate galleries in separate folders. I&#039;m trying to run them from flash movie , which load &quot;viewer.swf&quot; from each folder. 

  btn1.onRelease = function() {
	container_mc.loadMovie(&#039;folder1/viewer1.swf&#039;)
};

only if i place gallery file in the main folder, it works.
the prolem is that i cant place more then one gallery in the main folder, becouse they have the same xml name(that i cant change).
thanks</description>
		<content:encoded><![CDATA[<p>maybe you can help:</p>
<p>trying to use simplviewer(not pro), and make a multiple galleries.<br />
I made two separate galleries in separate folders. I&#8217;m trying to run them from flash movie , which load &#8220;viewer.swf&#8221; from each folder. </p>
<p>  btn1.onRelease = function() {<br />
	container_mc.loadMovie(&#8216;folder1/viewer1.swf&#8217;)<br />
};</p>
<p>only if i place gallery file in the main folder, it works.<br />
the prolem is that i cant place more then one gallery in the main folder, becouse they have the same xml name(that i cant change).<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.mikerichardsphotography.com/blog/2009/05/15/how-to-adding-swfaddress-to-simpleviewer/comment-page-1/#comment-2</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 23 May 2009 15:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikerichardsphotography.com/blog/?p=21#comment-2</guid>
		<description>Just had someone point out a copy and paste error. I fixed it above.

if (currentGalName != ) {loadGallery(galName, imgId);} 

should have been:

if (currentGalName != galName) {loadGallery(galName, imgId);}</description>
		<content:encoded><![CDATA[<p>Just had someone point out a copy and paste error. I fixed it above.</p>
<p>if (currentGalName != ) {loadGallery(galName, imgId);} </p>
<p>should have been:</p>
<p>if (currentGalName != galName) {loadGallery(galName, imgId);}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
