Error #1009 Simple Help please

Hello there guys, I been working on a small project on flash CS5.5 AS3, it is a side scrolling platform game.
However I been coming up with an error which is this :
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Corestructure_Scene1_fla::MainTimeline/movingPlayer()[Corestructure_Scene1_fla.MainTimeli ne::frame4:83]
And the line it points at is this one :
Velocity +=  gravity;
if (!floor.hitTestPoint(larry.x,larry.y,true))
larry.y +=  Velocity;
if (Velocity > 20)
Velocity = 20;
Now I dont know what to do, this error keep coming up as soon as i start the game, i move the character left and right, its fine, I press jump and the characters jumps fine, however, as soon as the character lands, this error keeps coming up and I just dont know how to fix it.
Any help would be great!

The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....
- is not in the display list
- doesn't have an instance name (or the instance name is mispelled)
- does not exist in the frame where that code is trying to talk to it
- is animated into place but is not assigned instance names in every keyframe for it
- is one of two or more consecutive keyframes of the same objects with no name assigned in the preceding frame(s).

Similar Messages

  • Flash Error #1009 -- NEED HELP!

    Okay.  I am relatively new to AS3 and I have been working on creating a visual timer.  My code is very simple, and I can't figure out why Flash Pro CS6  is giving this error message in the Output:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at TMR_fla::MainTimeline/timer1hit()
    My code looks exactly like the following:
    import flash.events.Event;
    stop();
    function timer1move():void {
              timer1.x-= 8;
    var MyInterval1:uint = setInterval(timer1move, 50);
    timer1.addEventListener(Event.ENTER_FRAME, timer1hit);
    function timer1hit(e:Event) {
              if(timer1.hitTestObject(finish1)) {
                        gotoAndStop(2);
                        clearInterval(MyInterval1);
    I cannot figure out why FLash is giving me this error.  Mainly because my code works great!  It does exactly what I told it to do, it goes to Frame 2 and stops.  But in the Output the error message just keeps repeating forever.  I have looked all over this forum and found multiple topics on this problem but none of them help.  Few extra key notes:
    1.  My second frame has absolutely ZERO code.  Just some scribbles on stage to indicate that I've made it to the 2nd Frame.
    2.  My stage for frame 1 looks like this:
    The object on the right is my timer.  The rectangle on the left is my finish.
    Rectangle has an instance name of finish1
    Timer has an instance name of timer1
    I have triple checked the instance names, I know that they are all spelled right.  Can somone help me? 

    If the error is repeating forever, it is probably because you have tha ENTER_FRAME listener continuing on.  If you are in frame 2 and any of the objects that the ENTER_FRAME event handler function is targeting are only in frame 1, then that will be the source of the error.  In your event handler you should remove that listener before you change frames.
    timer1.addEventListener(Event.ENTER_FRAME, timer1hit);
    function timer1hit(e:Event) {
              if(timer1.hitTestObject(finish1)) {
                        timer1.removeEventListener(Event.ENTER_FRAME, timer1hit);
                        clearInterval(MyInterval1);
                        gotoAndStop(2);

  • I can't download OS X LION. it comes up with download error, Can anyone help please

    I can't download OS X LION. it comes up with download error, Can anyone help me please ????????

    Not much detail here. What's the error? If  a connection one, use a wired connection to the Internet, If it says stopped or paused, retry. If something else, try http://www.apple.com/support/mac/app-store/contact.html?form=account

  • I am struggling to know how to download music on to mp3. am useless with computers. simple help please !

    am really struggling to transfer music to mp3. not a clue how its done. Help please!

    You do not download music from iTunes as an MP3, all music is downloaded as an AAC file.
    iTunes 11 for Windows: Save a copy of a song in a new format

  • How to fix  (your request cannot be processed error 1009) plz help me

    Please help. I am Iranian. The problem is everyone mad few days. Here are all mostly apple ... the problem is hurting us

    Error
    what is error code 1009?

  • .. ERROR CODE 4450 HELP PLEASE!.. I copied my cd/dvd diagnostics here

    Hi, I used to always be able to burn CDs on my computer with iTunes fine and now I keep getting error code 4450 right after the 1st song begins to burn. My computer is not even one year old yet! I tried reading other topics like this one but I could not figure out how to fix the problem myself. The questions were responded with asking to run the cd/dvd diagnostics on iTunes so I did and here they are... PLEASE HELP ASAP! THANK YOU!!!
    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    Dell Inc. Dell DM051
    iTunes 7.1.1.5
    CD Driver 2.0.6.1
    CD Driver DLL 2.0.6.2
    LowerFilters: PxHelp20 (2.0.0.0), DRVMCDB (1.0.0.1), DLACDBHM (1.0.0.1),
    UpperFilters: GEARAspiWDM (2.0.6.1),
    Current user is an administrator.
    Video Display Information:
    RADEON X300 SE 128MB HyperMemory
    RADEON X300 SE 128MB HyperMemory Secondary
    Connected Device Information:
    DiskDrive, ST3160812AS, Bus Type ATA, Bus Address [0,0]
    CDROM, PHILIPS DVD+-RW DVD8801, Bus Type ATA, Bus Address [0,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some computers need an update to the ATA or IDE bus driver, or Intel chipset. If iTunes has problems recognizing CDs or hanging or crashing while importing or burning CDs, check the support site for the manufacturer of your computer or motherboard.
    D: PHILIPS DVD+-RW DVD8801, Rev 4D28
    Drive is empty.
    The last failed audio CD burn had error code 4450(0x00001162). It happened on drive D: PHILIPS DVD+-RW DVD8801 on CDR media at speed 12X.

    Yes, here it is... but I have used this same pack of cd's to burn many times before. so i do not think it is the cd, i dont know if that information helps or not...
    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    Dell Inc. Dell DM051
    iTunes 7.1.1.5
    CD Driver 2.0.6.1
    CD Driver DLL 2.0.6.2
    LowerFilters: PxHelp20 (2.0.0.0), DRVMCDB (1.0.0.1), DLACDBHM (1.0.0.1),
    UpperFilters: GEARAspiWDM (2.0.6.1),
    Current user is an administrator.
    Video Display Information:
    RADEON X300 SE 128MB HyperMemory
    RADEON X300 SE 128MB HyperMemory Secondary
    Connected Device Information:
    DiskDrive, ST3160812AS, Bus Type ATA, Bus Address [0,0]
    CDROM, PHILIPS DVD+-RW DVD8801, Bus Type ATA, Bus Address [0,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some computers need an update to the ATA or IDE bus driver, or Intel chipset. If iTunes has problems recognizing CDs or hanging or crashing while importing or burning CDs, check the support site for the manufacturer of your computer or motherboard.
    D: PHILIPS DVD+-RW DVD8801, Rev 4D28
    Media in drive is blank.
    Get drive speed succeeded.
    The drive CDR speeds are: 12 16.
    The drive CDRW speeds are: 12.
    The drive DVDR speeds are: 12.
    The drive DVDRW speeds are: 12.
    The last failed audio CD burn had error code 4450(0x00001162). It happened on drive D: PHILIPS DVD+-RW DVD8801 on CDR media at speed 12X.

  • Wifes 5g video sdram error at work Help Please

    Thank YOU for any and all help on the following:
    1. Wifes Very Well taken care of 5g video place in a speaker dock at work this morning. She IM's me "MY iPod Is Broke" She says when she put it into the speaker dock, the screen said "error sdram full test"
    2. I told her to do a reset "hold switch left to right. Hold menu and center buttons at same time"
    3. Now she says screen is flashing!
    I have done the search's. Nothing exactly like this.
    What Do I Tell Her PLEASE! She is lost without her iPod.

    So what happened with this? As I assume you have now had a chance to get your hands on it and play with it first hand?
    Patrick

  • Just bought an ipod touch 4g and my pc dont seem to recognized my ipod everytime i hook it in and im getting code 43 error ...help please!

    Just bought a new ipod touch downloaded itunes in my pc with windows 7 but every time i hook my ipod computer dont seem to recognize it - getting code 43 error. i have already reset my ipod but still getting the same error code on my computer. Is my ipod defective or its my pc?  please help! 

    - Place the iPod in DFU mode and then restore
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - Try on another computer
    - Try another cable
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar     

  • Error Itunes -9812: help please

    Hi everyone, I've read a lot about the error 9812 when trying to create an itunes account but still cannot find a solution. I'm now desesperated! My computer says Designed for Windows XP and underneath Windows Vista capable. Is this why my itunes store is not compatible? Anyone for repair solution please??????? Many thanks

    Hi Steph,
    This (the -9812 error) was a widespread problem a while back and most people found that re-registering their .dll security certificates did the trick. Apple posted a help page (http://docs.info.apple.com/article.html?artnum=301520) but the Microsoft link no longer works. As such, here are some instructions and a web page reference. Hopefully this will work for you:
    To register the DLL files, follow these steps:
    1. Click Start, click Run, type regsvr32 softpub.dll in the Open box, and then click OK. When you receive the message that the DllRegisterServer succeeded, click OK.
    2. Click Start, click Run, type regsvr32 initpki.dll in the Open box, and then click OK. When you receive the message that the DllRegisterServer succeeded, click OK.
    3. Click Start, click Run, type regsvr32 mssip32.dll in the Open box, and then click OK. When you receive the message that the DllRegisterServer succeeded, click OK.
    4. Click Start, click Run, type regsvr32 wintrust.dll, click OK, and then click OK when you receive the message that the DllRegisterServer succeeded.
    And here's the web page reference:
    http://www.technipages.com/article26.html
    Best of luck.

  • ERROR MESSAGE: 1327 HELP PLEASE!!!!

    Hi there,
    I've looked in the forums for answers to this error message but nothing has helped me. I had 2 disc drives in my computer, but recently my d drive where I had alot of my programs etc failed and it had been taken out of my computer. I am now running of C drive. Whenever I tried to open itunes it would display a message saying that it couldnt find my documents and needs it to open, so i tried uninstalling it but it wouldnt uninstall, I kept getting "Error 1327.Invalid Drive: D:\" I ten tried to install the latest version of itunes, but i keep getting the same message!! Its trying to install it on the D drive which isn't there anymore, I'd just like to install it on the C drive now!
    PLEASE HELP!!
      Windows XP Pro  

    Seen this?
    Error 1327 Invalid Drive

  • General Exception error in IE7 help please.

    In searching for help with the error message I'm getting, I found this link with others having the same problem that I do which is a General Exeption error message when I close game windows from Pogo.com.
    The link is here and I don't see any answers/suggestions/resolutions.
    1. I reinstalled latest Java but no change.
    2. Firefox 3 has no problem.
    Please help - my wife is gonna throw me out if she can't play her games!
    thanks.

    theilliniguy wrote:
    Wow thanks for the encouragement. Your feelings of entitlement are not likely to engender helpful, or really any, responses to questions you post anywhere on the internet.
    I didn't see any abrupt answers like yours Let me make this perfectly clear.
    Your question is off-topic for this site. When discovered/reported off topic threads in these forums are locked and/or deleted.
    I did take the time to tell you that you are in the wrong place rather than just reporting this thread and the resulting consequences (see above). It is not my fault that you did not bother to do enough research to find if you are in the right or wrong place for your question. It is your responsibility to find the correct resources for your problems.
    What you should do at this juncture is go off and find a more suitable support forum/resource for your problem. This forum is not a suitable support forum for your problem.
    And if you really feel that you must reply, thanking me for pointing you in the right direction would be the intelligent and appropriate response. And to be clear further responses where you show your anger at me for not giving you what you wrongly feel entitled too would be the incorrect and inappropriate response.
    Good luck in solving your problem.

  • BlackBook - Error when reformatting - Help please?

    Hi,
    I recently acquired a second BlackBook. 2.2 GHz, 4GB RAM, 160 GB HD
    When it arrived to my home, I wanted to start with a fresh OSX install.
    1. I inserted my Leopard disc.
    2. I set the target disc to the DVD drive.
    3. I restarted
    4. I selected my language
    5. Immediately, an error pops up and says, "Mac OSX can not be installed on this computer. Please check the minimum system requirements..."
    6. I open the Disc Utility and zero out the drive
    7. I attempt to install the OS again and get the same error
    8. I remove the RAM and replace it with known good RAM
    9. I attempt to install the OS again and get the same error
    10. I swap hard drives with my current BlackBook inserted in the new machine and OSX loads just fine. Hardware checks out fine in System Profiler
    11. I insert the erroring Hard Drive into my BlackBook and am able to load the OS - no problems at all. No Errors.
    12. I attempt once again to load the OS with my current BlackBook drive and get the same error on the new machine.
    Based on this, is my new machines' Logic Board hosed, or would this be something more like a finicky machine syndrome, or the optical drive?
    I did a fresh install with my original laptop onto the new BlackBook Hard Drive and just threw the drive into my new machine and it works fine - no issues. It just seems ultra weird that I can't install the OS on the actual computer for whatever reason.
    Any ideas on this one? Thanks in advance for the help.

    Hi
    I was not asking about the nature of my purchase. The machine works fine aside from this issue. It does everything I have asked of it aside from this.
    I recently acquired a second BlackBook. 2.2 GHz, 4GB RAM, 160 GB HD
    When it arrived to my home, I wanted to start with a fresh OSX install.
    1. I inserted my Leopard disc.
    2. I set the target disc to the DVD drive.
    3. I restarted
    4. I selected my language
    5. Immediately, an error pops up and says, "Mac OSX can not be installed on this computer. Please check the minimum system requirements..."
    6. I open the Disc Utility and zero out the drive
    7. I attempt to install the OS again and get the same error
    8. I remove the RAM and replace it with known good RAM
    9. I attempt to install the OS again and get the same error
    10. I swap hard drives with my current BlackBook inserted in the new machine and OSX loads just fine. Hardware checks out fine in System Profiler
    11. I insert the erroring Hard Drive into my BlackBook and am able to load the OS - no problems at all. No Errors.
    12. I attempt once again to load the OS with my current BlackBook drive and get the same error on the new machine.
    Based on this, is my new machines' Logic Board hosed, or would this be something more like a finicky machine syndrome, or the optical drive?
    I did a fresh install with my original laptop onto the new BlackBook Hard Drive and just threw the drive into my new machine and it works fine - no issues. It just seems ultra weird that I can't install the OS on the actual computer for whatever reason.
    Any ideas on this one? Thanks in advance for the help.

  • PhotoShop Error: 147:20 - HELP PLEASE

    Alright, so each time I try to open Adobe Photoshop, this is the error i get:
    [IMG]http://i49.tinypic.com/dot16c.jpg[/IMG]
    I restarted my computer numerous times but this is still happening. Please help me and thanky uo very much for your time.

    The key is that it says there's a licensing subsystem failure.
    Not sure whether this might help:   http://www.adobe.com/support/contact/licensing.html
    -Noel

  • Unable to burn cd error unknown 2131 Help please

    Hello, Can someone please help me I cannot burn Cd's on my Advent laptop and it keeps coming up with unknown error 2131, i understand you need to run a test on the cd drive, here is the info from that .....
    Microsoft Windows Vista Home Premium Edition Service Pack 1 (Build 6001)
    DIXONSXP DIXONSXP
    iTunes 10.4.1.10
    QuickTime 7.7
    FairPlay 1.12.20
    Apple Application Support 2.0.1
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 3.4.1.2
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.2 (333.2)
    Gracenote SDK 1.9.1.485
    Gracenote MusicID 1.9.1.102
    Gracenote Submit 1.9.1.133
    Gracenote DSP 1.9.1.43
    iTunes Serial Number 002EAEA80B8BEB10
    Current user is not an administrator.
    The current local date and time is 2011-08-26 17:44:14.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is not supported. (16005)
    Video Display Information
    Intel Corporation, Mobile Intel(R) 965 Express Chipset Family
    Intel Corporation, Mobile Intel(R) 965 Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: a84d7f0088c275a2ea5452e14520c1f8
    iPodService 10.4.1.10 is currently running.
    iTunesHelper 10.4.1.10 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.0.1),
    E: TSSTcorp CDDVDW TS-L632H, Rev TMC0
    Audio CD in drive.
    Found 21 songs on CD, playing time 53:47 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 03:19:38
    Track 3, start time 05:31:12
    Track 4, start time 08:26:50
    Track 5, start time 11:55:12
    Track 6, start time 13:33:68
    Track 7, start time 16:29:33
    Track 8, start time 19:10:66
    Track 9, start time 21:04:24
    Track 10, start time 22:12:28
    Track 11, start time 24:39:63
    Track 12, start time 26:38:33
    Track 13, start time 28:52:61
    Track 14, start time 31:07:14
    Track 15, start time 33:41:60
    Track 16, start time 35:41:69
    Track 17, start time 37:20:14
    Track 18, start time 38:47:39
    Track 19, start time 43:31:31
    Track 20, start time 46:26:09
    Track 21, start time 48:58:73
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are: 24.
    The drive CDRW speeds are: 24.
    The drive DVDR speeds are: 24.
    The drive DVDRW speeds are: 24.
    The last failed audio CD burn had error code 2131(0x00000853). It happened on drive E: TSSTcorp CDDVDW TS-L632H on CDR media at speed 0X.
    Thanking you in advance Josh

    E: TSSTcorp CDDVDW TS-L632H, Rev TMC0
    The 2131 is usually associated with older versions of the firmware for the TS-L632H, josh.
    The TMC0 is a firmware revision I haven't seen before ... presumably it's an Advent-supplied version. Check in with Advent (or Dixon's?) technical support to see if they have a later version available. If you update to the higher firmware version, does that get you past the 2131?

  • My iphone has error 21 need help please.

    my iphone suddenly shut down. i tried to press on button and tried to reset it but it wont work. when i charged it the apple logo appeared i left it for at least two hours. when i came back the apple logo is still there. then i tried reseting it. the connecto to itunes appeard. i cannot restore it. itunes keeps saying an error occured(21). and one more thing. when i unplug in from charger or pc it turns off. as if it has no battery/battery is doesnt work. is it the batt or the ios? please help

    JoJo,
    I Had your problem to a 100% match. I took my phone to the Apple store yesterday and it actually turned out to be a bad battery connection. The connector was bent, making contact but screwing up the memory. My second battery replacement on my iPhone 4. $89.00 This absolutely and instantly fixed the problem. Please let me know if this helps ( or any of the ther 4 of you wiht this problem. I just created an account so I could answer your question.The Apple guy did tell em he had to put it in UDE mode whihc doesn't matter a bit if you're not there getting teh battery. I don't know what UDE mode is,. but I see it metnioned here a lot.To re-iterate, he said it would have done nothing for me on my own.
    jojocarungcong wrote:
    my iphone suddenly shut down. i tried to press on button and tried to reset it but it wont work. when i charged it the apple logo appeared i left it for at least two hours. when i came back the apple logo is still there. then i tried reseting it. the connecto to itunes appeared. i cannot restore it. itunes keeps saying an error occured(21). and one more thing. when i unplug in from charger or pc it turns off. as if it has no battery/battery is doesnt work. is it the batt or the ios? please help

Maybe you are looking for

  • Cannot Read from or Write to Disk

    Can someone tell me why i get this message? I want to delete some things, so I clicked the option to manually manage songs, however, when I do then delete and go to update the ipod, i get this message. any solutions?? thanks ~ eileen

  • E-mail destributor and CRM Groupware Connector

    Hello, we synchronize our activities and private Contacts with the Groupware Connector. My question is, how is the behavior of the Groupware Connector if an employee changes his email-address in CRM with a e-mail distributor? Has this anyone tested?

  • Render and email

    I incorrectly set up my render and email and I need to fix a couple of things in the setup part.  but it won't let me, when i press the script "render and email" it renders and is unable to send the email, I need to fix this so it will email me when

  • How to NOT display header details in every page when printed with PLD

    Hi All I am printing a report of all related activities of a business partner using PLD.  in the printout the header details of business partner such as name, phone details are printing in every page along with contents.  how to avoid this situation

  • How do i find new downloads from i tunes in my video app in this os7

    How do i find new downloads from i tunes in my video app in this os7. All purchsed items are there, what a mess???