Skip to main content
Known Participant
June 21, 2007
Question

Attaching dynamic moviclips to a Movieclip (Label)

  • June 21, 2007
  • 1 reply
  • 248 views
HI guys i m in real trouble

am calling more images in dynamic movieclips on the stage from XML file and show them on the stage after that evry movieclip is draggable and there is lots of labels (movieclips) on which i have to drag the images called from xml files and placed on that label , label is also draggable once when i placed object on the label moviecli then when i drag the label all images placed in side the label should also move with the label .

And there might be more labels and more images , i can place any images in a label or more images on different label but will work siimilarly described above .

So please suggest me and help me out ASAP.
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 21, 2007
use a hitTest() on the label movieclip to initiate a startDrag() for the label movieclip and all the child images. use a generic onPress to initiate a startDrag() for each image.
Known Participant
June 21, 2007
can u please a simple script for help or sample ????

i have lots of images or movieclips dynamic movieclips , and i have to attached them with a main label (movie clip) and after dragging that label all images attached with the label should also move with the label.


So please if u have any sample for that then send it to me .
Thanks