The system is actually not new, but a more convenient way of writing. To create it dynamicly, you just set the parent of the layer/plugin
<code>
set(layer[title1].parent, 'textmask');
</code>
Yes, but...
Klaus said:
QuoteDisplay More<layer name="box" keep="true">
<layer name="child1" ... />
<layer name="child2" ... />
</layer>By using this way the parent setting of the children elements will be
automatically set to the name of parent element and also the keep
setting copied from it.
When using many elements and children-elements on the screen, the
rendering/calculation performance is an important topic (especially on
slow mobile devices). This version had also many internal improvements
here. When just moving elements (by tweening the x/y settings) only the
moved element itself will be recalculated and all children elements keep
cached. Additionally also the Flashplayer and the HTML5 Browsers have
internal optimizations for this case to make normal moving very
efficient. Other transformations like scaling always need the
recalculation of all children elements, so as performance tip - for very
fluid animations try just to move elements.
I mean if the "old" dynamic parent = "" system will work in the new version just as Klaus said?
Piotr