A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Newbie Help with AS3 - Null Object Error

  1. #1
    Junior Member
    Join Date
    Feb 2011
    Posts
    11

    Newbie Help with AS3 - Null Object Error

    Hello,

    I'm completely new to Actionscript. I'm making an interactive toy for a Uni assignment that needs to be handed in on the 17th FEB! Eeeeek. SOme of the code is mine and the code to zoom into the image was taken from the web.

    I'm having this error:

    Cannot access a property or method of a null object reference.

    I spent the entire day yesterday searching forums and posts but still can't fix it. I understand that it means that I am loading an object that hasn't yet been created. I'm a complete newbie and I have no idea what I'm doing wrong

    If anyone can help, I would be so so so grateful and I shall give you guys one of my famous fluffy hugs

    If you can help - I'd really appreciate it.

    I can't upload my fla flle as it exceeds the file limit

    If anyone can help, maybe I could send it to you? If not, no worries.

    Thanks guys. xXx

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    The error means that you have a variable for an object, which is null. In your script at different points do trace statements of variables. You may get null as a trace. Then you have identified the variable.
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Junior Member
    Join Date
    Feb 2011
    Posts
    11
    Hey, thanks - I fixed the errors yesterday

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center