Building a Flash Randomizer Class
By: Danny Patterson on Friday, November 19, 2004
Reader Level: 
This tutorial will examine the creation of a Flash randomizer class in ActionScript 2.0. This randomizer class will allow us to specify an array of items and randomly return one item from the array when we request it. Sounds fairly straightforward, however, what makes this Randomizer class different is that it is persistant across sessions. It never returns the same array item back-to-back, and it displays all of the items once before another item is displayed again.
Purchase this item
You can purchase this piece of content separately for
$3.00
Want more?
Community MX members get unlimited access to daily articles,
tutorials, extensions and support. The most comprehensive
resource for Macromedia designers and developers today.
Take a tour of what we offer, and discover the benefits
of subscribing.
Already a member?
Simply log in using the form in the top right area of the site.



