2 Replies Latest reply on Aug 16, 2010 2:35 AM by erthy

    checkbox + random problem




      I know, this may sound like a beginner problem, however I am a beginner. I am making an application in Flash Builder 4 and I would like to find a function to generate a random number from an array of numbers I supply it with.


      Example: I have 10 checkboxes,with ten numbers (1,20,-5,-9,56,908,6,45,-23,-99) written aside them. Then, I want my application to generate a random number from the checked ones. How should I do it?