i've built a global nav but now when it comes to detecting the current page
and updating the subnav accordingly i've got a little stuck, i think im
nearly there,
what i need to know if how to say is ; if(event.validBranch ==
"index/nav/his" + "anything else that might follow"){
basically how do i say "index/nav/his" + "anything"){
function onAfterGoto(event:GaiaEvent):void {
trace("current branch = "+
event.validBranch);
if(event.validBranch ==
"index/nav/his++"){
createSubNavhis();
TweenMax.to(menuBar, 0.25, {x:-270, ease:Bounce.easeInOut});
createBackButton()
}
}
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders