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 | |
---|---|---|---|---|
Error Message : Event Handler | 0 | 54 | July 30, 2007 | |
Calling mouseEvent from within a different function
|
0 | 137 | January 19, 2012 | |
addEventListener error ?! | 0 | 94 | January 28, 2011 | |
1180 Error with event listener | 0 | 78 | April 21, 2008 | |
A very strange problem: MouseEvent | 0 | 74 | September 14, 2008 |