Old 19-05-2005, 07:08   #1 (permalink)
weldo
now with added beard
 
weldo's Avatar
 
Join Date: Mar 2004
Location: Liverpool
Posts: 5,273
Random Image javascript

Ok, I've got a random image script on the homepage that I'm working on.....

But, is it possible to have a similar thing that uses .swf's instead of .gifs and .jpgs ??

Does anyone know if that can be done ?? (presumably with a different script)

Ta
__________________
fuck signatures
  Reply With Quote
Old 19-05-2005, 07:24   #2 (permalink)
Limbo
Baskin'
 
Join Date: Feb 2005
Posts: 5,309
try your script with SWFs - The image script is calling a file so should it really mater what the file type is?

Don't quote me
  Reply With Quote
Old 19-05-2005, 07:25   #3 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,191
correct, don't quote him. they're placed on the page using different code.

<img src="whatever.whatever">

whereas flash requires the swf to be embedded in the page.

you'd have to go php or asp for this.
  Reply With Quote
Old 19-05-2005, 07:29   #4 (permalink)
emil
dt immigrant
 
emil's Avatar
 
Join Date: Nov 2004
Location: Bucharest - Romania
Posts: 6,830
Send a message via ICQ to emil Send a message via MSN to emil Send a message via Yahoo to emil Send a message via Skype™ to emil
I think it can be done from within flash.
I have been looking for that type of script
a while ago, but it turned out I did not needed it
anymore, so...
  Reply With Quote
Old 19-05-2005, 07:31   #5 (permalink)
Limbo
Baskin'
 
Join Date: Feb 2005
Posts: 5,309
Quote:
Originally Posted by Brown
correct, don't quote him. they're placed on the page using different code.

<img src="whatever.whatever">

whereas flash requires the swf to be embedded in the page.


that makes sense - so could you ask the Javascript to call imbed instead of img src?
  Reply With Quote
Old 19-05-2005, 07:36   #6 (permalink)
weldo
now with added beard
 
weldo's Avatar
 
Join Date: Mar 2004
Location: Liverpool
Posts: 5,273
I guess I could create a flash movie to load a random scene/movie onLoad - could I ??

(stabbing wildly in the dark, here)
__________________
fuck signatures
  Reply With Quote
Old 19-05-2005, 07:46   #7 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,191
how about creating a movie that calls at random either swfs, jpegs or gifs from a specified folder, for a specified period of time.

that way, you'd only have to add/delete images or swfs to the folder and not re-create the main swf each time you wanted to add an image?
  Reply With Quote
Old 19-05-2005, 07:52   #8 (permalink)
weldo
now with added beard
 
weldo's Avatar
 
Join Date: Mar 2004
Location: Liverpool
Posts: 5,273
Sounds like a plan, Stan.

Next stop - hotscripts.com......
__________________
fuck signatures
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8