FORUMS: list search recent posts

AS3 how to randomly switch between videos

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Zach Gold
AS3 how to randomly switch between videos
on Apr 8, 2009 at 11:49:23 pm

Does anyone know what the easiest AS3 code is to randomly switch between videos in a movieclip? I basically want to replicate the html effect of having different backgrounds each time the page loads by calling whatever function would do this in my button code. I can think of a few different methods, like placing the movieclips in different frames and randomly jumping between frames, or somehow making only one clip be visible, or switching instance names, but am not sure what the easiest and most elegant way would be.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved