I want to play an element from the Stage - and when it has finished add another symbol from the library ( to the Stage and play it / remove the one that was on the stage )
Problem is that I don't know how to select items from the library . I have tried
var all = sym.$('*');
but it selects only items from the Stage.
You have to use
Then you will have to use css to place them on the stage.
var redBox = sym.createChildSymbol('redBox', 'Stage');
or in a container:
var redBox = sym.createChildSymbol('redBox', 'container');
Check out my blog here: http://www.edgehero.com/tutorials/scope