Hi there.
I am really new to Flash. I have just read the tutorial “[FONT=Verdana][SIZE=4][COLOR=#003366]Loading[/COLOR][/SIZE][/FONT][FONT=Verdana][SIZE=4][COLOR=#003366] a Random Background” [/COLOR][/SIZE][/FONT]I was hoping that this would help me be able to load SWF files, which in themselves are short movies, on the click of a button.
I have all the SWF files and the FLA file in the same folder as per the instructions, and labled likewise.
However when I try to play this movie, all I get is the main SWF movie, it doesn’t want to load the other random movies.
Code used on a button is:-
on (release)
{
choice = Math.round(Math.random()*43);
switch (choice)
{
case 0 :
location.loadMovie(“Image0.swf”);
break;
…
case 43 :
location.loadMovie(“Image43.swf”);
break;
}
}
Where have I gone wrong, help is very much needed and appriciated.
Note this is not for a website application, only for locale machine, for presentations.
Thanks