| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| teamsuk -
 
 
 Joined: 14 Feb 2004
 Posts: 3
 
 
 | 
			
				|  Posted: Mon Feb 16, 2004 10:04 pm    Post subject: java script |   |  
				| 
 |  
				| does anyone now where i can download a javascript so that when people visit a page swf file on it when they refresh it it chages to anoter swf file 
 if that makes sence anwser
 
 
 
 
 
 
 please dont tell me to google ok i will go go gah gah no seriously dont
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| iNaNimAtE -
 
 
 Joined: 05 Nov 2003
 Posts: 2381
 Location: Everywhere you're not.
 
 | 
			
				|  Posted: Tue Feb 17, 2004 3:36 am    Post subject: |   |  
				| 
 |  
				| You can try scripts such as "random image displayer" on javascriptkit.com or javascript.internet.com, and then replace where the images should be with SWFs. It may work; I've never tried it. _________________
 Bienvenidos!
 |  | 
	
		| Back to top |                | 
	
		|  | 
	
		| TRUSTAbyss -
 
 
 Joined: 29 Oct 2003
 Posts: 3752
 Location: USA, GA
 
 | 
			
				|  Posted: Tue Feb 17, 2004 5:21 am    Post subject: |   |  
				| 
 |  
				| You can also try searching for the random link script at http://javascriptkit.com and replace those links with swf
 flash files and every time the page loads , a new flash
 file will also load up , use frames if you want it to be on
 the same page each time the page loads  8)
 
 Edit: Here is a small demo that I created that
 loads a new web page each time you enter.
 
 Random Website: http://random.offspringvideos.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| eznetlinks -
 
 
 Joined: 27 Sep 2003
 Posts: 144
 
 
 | 
			
				|  Posted: Tue Feb 17, 2004 4:30 pm    Post subject: |   |  
				| 
 |  
				| This script will choose a flash file at random 
 <SCRIPT LANGUAGE="JavaScript">
 banners = new Array()
 banners[0]="yourbanner1.swf"
 banners[1]="yourbanner2.swf"
 var Number = Math.round(1 * Math.random());
 var Theswf = banners[Number]
 document.write("<embed src=" +Theswf+ " height=60 width=468 quality=high loop=true menu=true play=true scale=exactfit</EMBED>")
 </SCRIPT>
 
 Good Luck
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		|  |