I would like to know if its possible to ensure that every time my web page opens that my Image Rotator will start with the same image. I notice during tests that it seems to open on a random image (I currently have 7 images configured). Its important that it always starts with the same "intro" image and then random after that
Any advice please ?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html lang="en">
<head>
<title>Simple Image Rotator Title Image - JWIR v3.18 - swfobject v2.2</title>
<script src="http://www.google.com/jsapi"></script>
<script>
google.load('swfobject', '2.2');
</script>
<script type="text/javascript">
var flashvars =
{
'file': 'playlist_cornerstone.xml',
'overstretch': 'none',
'repeat': 'true',
'shuffle': 'true',
'transition': 'fade',
'searchbar': 'false',
'rotatetime': '2',
'showicons': 'false',
'shownavigation': 'true',
'frontcolor': '0x86C29D', // text & icons (green)
'backcolor': '0x003367', // playlist background (blue)
'lightcolor': '0xC286BA', // selected text/track highlight (red)
'screencolor': '0xFFFFFF', // screen background (black)
'enablejs': 'true',
'autostart': 'false'
};
var params =
{
'allowfullscreen': 'true',
'allowscriptaccess': 'always',
'bgcolor': '#FFFFFF'
};
var attributes =
{
'id': 'playerID',
'name': 'playerID'
};
swfobject.embedSWF('imagerotator-3.18.swf', 'rotator', '480', '480', '9.0.124', false, flashvars, params, attributes);
var firstTime = true;
function getUpdate(typ, pr1, pr2, pid)
{
if((typ == 'load') && !(pr1 < 100) && (firstTime))
{
firstTime = false;
setTimeout("document.getElementById('playerID').sendEvent('playitem', 0);", 50);
//alert('Type: ' + typ + ' ' + pr1 + ' ' + pr2);
}
};
</script>
</head>
<body>
<div id="rotatorcontainer" class="rotatorcontainer"><a id="rotator" class="rotator" href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Flash Player to see these images.</a></div>
</body>
</html>