Copy link to clipboard
Copied
Can movie clips be grouped together yet maintain their individual properties?
Here's what I'm looking to do. Let's say I want movie clip A and movie clip B. On the stage I draw some shape, convert it to a symbol > Movie clip and give it an instance name of clipA. I then create a second graphic and convert it to a symbol > Movie Clip and give it an instance name of clipB. I then move clipB to where it's centered over clipA. I then select both clips and group them together.
The problem I'm running into is when I attempt to create a MouseDrag event for clipB, only clipB gets dragged. clipA does not get dragged with clipB even though I grouped them together. I need the clips to act as one entity yet maintain their individuality so if I hover the mouse over clipB it responds with some action, but when I hover over clipA, nothing happens.
Hope this makes sense. Let me know if you need further detail and I'll be happy to provide.
group won't work in runtime.. what you need is to select A & B and convert them to a movieClip, then give it an instance name let's say "my_mc" and use my_mc.startDrag()..
and you can use my_mc.clipName.property if you want to change any property of the my_mc's children (clipA & clipB).
Copy link to clipboard
Copied
group won't work in runtime.. what you need is to select A & B and convert them to a movieClip, then give it an instance name let's say "my_mc" and use my_mc.startDrag()..
and you can use my_mc.clipName.property if you want to change any property of the my_mc's children (clipA & clipB).
Copy link to clipboard
Copied
Thank you very much!
Copy link to clipboard
Copied
You're welcome my friend.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now