Hi All,
I`m working on a site with a xml menu. When clicking on a menu point in the nav. this is part of the script which is executed:
function executeAction(arg){
_level.play();
display = arg;
_global.select=<arg> OR A VARIABLE depending on the arg;
}
then in the main movie (the nav is external) I have a script that checks the variable and according to which one, it should go a certain frame or scene.
if(_global.select==<arg> OR VARIABLE){
nextFrame();
// or gotoAndPlay(); //or whatever
}else{
stop();
}
Naturally this does not work… any ideas?
Thanks in advance,
m.