Now before some smartass refers me to the random movie tutorial listen to my situation.
I have 5 movies within one flash file, and when the user clicks a button i want a movie to be loaded at random.
What would be the button code for this?
Now before some smartass refers me to the random movie tutorial listen to my situation.
I have 5 movies within one flash file, and when the user clicks a button i want a movie to be loaded at random.
What would be the button code for this?
Thanks claudio, now I have the following code
on (release){
movies_array = [“Q1.swf”,“manny.swf”];
loadMovieNum(movies_array[Math.floor(Math.random()*movies_array.length)], 0);
}
I have placed this code in a button, and it works fine, but it opens in a new window, and i want it to load into content, how do i modify this code so that it loads the random movies into content.
Could I use _root.contents.loadMovie, if so where would I put this in the code above?
Thanks for ur help in support by the way!
:: Copyright KIRUPA 2024 //--