I have a situation where I have a parent object that I want to act as a container for any number of dynamically generated child objects. Using the attachMovie() command however, it seems to require a linkage ID, which I will not have since I am creating new child objects on the fly, each with their own properties that I want to be persistent inside the parent container.
In pseudo-code, what I’d like to do is:
[FONT=Courier New]when user clicks a button {[/FONT]
[FONT=Courier New]create new child object, named child1, child2, etc[/FONT]
[FONT=Courier New]}[/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New]user can drag any child object[/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New]when user drags any child onto the parent {[/FONT]
[FONT=Courier New]child is attached, so that it “sticks” to the parent container, and any properties of the parent are inherited by the children.[/FONT]
[FONT=Courier New]}[/FONT]
Any thoughts?