<div dir="ltr">Hi everyone, <br><br>Can I remove a child after tweening this child?:<br>The idea is to have a motion when myClip is added to stage ( tweening is done in the constructor of this myClip), and the another just before it's removed from the stage.<br>
<br>For example this code:<br><br>tweener.addTween(<span style="color: rgb(102, 102, 204);">myClip</span>,{alpha:0, transition:"linear", onComplete:<span style="color: rgb(51, 204, 0);">removeMyClip</span>})<br>
<br><span style="color: rgb(51, 204, 0);">function removeMyClip() </span>{<br><br>removeChild(<span style="color: rgb(102, 102, 204);">myClip</span>);<br><br>}<br><br>Because i tried to do something similar, and the child is removed during the tweening motion. I don't understand where i failed.<br>
<br>if anybody knows a method to do this or have an answer...<br><br>Thanks you all.<br><br>Charlie<br><br><br></div>