A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: how can i do random numbers????

  1. #1
    Junior Member
    Join Date
    Apr 2001
    Posts
    15

    Wink

    How can i do a random number, i see what if i put random it make bule, but i don't know how to use it

  2. #2

    random numbers

    mynumber = Number (random(100)+1)

    This code will give you a variable with a random number between 1-100 ( the +1 at the end tells flash not to use zero). The Number code tells flash that it needs to come up with something that is diffinitely a number.

    IQ

  3. #3
    One cow army..OH NOES!
    Join Date
    Apr 2001
    Location
    Silvermoon
    Posts
    357
    DUH!!!!
    well if i wanna make flash to choose in random MC's what
    to type???

  4. #4
    One cow army..OH NOES!
    Join Date
    Apr 2001
    Location
    Silvermoon
    Posts
    357
    DUH!!!!
    well if i wanna make flash to choose in random MC's what
    to type???
    and thanx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center