Advertisement
Hey Script Ninjas,
I'm very new to Flash and the Action Script world. I recently tried this button code:
ButtonTest_btn.addEventListner(MouseEvent.CLICK, Hello World) ;
Function Output (event : MouseEvent) : void ; {
Output_txt.Text =" I did this" ;
What SHOULD have happened is I click on the Hello World button and the out put should say "I did this". What IS happening the button clicks but 1)nothing happens and 2)the word Output is still seen at the bottom of the button and 3)Action Script says the code is right but the compiler is showing alot of different error messages. Script assist isn't too clear to me, anyone know if I'm doing something wrong or is Flash just trippin'? Any help would be great.
I'm very new to Flash and the Action Script world. I recently tried this button code:
ButtonTest_btn.addEventListner(MouseEvent.CLICK, Hello World) ;
Function Output (event : MouseEvent) : void ; {
Output_txt.Text =" I did this" ;
What SHOULD have happened is I click on the Hello World button and the out put should say "I did this". What IS happening the button clicks but 1)nothing happens and 2)the word Output is still seen at the bottom of the button and 3)Action Script says the code is right but the compiler is showing alot of different error messages. Script assist isn't too clear to me, anyone know if I'm doing something wrong or is Flash just trippin'? Any help would be great.
Advertisement
Advertisement