/ Published in: ActionScript
                    
                                        Get a random Number in AS3
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 function randRange(min:Number, max:Number):Number { var randomNum:Number = Math.floor(Math.random() * (max - min + 1)) + min; return randomNum; }
Comments
                    Subscribe to comments
                
                