A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: dragging 2 different mc in the same time

  1. #1
    Senior Member
    Join Date
    Oct 2000
    Posts
    123
    how can i drag 2 different movie clips on 2 different layers in the same time ...i'm using the following script for each one :
    onClipEvent (load) {
    startDrag ("_root.mc", true);
    }
    and the same for the second mc with mc1 as instance name..
    but only the mc in the higher layer is dragged...
    if there's a way other than putting the 2 mc in 1 mc plz let me know.....

    thx
    samham

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Posts
    135
    If the mcs are going to stay in the same relative position to each other you could always create a new mc which contains them both and drag that - in fact if the positions will change you could just change the x and y properties on the fly.

  3. #3
    Senior Member
    Join Date
    Sep 2000
    Posts
    348
    couldn't you use a telltarget and start drag for the second movie clip?

    gav

  4. #4
    Senior Member
    Join Date
    Oct 2000
    Posts
    123
    hi thx for ur help

    well i tried the tell target and it didnt work ... maybe i used it in a wrong way ...
    i think i'll have to put my movie clips in 1 mc ....and drag it....

    thx

    samham

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