On one of my company's sites we use Flash Player 3.16 to rotate through a gallery of videos and images. We're hoping to upgrade to version 4.2 so that we can take advantage of a few plugins we'd like to write. Usually the gallery starts with a video (but not in all cases) and is followed by a series of images. The playlist we use is currently an XML list.
With Flash Player 3.16 we were able to supply the playlist, and the player would rotate through all of the items images and videos. Playing the videos completely and showing each image for a few seconds before moving to the next track in the list.
When we use 4.2 the player with our test XML file the player will run the first video completely but from there will stop with out playing the next track. If I manually click next the image will appear but will not rotate to the next image.
Any ideas?
Here is a demo of my XML file and my Script tag.
<playlist version="1">
−
<trackList>
−
<track>
<title>halloween party</title>
−
<image>
http://mysite.com/get_file.php?file_id=f6d742e79421a3a8&thumb=2&type=.jpg
</image>
−
<location>
http://mysite.com/get_file.php?file_id=f6d742e79421a3a8&type=.flv
</location>
<info/>
</track>
−
<track>
<title>img_5412</title>
<image>http://mysite.com/e274f325a1acbb0a.jpg</image>
<location>http://mysite.com/e274f325a1acbb0a.jpg</location>
<info/>
</track>
−
<track>
<title>img_5420</title>
<image>http://mysite.com/b4056cc7422125dd.jpg</image>
<location>http://mysite.com/b4056cc7422125dd.jpg</location>
<info/>
</track>
−
<track>
<title>img_5422</title>
<image>http://mysite.com/1b8f8f2f1a72bd2e.jpg</image>
<location>http://mysite.com/1b8f8f2f1a72bd2e.jpg</location>
<info/>
</track>
−
<track>
<title>img_5406</title>
<image>http://mysite.com/6225eccc1d2344a0.jpg</image>
<location>http://mysite.com/6225eccc1d2344a0.jpg</location>
<info/>
</track>
−
<track>
<title>img_5407</title>
<image>http://mysite.com/8e05ab85a71c8883.jpg</image>
<location>http://mysite.com/8e05ab85a71c8883.jpg</location>
<info/>
</track>
−
<track>
<title>img_5358</title>
<image>http://mysite.com/3b5eadeec1bcc674.jpg</image>
<location>http://mysite.com/3b5eadeec1bcc674.jpg</location>
<info/>
</track>
−
<track>
<title>img_5315</title>
<image>http://mysite.com/db4de5564441f293.jpg</image>
<location>http://mysite.com/db4de5564441f293.jpg</location>
<info/>
</track>
−
<track>
<title>img_5307</title>
<image>http://mysite.com/cba28055d83629de.jpg</image>
<location>http://mysite.com/cba28055d83629de.jpg</location>
<info/>
</track>
−
<track>
<title>jayhaze-wht1 (1)</title>
<image>http://mysite.com/6032da409a07a742.jpg</image>
<location>http://mysite.com/6032da409a07a742.jpg</location>
<info/>
</track>
−
<track>
<title>redboxsmall</title>
<image>http://mysite.com/21af1e78957f3280.jpg</image>
<location>http://mysite.com/21af1e78957f3280.jpg</location>
<info/>
</track>
−
<track>
<title>Image 1</title>
<location>http://mysite.com/095561348d5a51c6.jpg</location>
</track>
−
<track>
<title>Image 2</title>
<location>http://mysite.com/6c1d7523b3e5ea4c.jpg</location>
</track>
−
<track>
<title>Image 3</title>
<location>http://mysite.com/fa8940cb119b89d5.jpg</location>
</track>
</trackList>
</playlist>Script tag
<script type="text/javascript">
<!-- //<![CDATA[
var player = new SWFObject("/swf/player.swf", "greyPlayer", "252", "215", "9", "#000000");
player.addVariable("file","/xml/event_playlist.xml?id=30384&default_image=095561348d5a51c6&tmx=1224844388");
player.addVariable("backcolor","707070");
player.addVariable("frontcolor","EEEEEE");
player.addVariable("lightcolor","FFFFFF");
player.addVariable("screencolor","707070");
player.addVariable("logo","/media_logo.png");
player.addVariable("bufferlength","10");
player.addVariable("volume","50");
player.addVariable('repeat','none');
player.addVariable("autostart","true");
player.addVariable('rotatetime','5');
if(Browser.Engine.gecko && Browser.Platform.mac) {
player.addParam("bgcolor", "#000000");
}else{
player.addParam("wmode", "opaque");
}
player.addParam("allowScriptAccess","always");
player.addParam("allowfullscreen","true");
player.write("player");
//]]> //-->
</script>

player.addVariable('repeat','always');
from - http://code.jeroenwijering.com/trac/wiki/FlashVars