I apologize for my English, it's not very good. I'm trying to refer to a symbol in a childsymbol for a day now, but I can get it work only once. I've searched the forum, but can't find the same problem.
At the stage in compositionReady (this code works fine the first time):
// Scene tour eiffel
// show menu
sym.getComposition().getStage().getSymbol("scene_home").$('mc_btn_tour') (this path isn't working the second time; when it is a childsymbol. So the music in soundGroup is not stopping and the menu2 is not showing up.)
This is the onclick code of the symbol which replaces the second scene by the first scene. Works fine.
// Empty content container
var positieScene_home = sym.getComposition().getStage().createChildSymbol("scene_home", "content", 1);
// Set the position
Scene_home is placed on the stage in an element called 'content'. The first time playing it, it isn't a childsymbol. Second time it is.
Does anyone has a solution for this? Or do you need more information? Thank you!
I stil haven't got a preloader and only the Eiffeltower is clickable but here's a demo:
Start > Click on the Eifeltower > Click 'Back to overview' in the right menu > Click on the Eifeltower again.
As you can see, the menu and the music won't work when you click for the second time at the Eiffeltower.