HelloI am tring a very simple Mouse event programme for some reason its giving me this error.I am creating two buttons and adding them to a sprite and then I am attaching addEvent listener to the sprite object and when any of the two buttons inside that sprite is clicked I am calling a function in the button class that returns the name of the button. but it is not calling this function and is tracing an undefined value here is the code.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Passing variable to event listener
|
0 | 107 | August 17, 2009 | |
Error Message : Event Handler | 0 | 46 | July 30, 2007 | |
addEventListener error ?! | 0 | 88 | January 28, 2011 | |
Mouse Events having problems? | 0 | 71 | January 30, 2008 | |
Mouselisteners in classes
|
0 | 35 | October 5, 2007 |