Tech Support Forum banner
Status
Not open for further replies.
1 - 11 of 11 Posts

·
Registered
Joined
·
7 Posts
Put this into your html code:
<script language="javascript" src="frontpics.js" type="text/javascript"></script>

Then create a .js file with the following code in it:
Code:
var n=-1;
var i=0;
var imglist = new Array();
var txtlist = new Array();
var delaylist = new Array();
var timer;

n++; imglist[n] = new Image(); imglist[n].src = '[B]uploads/images/Front1.jpg[/B]'; txtlist[n] = ""; delaylist[n] = "5";
n++; imglist[n] = new Image(); imglist[n].src = '[B]uploads/images/Front2.jpg[/B]'; txtlist[n] = ""; delaylist[n] = "";
n++; imglist[n] = new Image(); imglist[n].src = '[B]uploads/images/Front3.jpg[/B]'; txtlist[n] = ""; delaylist[n] = "";
n++; imglist[n] = new Image(); imglist[n].src = '[B]uploads/images/Front4.jpg[/B]'; txtlist[n] = ""; delaylist[n] = "";
n++; imglist[n] = new Image(); imglist[n].src = '[B]uploads/images/Front5.jpg[/B]'; txtlist[n] = ""; delaylist[n] = "";

if( delaylist[i] > 0 ) { delay = delaylist[i]; } else { delay = 5; }
timer = self.setTimeout("rotateimg(1)", delay*1000);


function rotateimg( x )
{
   i = i + x;
   if( i > n ) { i = 0; }
   if( i < 0 ) { i = n; }
   document.getElementById('pic').src = imglist[i].src;

   self.clearTimeout(timer);


   if( delaylist[i] > 0 ) { delay = delaylist[i]; } else { delay = 5; }
   timer = self.setTimeout("rotateimg(1)", delay*1000);

}
Change the text in bold with the corresponding image paths.
I think that should do the trick.
 

·
Registered
Joined
·
143 Posts
I use Flash 8 and the Silde Presentation is awesomely easy to use. It's a no brainer and you can do other stuff with it as well within your presentation like utilizing Masking or shape alterations, whatever. Or simply Import your images and let the generator do the rest.

If that's not what you're looking for, then I think V-Six, Laurentvw and Myself have the wrong idea of what you want and maybe you need to break it down so that a 5 yr old can understand ..

btw, Flash MX also has a Slide Presentation in case you don't use Flash 8
 
1 - 11 of 11 Posts
Status
Not open for further replies.
Top