This content has been marked as final. Show 7 replies
Ok if I understand you, you have several movieclips on the stage that are created dynamically. Some of them are called "labels" and some are images. You want to drag and drop an image onto a label. Then when you do that you want the image to become a child movieclip of the label movieclip. That way when you drag the label movie clip and all the images inside it will move along with it.
Are the images movieclips as well or are they just images?
images are dynamic Moviclips but lables are static movie clips .
Please help me if u can .....
Its very hectic for me.
I tried your problem with one static label movie clip and one dynamic movie clip with loaded image on it.
For this, you should have an emptry movie clip in your library with linkage identifier 'image'.
Call the joinMc function with the parameters static label instance name and its linkage identifier.
Please remove that drawing API part which is not needed. For clarity, I re-attach the code.
Also, don't forget to position your label by changing the x- and y- positions in the code.
(This second reply helps me to complete my 100th post :D)
Give the image URL as your third parameter like this.
Just see how can i call images in different dynamic movieclips for ur better understanding i will attaching these codes
and there is lots of labels and lots of images i have to create diffent bunches means place some images in a label and other some images in different label as more images under more labels.....