dcsimg
A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Play Randomly Movie Clips

Threaded View

  1. #1
    Senior Member
    Join Date
    Nov 2002
    Location
    Ecuador
    Posts
    28

    i know nothing about random...

    i used this code...
    Code:
    random = Number(random(9))+1;
    tellTarget ("/mc" add random)
    gotoAndPlay(1);
    }
    then this one...
    Code:
    r=int(Math.random()*9)+1;
    _root["mc"+r].gotoAndPlay(1);
    }
    im using 79 movieclips...they are tiny sqares but they all are different...

    i need to play the animation that each square has (change color) without pressing any button...the first code worked pasting it into a button...but second one dindnt worked....

    ah!...and with the first code...i can only play randomly the first 9 MC...and then comes and error of level_0
    Last edited by ContactoCreatvo; 12-10-2002 at 11:31 AM.
    [contacto creativo]

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