(1 replies, posted in SimpleViewer-Pro v1)

Nice images, though the transparent black "bar" across each one on the bottom was bothering.  Maybe a positioning bug???

As for your question, if you look below:
    static var enablePlayButton:Boolean = false; //Whether to show play button for autoplay mode.
    static var playAtStart:Boolean = false; //Whether to automatically start playing.  <CHANGE TO TRUE
    static var displayTime:Number = 5; //Number of seconds each image will display in autoplay mode.   

and change the line variable/Boolean from false (the default) to true, it should work.  Then just republish the source fla. and you'll be fine.  BTW, this is changed in the "Option.as" file typically found here (if you unzipped the simpleviewer pro file into its own folder):
SimpleViewer Pro\SimpleViewer v1.9 Pro\source\com\airtightinteractive\apps\viewers\simpleViewer

Also be sure to publish your .fla with the right name and in a location you can find it, so it will not overwrite the original included in simpleviewer pro.

Hope that helps.


(0 replies, posted in SimpleViewer-Pro v1)

Hi and thanks for looking.  I have read the post here (http://www.simpleviewer.net/forum/viewtopic.php?id=9170 and the posts referenced within that one) about the back button.  I'm wondering how easy it would be to have a close window button, and if some of the code could be changed from the current layout (maybe editing the BACK button to be close, and then what code would be used ...either of these (which I got from the net):
on (release) {
getURL ("javascript:window.opener=self;window.close()" );


<input type="button" value="Close this window" onclick="self.close()">  <----creates button
<a href="JavaScript:window.close()">Close</a>

Any ideas on if this is possible?  Currently gallery opens from flash to new window or tab and just want to give some clueless people the close window option.

How would I go about doing this?


PS:  I saw this archive post (http://www.simpleviewer.net/forum/viewtopic.php?pid=9934#p9934 ) but it doesn't seem to have been answered and especially how to attach to a specific premade button in simpleviewer, or where to place a newly created button, what to name it, and how to implement the code.