<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
	<channel>
		<title>A Flash image viewer by reading directory contents</title>
		<description>A Flash image viewer by reading directory contents</description>
		<link>http://www.marcofolio.net</link>
		<lastBuildDate>Sat, 21 Nov 2009 03:59:10 +0100</lastBuildDate>
		<generator>FeedCreator 1.7.2</generator>
		<item>
			<title>thanks dude</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2367</link>
			<description>hey marco thanks for the code, it helps me a lot with a proyect...

thanks again dude!

 :lol:</description>
			<author>juan</author>
			<pubDate>Fri, 18 Jul 2008 04:14:44 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2382</link>
			<description>Hi
This is a great script, but I tried to open the .fla file in Flash 8 and got an error.
I also tried to re-create it from the flash code above but it was just black, any ideas what I\'m doing wrong?
Simon</description>
			<author>Simon Radford</author>
			<pubDate>Mon, 21 Jul 2008 10:12:00 +0100</pubDate>
		</item>
		<item>
			<title>What error?</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2427</link>
			<description>Hi there Simon,

What is the error that Flash 8 is giving? Please note the FLA file is created with Flash CS3.

You can also try contacting me through the contact form and send me your FLA file so I can check.

Good luck!</description>
			<author>Marco</author>
			<pubDate>Sun, 27 Jul 2008 16:59:38 +0100</pubDate>
		</item>
		<item>
			<title>Randomize?</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2584</link>
			<description>This is a great script! It is working perfectly for my needs. Any way to randomize the image display? That would be great!
Thanks</description>
			<author>Nick Cosper</author>
			<pubDate>Tue, 19 Aug 2008 01:35:39 +0100</pubDate>
		</item>
		<item>
			<title>ActionScript knowledge</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2586</link>
			<description>Hi Nick,

Good that this script it working out for you!

Do you have AS knowledge? If so, just make a function that will randomize the \&quot;_root.img\&quot; array.

Good luck!</description>
			<author>Marco</author>
			<pubDate>Tue, 19 Aug 2008 09:34:24 +0100</pubDate>
		</item>
		<item>
			<title>faster transition</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2762</link>
			<description>How would you speed up the transition?

I also noticed when it first starts, it blows through the first image fast and transition right to the next.</description>
			<author>Leif</author>
			<pubDate>Fri, 12 Sep 2008 06:55:40 +0100</pubDate>
		</item>
		<item>
			<title>ooo also -</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2763</link>
			<description>I wouldn\'t mind seeing some code for randomizing the images.</description>
			<author>Leif</author>
			<pubDate>Fri, 12 Sep 2008 06:57:04 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2764</link>
			<description>Really, what I would like to do is have the image stay up a little longer before changing, maybe 10 seconds, but then I want the transition time to be faster in between.

I played with the changingspeed variable and the showingHidebox, but this seems to create some bugs - some images would zip by while it would pause on others, for not I put them back to what they were - I will have to dig in this some more after I sleep.</description>
			<author>Leif</author>
			<pubDate>Fri, 12 Sep 2008 07:01:41 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2769</link>
			<description>alright - I found a blurb of actionscript for writing a function that randomizes the array, no problem. But it is still buggy when it comes to the length of time it displays each image. Using your code, unchanged, it will display the first photo for about 4 seconds, then the next for about 13 seconds, then 17 seconds, then 13, 17, 13, 17 and so on.

wouldn\'t it be easier to just use a tween and control that in the actionscript?</description>
			<author>Leif</author>
			<pubDate>Fri, 12 Sep 2008 17:57:28 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2807</link>
			<description>Leif,
Would you care to share what you did for actionscript and randomization? I posted a while back, but never was successful implementing the actionscript. I am totally unfamiliar with actionscript!
thanks</description>
			<author>Nick Cosper</author>
			<pubDate>Wed, 17 Sep 2008 19:05:13 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2810</link>
			<description>I found a few different solutions, some better than others for different reasons, this is the one I ended up using. Just add this function to your actionscript:

[code]function mixArray(array:Array):Array {
	var _length:Number = array.length, mixed:Array = array.slice(), rn:Number, it:Number, el:Object;
	for (it = 0; it</description>
			<author>Leif</author>
			<pubDate>Thu, 18 Sep 2008 07:08:25 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2811</link>
			<description>Sorry, the [code][/code] brackets don\'t seem to work right - let me try that again.

so here is the function:

function mixArray(array:Array):Array {
	var _length:Number = array.length, mixed:Array = array.slice(), rn:Number, it:Number, el:Object;
	for (it = 0; it</description>
			<author>Leif</author>
			<pubDate>Thu, 18 Sep 2008 07:12:12 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2812</link>
			<description>okay last try.

function:

function mixArray(array:Array):Array {
	var _length:Number = array.length, mixed:Array = array.slice(), rn:Number, it:Number, el:Object;
	for (it = 0; it &amp;lt; _length; it++) {
		el = mixed[it];
		mixed[it] = mixed[rn = random(_length)];
		mixed[rn] = el;
	}
	return mixed;
}

add this line:

_root.img = mixArray(_root.img);

before this line:

totalnrimg = _root.img.length;

that way, you will randomize the array before you load the first image.

the time it displays each image is still quirky for me though...</description>
			<author>Leif</author>
			<pubDate>Thu, 18 Sep 2008 07:16:20 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2813</link>
			<description>That is great! Thanks for the reply so quickly. I\'ll give it a shot and see how it works.
Thanks again.</description>
			<author>Nick Cosper</author>
			<pubDate>Thu, 18 Sep 2008 07:28:45 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2815</link>
			<description>that worked like a charm Leif, thank you!</description>
			<author>Nick Cosper</author>
			<pubDate>Thu, 18 Sep 2008 19:19:40 +0100</pubDate>
		</item>
		<item>
			<title>new media</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc2880</link>
			<description>Have you seen or would this process allow for a folder of flash video files to be randomly played?</description>
			<author>Jeff</author>
			<pubDate>Fri, 26 Sep 2008 15:26:10 +0100</pubDate>
		</item>
		<item>
			<title>flash</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc3106</link>
			<description>Hi, thanks for the useful html code, but I\'m sorry I don\'t understand how to make it work on my site. I don\'t know what part of the code to copy, or what I need to make it work. I already have some flash images on my site, so I think i already have the appropriate software to make it work. Could you break it down to really simple language for me? Thanks. Please reply to me email address.</description>
			<author>ebonee</author>
			<pubDate>Tue, 28 Oct 2008 23:00:01 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc3386</link>
			<description>first image loading is  really slow. i see white, green &amp; black screen first. then as soon i see first image it goes to second image.after that it plays fine. i think first image just stay 3 or 4 second. any clue how to fix the first image to stay 10 second?</description>
			<author>steve</author>
			<pubDate>Mon, 01 Dec 2008 21:46:06 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc4053</link>
			<description>hmmm ... I\'m using cs3, and this doesn\'t seem to be working at all - could there be a flash player 10?</description>
			<author>janus</author>
			<pubDate>Sun, 15 Feb 2009 18:47:17 +0100</pubDate>
		</item>
		<item>
			<title></title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc4054</link>
			<description>.. i mean a flash player 10 incompatibility?</description>
			<author>janus</author>
			<pubDate>Sun, 15 Feb 2009 18:47:56 +0100</pubDate>
		</item>
		<item>
			<title>Slideshow</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc4775</link>
			<description>This is exaclty what I need and it works well. However, I would like the images to be in a different directory than the SWF because I am placeing the SWF on a homepage and do not want all the images in the root directory. Is this possible?

Thanks,

Allan</description>
			<author>Allan Browning</author>
			<pubDate>Thu, 19 Mar 2009 23:00:01 +0100</pubDate>
		</item>
		<item>
			<title>FLA ist corrupt</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc6398</link>
			<description>Hi,
i downloadet the files but the fla file is corrupt.
I canīt open it.</description>
			<author>Michael</author>
			<pubDate>Mon, 25 May 2009 15:50:14 +0100</pubDate>
		</item>
		<item>
			<title>Unexpected File Format</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc7611</link>
			<description>Can\'t open the source fla file with either Flash MX 2004 or Flash 8 Professional. Both say \&quot;unexpected file format\&quot;.</description>
			<author>Chris</author>
			<pubDate>Mon, 15 Jun 2009 10:35:35 +0100</pubDate>
		</item>
		<item>
			<title>re: Slideshow</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc7821</link>
			<description>[quote=Allan Browning]This is exaclty what I need and it works well. However, I would like the images to be in a different directory than the SWF because I am placeing the SWF on a homepage and do not want all the images in the root directory. Is this possible?

Thanks,

Allan[/quote]
This is a great script but I\'d also like to know how to direct the script to use another directory that holds the images. :)</description>
			<pubDate>Thu, 18 Jun 2009 19:58:54 +0100</pubDate>
		</item>
		<item>
			<title>Another problem</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc12890</link>
			<description>Hello everyone :)
The scripts work great, but I have different problem with it.

I\'ve placed my *.swf and source.php file placed in \&quot;store/www/swf/\&quot; catalouge, and changed in AS path to file source.php. 

When I play it in a simple html documment every thing seens to be fine, using the code

[quote]
				
				
			[/quote]

the problem starts when I place it ina xhtml code below other layers (divs) :(

On the same flash movie I have a regular motion and mage rotator. The first works fine, but rotator doesn\'t.

Had anyone same problem ??

Best regards</description>
			<author>Kylu</author>
			<pubDate>Thu, 05 Nov 2009 09:39:18 +0100</pubDate>
		</item>
		<item>
			<title>Change size</title>
			<link>http://www.marcofolio.net/actionscript/a_flash_image_viewer_by_reading_directory_contents.html#josc13098</link>
			<description>First, thanks for sharing this great bannersolution. 

But how can I change the size of this? I modified the flashfile with all it\'s layers to my dimensions and changed the html to the right size but I get my banner at a small size surrounded by black.. Could you explain me step by step how to change the size?

Thanks in advance!</description>
			<author>Jeroen</author>
			<pubDate>Mon, 09 Nov 2009 10:03:14 +0100</pubDate>
		</item>
	</channel>
</rss>
