HI all, trying to add additional load movie scripts to the following code:
choice = Math.round(Math.random()*2);
switch (choice) {
case 0 :
_root.content.loadMovie(“home_okai.swf”);
break;
case 1 :
_root.content.loadMovie(“home_ayatollah.swf”);
break;
case 2 :
_root.content.loadMovie(“home_mustafa.swf”);
break;
}
Basically, I want each person’s mp3 to load into another MC along with the randomly selected home .swf.
script: _root.audioplayerclip.loadmovie(“mp3_okai.swf”) …and then the two others as well.
How would I insert this to make the code work? So far, I tried pasting in this code after each “case”, but only the home .swf’s would load- not the mp3. I guess my syntax is incorrect.
Anyone know how to do this properly?