A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: actionscript question

  1. #1
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588

    actionscript question

    How do I make a movie clip follow another movie clip? Kinda the way I can make things follow the mouse pointer?

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    "things follow the mouse pointer" because their _x and _y are linked to _xmouse and _ymouse. Just replace _xmouse and _ymouse by the leader movieclip's _x and _y in your formula.

    gparis

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