use the alert() function to confirm both functions are being called.
Thanks for the reply.... Not sure what's going on here, but the alert comes up just fine for the other function. However other objects will not receive commands. "this.P2_Picks.gotoAndStop("hide");" never gets executed.
I have read something about functions having scope and the return function is needed to share things like variables outside of the function. But I'm trying to direct movieclips in my HTML 5 canvas page from the function and I don't see how I would apply a return function to telling a movieclip what to do.
This doesn't make any sense to me as the function linked to the "addEventListener" works fine for any command I put toward a movieclip. What's going wrong in the second if it is being called?
"this", in that function, is not going to be the timeline that contains your code.
i always make timeline references explicit so i don't have to deal with 'binding' and ambiguity:
Thanks! Feel like I should have realized that.