I found a tute to radomly load jpgs using the switch and case actions. How can I randomly load external .swfs or internal .jpgs using arrays and the math random function?
lol thats quite a large question. first you would need to understand arrays and how they work and then how to apply them.
here’s a tutorial on this site that loads a random background for the swf movie by picking a number from an array and loading the corresponding file. you should be able to adapt this to your purpose.
if you have problems, post more specific questions here. thanks.
hope this helps.
good luck =)
u didnt give a link shuga!!
what a horrible teacher you are!
haha
oh, btw, could you send me the .fla of your footer, i would like to pick it apart and make my own - i like it alot!
thx
omgosh … i thought i put the link in there … lol
http://www.kirupa.com/developer/mx/loadingrandombackground.asp
there you go.
and here’s a link to the discussion about how my footer came about. with source flas. the code was thanks in part to both lostinbeta and h88 … thanks guys!
http://www.kirupaforum.com/showthread.php?s=&threadid=9089
enjoy
Thanks Shuga.
I saw that tute and like it. I know how to use arraws to display random words or phrases in a dynamic text box. I would like to se them to display random files. I just can’t seem to tie the random array selection with the load movie or target.