PDA

View Full Version : Actionscript



srachit
12-02-2009, 03:58 PM
Ok here is my situation I am trying to code a image galary in flash. Now for the next button the code I have put is getting a syntex error and I cant understand why.




next_btn.addEventListener(MouseEvent.CLICK, nextImage);



That is the code, yes next_btn has been defined. That is the only part of the entire code which is getting syntex error.

Thanks for help

Srachit

srachit
12-02-2009, 04:08 PM
Hey guys I just removed the comment I had return above it and it started working, if anyone knows why this happened plz let me know