[FONT=Times New Roman][SIZE=3]Sup everyone. I’m trying to load 7 RANDOM movie clips from the library. For each of the movie clip (under linkage properties), they have an identifier, for example “yup1”, “yup2”, “yup3”, and so on. My movie has one layer and one frame.[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]On the stage, there is a blank movie clip that has an instance name of “blaaank” where the other movie clips will be loaded into. My problem is that I can’t figure out how to make a random movie clip stay on the screen for a certain amount of time (lets say 10 seconds) before changing it to another random movie clip. [/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]The other action that I want to do involves one button. One button will load another movie clip form the library that has an identifier “stopsign,” which will show something on the screen and in the same time the random movie clips will disappear. The random movie clips will appear once more only if you press on the same button again. I just need help what kind of actionscript I need to put on the button.[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]So my movie has one layer, one frame, on the screen there is one blank movie clip and a button, and on frame 1 there is an actionscript like this…[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]i = Math.ceil(Math.random()*7);[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]_root.blaaank.attachMovie(“yup”+i, “nope”+i, 1, {});[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]Thanks for anyones help[/FONT][/SIZE]