Random Content Display Script
Learn how to create randomized content display in your flash applications. Great for advertising banners and website elements alike. We set up the first frame with a random number generator using ActionScript 3.0, then we simply place the content or scripts that we would like to randomize through in our keyframes starting on frame 2 of the timeline. We use simple math to make the frame offset to never hit frame 1 or go beyond our maximum frame specified by us in the code.