A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Probably easy MC issue (random movieclip)

  1. #1
    Senior Member
    Join Date
    Jun 2004

    Post Probably easy MC issue (random movieclip)

    Hi there,

    I hope someone can help me out with a simple code.

    I have many (30+) movieclips on stage. (many are invisible)
    And i have one "special movieclip" with _x _y off the stage.
    If i press a button, i would like that "special movieclip" goes around(_y _x) a random visible movieclip and plays its second frame.

    And off course it would be great if i can notice movieclips that are not related to the movie itself(like pause button, mute button etc.), i dont want "special moveclip" goes around mute button to dance.

    I hope you understand what i mean and can help me out, i cant google for this problem, cause i have no idea how to search it. Please help me out /:

  2. #2
    var x:Number = 1; x /= 0;
    Join Date
    Dec 2004
    I don't know that I entirely understand what you are asking. Is your question about how to choose a random movie clip?

  3. #3
    Join Date
    Aug 2003
    From what I understand, you want to tell your "special movie clip" to move to a desired position, circle around a visible movie clip, and then play that movie clips second frame.

    I have attached a basic example. Hope it helps.
    Attached Files Attached Files

Tags for this Thread

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