A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: random frame?

  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    44

    random frame?

    has anyone got he code to tell the _root to go to a random frame of say frame 1 to 100 - much appreciated, thanks.

  2. #2

    random

    _root.frame = Number(random(99))+1;
    _root.gotoAndStop(frame);


    This should work

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    44
    wicked, thanks a lot..

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