Skip to main content
August 23, 2007
Question

Loading Random .SWF for my site!!!!

  • August 23, 2007
  • 3 replies
  • 345 views
i'm on this since november last year... i thing that can't be done... so this is the last post i'll write on any site... i need to load a random .swf, but this is the dificult part... i whant to put the script at the last frame of every banner... cuz... the banners will be differents... and i cant use the array methot or the random number... cuz.. what about if i have 3 or 4 banners, and i upload 1 or 2 more... i'll need to mod. every single banner!!! what i did right now was put the banner on a iframe, then call another page and this page call a random swf... but after some time it stop working... so i need to call a swf... but with any name... not on a array cuz i want to put the script in the last frame... so that way every new banner can take the time it need to load... and the time to be play... and when it stop, call a new RANDOM banner and repete all the same... NOT ARRAY!!! or RANDOM NUMBER!!! NO!!!

i just think that can't be done on flash...

HO!!! the site is www.rinconesrd.com
This topic has been closed for replies.

3 replies

kglad
Community Expert
Community Expert
August 23, 2007
use an xml or text file to specify the number of banners.
August 23, 2007
can you please re - explain that..
not clear on what you are trying to do
August 23, 2007
quote:

Originally posted by: edmundep2
can you please re - explain that..
not clear on what you are trying to do


i'm doing this web site... and i'm planing to sell banners... but i want to make it like on tv... all banners will show up for 10 or 15 seconds... them i want that when a banner is over, this banner call any other from a folder... but this is the think... i can't use a array or a "random(5)+1" or what ever... cuz i dont know how many banners i'll have... if i sell just 1 or 2, i have to put a script on the last frame of each banner.. but if i upload 2 or 3 more.... i'll have to change every banner i have...

i whant to do this this way (the script at the final frame) cuz that way the banner will take the time it needs to show up and finish!!! and when the banner is over, it will call a new one... but random...

the real question is... can i call a random "name".swf on flash? can flash take any name... cuz on php i can do it... but i need it on flash!!!

PLEASE HELP ME!!!!!!!!!!!!!!!!
kglad
Community Expert
Community Expert
August 23, 2007
right.