Tag Archives: pseudo random number

From AS2 to AS3 – Where did it go – random

This is one that I figured out pretty quick. What has the ActionScript 2.0 Migration to say about this subject: ActionScript 2.0  ActionScript 3.0  Comments random() Math.random() Removed. Use Math.random() instead. I could have seen that coming: Deprecated since Flash Player 5. This function was deprecated in favor of Math.random(). Returns a random integer between 0 and […]