Hello,
I’m used to working in 3D, so I’m not quite sure how to do something like this in Flash. Say I have three mc’s - 2 squares (A and B) and 1 circle. At first the circle is a child of square A, so if I drag square A, the circle will follow. But then say I click a button, and I want the circle to become a child of square B, so that I can drag B and have the circle follow that one.
How exactly would you switch what the parent mc is? I know that I could probably use something like: ActionScript Code:
[FONT=Courier New][LEFT]squareA.[COLOR=#0000FF]attachMovie[/COLOR][COLOR=#000000]([/COLOR]circle, circle_mc, [COLOR=#000080]10[/COLOR][COLOR=#000000])[/COLOR]
[/LEFT]
[/FONT]
to parent the circle to square A to begin with. But then I want to take the current circle (not create a new one) and attach it to square B. And be able to switch back and forth as necessary.
Any ideas? Thanks!