Jump to content


Flash Action Script3

  • Please log in to reply
2 replies to this topic

#1 khassl@yahoo.com


    New member

  • New Members
  • 2 posts

Posted 13 March 2010 - 07:53 PM


I need show the page2 when I click the button1 I have the error # 1061,

Please advise.

My function below.

function button1_clicked(e:MouseEvent):void{

button1.addEventListener(MouseEvent.CLICK, button1_clicked);

1061: Call to a possibly undefined method addEventListener through a reference with static type Class
  • 0

#2 Ben



  • Administrators
  • 5,682 posts
  • LocationGainesville, Florida

Posted 14 March 2010 - 12:46 PM

I don't know a huge amount about Flash, to be honest. According to:


It looks like you're doing the right thing (again though, I'm not completely sure). However, you might want to look at a couple posts in forums with people that have the same error. Perhaps the issue isn't with this specific code, but where the code is placed.


There aren't a lot of members here that work with flash. You may get better answers by posting on the Adobe Flash forums or similar -- a forum dedicated specifically to Flash.
  • 0
Benjamin Falk
Falken Creative : Twitter

#3 marry_outsource project

marry_outsource project

    New member

  • New Members
  • 3 posts

Posted 21 May 2010 - 01:17 PM

I am may be talking at wrong place. But i want to say that I hate Action script. Can I work on flash without this?
  • 0

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

★★★★★ 5 Star Rated Web Developer Course - check it out now!