| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
#1 |
|
Registered User
|
aahhh okay here it is.....
the problem is that i cannot get setInterval to work with a varriable timer..... here is the code: ActionScript Code:
the file "slideShow.xml" contains the following code: <slideShow> <slide url= "slideFilename.swf" time= "3"></slide> <slide url= "slideFilename.swf" time= "1"></slide> <slide url= "slideFilename.swf" time= "3"></slide> <slide url= "slideFilename.swf" time= "4"></slide> <slide url= "slideFilename.swf" time= "50"></slide> <slide url= "slideFilename.swf" time= "50"></slide> <slide url= "slideFilename.swf" time= "50"></slide> <slide url= "slideFilename.swf" time= "50"></slide> </slideShow> so my question is simple..... if you can understand this code and somehow know where i went wrong.. Please help because it would greatly be appriciated! And for those of you who would like to help but can't be of any service maybe some suggestions would be considerd carefully.... If anyone knows alot about setInterval timer and how I could manipulate it so that it could work with varriable time please don't hessitate to reply to this post!!! Of course this code is open source and may be used in your own personal projects... Please just give the appropriate credit to the people who deserve it where ever possible!!! Please help.... Thank You Grindstone Media http://ww.grindstonemedia.co.za |
|
|
|
|
#2 |
|
HK510
Join Date: Nov 2001
Location: Montreal
Posts: 289
|
try this
var jack=slideShow.displayTime[currentSlide]*1000; slideInterval = setInterval(slideLoad, jack); |
|
|
|
|
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|