> instead of random(x), you should use > Math.floor(Math.random() * x).
Which makes me wonder why random() is deprecated. They really think that Math.floor(Math.random() * x) is better than random()? Ridiculous! The sign of a great API is its simplicity. _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

