I am working on a skin with map that needs to be slideable. This seems to work with the map as parent and the hotspots on the map as children. Now I want to add other elements as parents, so that they can have their own behaviors and their own children.
How do I force an added image to be a parent?
Carel Struycken
Tree, parent, child question
- henri_smeets
- Posts: 67
- Joined: Mon Jan 14, 2008 5:46 pm
When I drag a bunch of PNG's into the editor-window they are all parents, make sure you have not selected any image in the tree view or editor-window though.
Hope this answers you queston
Hope this answers you queston
Yes, but the problem is that if I make one of the parents slide, all other elements, both children (as expected) AND other parents also slide.
Carel
Carel
- henri_smeets
- Posts: 67
- Joined: Mon Jan 14, 2008 5:46 pm
I guess those slides are just to damn irresistable for both parents and children!
Sorry, the used lingo made me put this comment here even though I cannot provide a real solution, maybe Thomas can help here?
Sorry, the used lingo made me put this comment here even though I cannot provide a real solution, maybe Thomas can help here?
You need to define the slide function with a child not in the parent. It is not exactly logical at first, but it gives more flexibility.Carel wrote:Yes, but the problem is that if I make one of the parents slide, all other elements, both children (as expected) AND other parents also slide.
MfG, Thomas