Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It's FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance

> New To Actionscript

This is a discussion on New To Actionscript, within the Graphics, Flash, and Multimedia section. This forum and the thread "New To Actionscript" are both part of the Designing Your Website category.

 
Reply to this topicStart new topic
> New To Actionscript, 1120 error
James
post May 5 2009, 12:08 PM
Post #1


Rapid Squeezer
****

Posts: 136
Joined: 17-May 08
From: Dallas, Texas

So I keep getting this 1120 error and I have no idea how, I tried searching Google but all the results were way out of my league. Keep in mind I'm REALLY new to actionscript (my first class, 5th meeting). Here's everything I can tell you:

1120: Access of undefined property courtInn_mc.

CODE
stop();

courtInn_mc.addEventListener(MouseEvent.MOUSE_OVER, hover, false, 0, true);

function hover(e:MouseEvent):void
{
    trace(e.target);
}


courtInn_mc does have a correctly spelled instance name

This post has been edited by James: May 5 2009, 12:09 PM


--------------------
Student majoring in 'Web Development and Interactive Media' bfa

Denali Design
Portfolio Site
Go to the top of the page
 
+Quote Post
James
post May 5 2009, 01:05 PM
Post #2


Rapid Squeezer
****

Posts: 136
Joined: 17-May 08
From: Dallas, Texas

Figured it out, the courtInn_mc had two instances motion tweened together. Didn't realize I had to give instance names to both of them.


--------------------
Student majoring in 'Web Development and Interactive Media' bfa

Denali Design
Portfolio Site
Go to the top of the page
 
+Quote Post
aaron1988
post May 6 2009, 02:47 AM
Post #3


Rapid Squeezer
****

Posts: 274
Joined: 17-January 09
From: Gillingham - Kent

Well done for figuring it out mate, thats how you learn smile.gif i not an expert at AS lol dont know nothing really about it but i do try hehe...

Regards,
Aaron
Go to the top of the page
 
+Quote Post
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   5 unitedcraig 1,050 28th June 2008 - 09:34 PM
Last post by: sylvatica