A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Trying to figure out how to do random timelines and or frames

  1. #1
    Junior Member
    Join Date
    Nov 2001
    Posts
    4
    I was wondering what parameters i have to set to do random frames and or timelines using the math.random oject command..
    This is pertaining to a game I have been working on take a look at it if you want at my storage bin

    http://www.angelfire.com/film/neochilds/Born.htm

    steal the kids concept and you'll feel thy rath..

    Anyway I really would like some help and or support..

  2. #2
    Lady Pleaser Extrordinaire!
    Join Date
    Oct 2001
    Location
    Edmonton AB!!!
    Posts
    226

    Ok here................

    anyways... it is kinda like
    x = math.random(10)
    gotoandplay x

    i have an example here.... lemme get it!


    http://www.geocities.com/canadaherp/damage.swf


  3. #3
    incredibulus-actionscriptum magnetos's Avatar
    Join Date
    May 2001
    Posts
    2,160
    just curious

    what's the difference between

    x = math.random(10) ;
    and
    x = random(10) ;

    ?

    magnetos


  4. #4
    Lady Pleaser Extrordinaire!
    Join Date
    Oct 2001
    Location
    Edmonton AB!!!
    Posts
    226

    not much really....

    if you tak e advice from a 13 year old... math.random is a decimal numberp random is a whole nuber you can use either... i think

  5. #5
    incredibulus-actionscriptum magnetos's Avatar
    Join Date
    May 2001
    Posts
    2,160
    hey if i have to learn something i might even ask my 3 years old niece

    you never too old to learn........

    by the way my niece probably know more then i do

    magnetos

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