A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Random Frame

  1. #1
    Senior Member
    Join Date
    Jul 2000
    Posts
    243

    Random Frame

    Random Frame? Is there a thing...

    Is it possible to get a Random Frame with in a Scene?

    say like on Frame 1? Use a Random Number then set that number to a frame? To go to one of the other frames in that scene.

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    If you have....

    GoTo and Play (_currentframe+random(20))

    ...in a frame it will go from the current frame to one of the frames 1-20

    ..and make it an expression.

  3. #3
    Senior Member
    Join Date
    Jul 2000
    Posts
    243
    Super Sweet!

    I knew there was a easy way. I didnt want to have to go and Create a lot of varibles and such..

    Thanks!!!

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