dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: randomising a timeline

  1. #1
    Junior Member
    Join Date
    May 2001
    Posts
    16

    Smile

    ello

    have a movie clip with 40 keyframes and i would like to now how to play the timeline randomley
    so that it jumps to a new keyframe every everytime

    thanks in advance
    bhee

  2. #2
    Member
    Join Date
    Aug 2000
    Posts
    83
    Just have this code in all the frames of your movie clip

    gotoAndPlay (random(40)+1);

    Regards...

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