Copy link to clipboard
Copied
Hi I am creating an app I wanna remove a movieclip child index
here step 1 and step 2 is working fine but Step3 is not working fine when cut back clipart to canvas it dosent work.
I have saved all cliparts in clipartsArray()
Here my code for step 3 which is not working fine
var childClipart:MovieClip=MovieClip(clipartsArray[0])
canvas.addChild(childClipart)
Copy link to clipboard
Copied
why don't you just reparent whatever child is removed from product?
Copy link to clipboard
Copied
I am doing same but it's not working, I m not understanding why it is not working
clipartsArray[0]<<< with this array I got child clipart object which is placed into product
var childClipart:MovieClip=MovieClip(clipartsArray[0])
canvas.addChild(childClipart)<<< here I am trying to place this clipart to canvas, then it must be remove from product automatically.
Copy link to clipboard
Copied
what do you see that makes you think it's not working? an error message? if so, what is it?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now