Return to Snippet

Revision: 7256
at July 18, 2008 14:29 by taboularasa


Updated Code
private function randRange(minNum:Number, maxNum:Number):Number 
        {
            return (Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum);
        }

Revision: 7255
at July 16, 2008 01:36 by taboularasa


Initial Code
        private function randRange(minNum:Number, maxNum:Number):Number 
        {
            return (Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum);
        }

Initial URL

                                

Initial Description

                                

Initial Title
AS3 Random Range

Initial Tags
textmate, actionscript, function

Initial Language
ActionScript 3