Error #1009 in my platform game! Help, please!

My game of base platform that I have a "hero" who can walk and jump on the 'ground '. There is also a door to the next scene, which is the next level. The first scene works very well, but "TypeError: Error #1006: value is not a function." to Charles3_fla::MainTimeline/frame1()"appears once in the output. This works however, and I'm not worried about it. The second, I'm going through the door but, scene 2 opens, and then starts flashing as "TypeError: Error #1009: cannot access a property or method of a null object reference." to Charles3_fla::MainTimeline/onenter()"appears a LOT in the output. I don't know how to solve this problem and I would like to help. P.S. I use Adobe CS5 with actionscript 3

Here is the code for stage 1:

hero.gotoAndStop ('still');

var key: KeyObject = new KeyObject (internship);

var vy:Number = 0;

var gravity: number = 2;

var jumped: Boolean = false;

stage.addEventListener (Event.ENTER_FRAME, onenter) (true);

function onenter(e:Event):void {}

Vy += gravity;

If (! ground.hitTestPoint (hero.x, hero.y, true)) {}
Hero.y + vy;
}
If(ground.hitTestPoint(hero.x+(hero.width/2), hero.y-(hero.height/2), true)) {}
Hero.x-= 13;
}
If(ground.hitTestPoint(hero.x-(hero.width/2), hero.y-(hero.height/2), true)) {}
Hero.x += 13;
}

If (vy > 10) {}
Vy = 10;
}
for (var i: int = 0; i < 10; i ++) {}
If (ground.hitTestPoint (hero.x, hero.y, true)) {}
Hero.y-;
Vy = 6;
jumped = true;
}
}
{if (Door.hitTestObject (Hero))}
gotoAndPlay (1, "scene 2");
}
if(Hero.y>300) {}

Vy = 6;
jumped = true;

}

If (Key.isDown (Key.up) & & jumped) {}

Vy = - 13;
jumping = false;

}

Hero.y += vy;

{if (Key.isDown (Key.Right))}
Hero.x += 10;
hero.scaleX = 1;
hero.gotoAndStop ('walking');
} else {if (Key.isDown (Key.LEFT))
Hero.x-= 10;
hero.scaleX =-1;
hero.gotoAndStop ('walking');
} else {}
hero.gotoAndStop ('still');

}

}

And for scene 2...

hero.gotoAndStop ('still');

var Key1:KeyObject = KeyObject (internship);

var vy1:Number = 0;

var gravity1:Number = 2;

var jumped1:Boolean = false;

stage.addEventListener (Event.ENTER_FRAME, onenter1) (true);

function onenter1(e:Event):void {}

VY1 += gravity;

If (! ground.hitTestPoint (hero.x, hero.y, true)) {}
Hero.y + vy;
}
If(ground.hitTestPoint(hero.x+(hero.width/2), hero.y-(hero.height/2), true)) {}
Hero.x-= 13;
}
If(ground.hitTestPoint(hero.x-(hero.width/2), hero.y-(hero.height/2), true)) {}
Hero.x += 13;
}

If (vy1 > 10) {}
VY1 = 10;
}
for (var i: int = 0; i < 10; i ++) {}
If (ground.hitTestPoint (hero.x, hero.y, true)) {}
Hero.y-;
VY1 = 6;
jumped1 = true;
}
}
{if (Door.hitTestObject (Hero))}
gotoAndPlay (1, "scene 2");
}
if(Hero.y>300) {}

VY1 = 6;
jumped1 = true;

}

If (Key.isDown (Key.up) & & jumped1) {}

VY1 = - 13;
jumped1 = false;

}

Hero.y += vy;

{if (Key.isDown (Key.Right))}
Hero.x += 10;
hero.scaleX = 1;
hero.gotoAndStop ('walking');
} else {if (Key.isDown (Key.LEFT))
Hero.x-= 10;
hero.scaleX =-1;
hero.gotoAndStop ('walking');
} else {}
hero.gotoAndStop ('still');

}

}

Please answer as soon as possible and thank you for your time

swiatekalex555

the idea was to stop your main timeline to move forward because it was a problem that you mentioned in a previous message.

Anyway, this thread has answered a long time ago and is now unrelated to error # 1009.  Please mark this thread as answered and start a new thread.

Tags: Adobe Animate

Similar Questions

  • BlackBerry 8520 Smartphones: hangs after "eception error: index 5 &gt; = 5" message. Help please

    8520: hangs after "eception error: index 5 > = 5" message. Help please it is urgent. Thank you

    Hey Barat,.

    Welcome to the community of BlackBerry Support Forums.

    To solve this untrapped exception error you will need to perform a cleanup of recharge of the BlackBerry Device Software.  Follow the steps in this article: www.blackberry.com/btsc/KB11320

  • Differences between the version of BlackBerry Device Software and platform. Help, please...

    Hi guys!

    I'm really confused... Help, please!

    We have developed applications for our customers. We tested with our BB8700 and it works fine.

    We used JDE4.2 for development... and we think that it will work on v4.2 based handsets.

    But our customers wrote that it works on v3.7. Why? Is this possible?

    I looked at the information about my 8700 device and then noticed: v4.2.1.107 (platform v2.3.0.84)

    -What are the differences between the version of BlackBerry Device Software and platform?

    Possible customers spoke of version 3.7 of the platform?

    There is a list of the devices, where we can find the version of BlackBerry Device Software by BlackBerry device model?

    Or where we can find information about the models of devices that will support our application?

    Thanks in advance!

    AFAIK there is no version 3.7 platform.

    Customer talking about the OS version.

    So, if they have the device OS version 3.7 you must use JDE JDE 3.6, 3.7 or older.

    Or take updated device OS if the necessary software is available.

  • tried to return my image to centre. an error code: 0x88982f52 presents itself. need help please.

    the image was in color and changed in black and white and recorded.  When I tried to open it again and he tried to get back to it, gives me a CRC error: 0x88982f52.  Help, please.  need a color picture!

    the image was in color and changed in black and white and recorded.  When I tried to open it again and he tried to get back to it, gives me a CRC error: 0x88982f52.  Help, please.  need a color picture!

    ================================================
    If you use Windows Live Photo Gallery... archive copies
    original unpublished photos. Except if they have been moved or
    deleted, you find them at the following location.

    Photo of C:\Users\%username%\AppData\Local\Microsoft\Windows
    Gallery\Original Images

    If you can't find the original Images folder... it may be hidden... try
    the following steps and their search for him once more.

    In Windows 7, follow these steps:

    Reach... Button start / Control Panel / appearance
    and customization / Folder Options / Advanced
    settings / display files, folders, and disks / OK

  • I have these errors to install adobe programs. Help, please

    Exit code: 6

    Please see the faults and warnings below for troubleshooting. For example, ERROR: DF015, DW063...

    -------------------------------------- Summary --------------------------------------

    -0 fatal Error (s), 16 (s), 0 warning (s)

    -Payload: {4817D846-700B-474E-A31B-80892B3E92E3} Adobe After Effects CS6 11.0.0.0.

    ERROR: DF015: cannot delete the symlink "/ Applications/Adobe After Effects CS6/Adobe After Effects CS6.app/Contents/Frameworks/amtlib.framework/Resources"(Seq 1405).

    ERROR: DW063: ARKDeleteSymlinkCommand of command failed. SEQ (1405)

    -Payload: {4FAB339E-2132-434F-9376-9CD735E4C69C} Adobe Flash CS6 12.0.0.0.

    ERROR: DF015: cannot delete the symlink "/ Applications/Adobe Flash CS6/Adobe Flash CS6.app/Contents/Frameworks/amtlib.framework/Resources"Seq (3665).

    ERROR: DW063: ARKDeleteSymlinkCommand of command failed. (Seq 3665)

    -Payload: {AAF0D225-F129-40F2-916E-12E28DBD19ED} Adobe Illustrator CS6 Core 16.0.0.0.

    ERROR: DF015: cannot delete the symlink "/ Applications/Adobe Illustrator CS6/Adobe Illustrator.app/Contents/Frameworks/amtlib.framework/Resources"(seq. 2135).

    ERROR: DW063: ARKDeleteSymlinkCommand of command failed. SEQ (2135)

    -Payload: {9124DF4E-617D-486B-A970-8FA632244F24} Adobe Photoshop CS6 Core 13.0.0.0.

    ERROR: DF015: cannot delete the symlink "/ Applications/Adobe Photoshop CS6/Adobe Photoshop CS6.app/Contents/Frameworks/amtlib.framework/Resources"Seq (524).

    ERROR: DW063: ARKDeleteSymlinkCommand of command failed. (524 Seq)

    ERROR: DW050: the following payload errors were found during the installation:

    ERROR: DW050: - Adobe Flash CS6_AdobeFlash12.0 - en_USLanguagePack: installation failed

    ERROR: DW050:-Adobe Photoshop CS6 language English Pack_AdobePhotoshop13-en_US: installation failed

    ERROR: DW050:-Adobe After Effects CS6: due to a lack of Language Pack installation

    ERROR: DW050:-Adobe Flash CS6: due to a lack of Language Pack installation

    ERROR: DW050:-Adobe Illustrator CS6 Core_AdobeIllustrator16en_USLanguagePack: installation failed

    ERROR: DW050:-Adobe Photoshop CS6 Core: due to a lack of Language Pack installation

    ERROR: DW050:-Adobe Illustrator CS6 Core: due to a lack of Language Pack installation

    ERROR: DW050:-Adobe after effects CS6_AdobeAfterEffects11en_USLanguagePack: installation failed

    They are my mistakes. I have no idea why they appear. And I also try the soultion with your hooooooomepage and no progress.

    Help, please. My computer is iMac and I have OS X El Capitan

    It's my computer's specifications.

    iMac (retina 5K, 27 inches, end of 2015)

    4 GHz Intel Core i7

    16 GB 1867 MHz DDR3

    AMD Radeon R9 M395X 4096 MB

    I have problems in Flash, Photoshop, After Effects, Illustrator! SAVE MY LIFE PLZ!

    And I'm not good at reading English so please explain easily. I beg u

    Hi,

    Please see errors ' Exit Code: 6 "," Exit Code: 7 "|"» CS5.5 CC, CS6, and error 'Output 6' or ' exit 7 "|"» Install log | Read, write, file system errors. CS5, CS5.5

    Hope that helps!

  • Receive "Download error" after installing creative cloud. Help, please!

    Once I have install creative cloud, I get the message "this installation is no longer functional. Uninstall and redownload creative cloud. " I tried this about 10 times with zero success. Whenever I have install the program again, I get the same error. I use a macbook pro. Help, please!

    -Meagan

    This is a typical error due to insufficient permissions for the user account, follow these steps:

    Make sure that you had connected to the Mac with the administrator user account.

    Exit the desktop application Cloud Creative and close Adobe applications.

    Step:

    (1) right-click on the icon in the Finder, then select 'Go - To' folder.
    (2) you will get a text box, type in the following command, and then press the 'Return'. () Do not miss ~ symbol)

    ~/Library

    (3) then navigate to Application Support > Adobe

    .

    Right-click on the Adobe folder and select ""GetInfo ' option. "

    Expand the sharing & permissions section.

    Click on the padlock icon in the lower corner on the right. Enter your administrator user name and password when you are prompted, and then click OK.

    Please click on '+' symbol, it will open the list of user accounts. Add currently logged in username and administrator option,

    Then indicate ""& read/write " permission currently logged in username and Administrator option."

    Click the gear icon and select apply to closed. Close the dialog box information .

    Once you had provided all permissions to the Adobe folder, try to install again to follow same steps that I mentioned in the first answer, it should solve the problem.

  • OBIEE 11 g installation error Planner on GNU / Linux. Help, please!

    Hello

    I try to install OBIEE on a Linux machine. The repository was created using a Windows PC on a separate Oracle data base on another server.

    I have four of the five components OBI running, but I get this error message Scheduler.

    [2011 09-19 T 14: 47:54.000 + 00:00] [OracleBISchedulerComponent] [ERROR: 1] [] [] [ecid: 004fKlhR3PrEkJr5KJo2ye0006XX000000] [tid: dc253800] [68008] Scheduler error: []
    Current table: S_NQ_JOB.
    [nQSError: 17001] Oracle error code: 1017, message: ORA-01017: name of user and password invalid. connection refused
    the OCI call OCISessionBegin.
    Current table: S_NQ_JOB_PARAM.
    [nQSError: 17001] Oracle error code: 1017, message: ORA-01017: name of user and password invalid. connection refused
    the OCI call OCISessionBegin.
    Current table: S_NQ_INSTANCE.
    [nQSError: 17001] Oracle error code: 1017, message: ORA-01017: name of user and password invalid. connection refused
    the OCI call OCISessionBegin.
    Current table: S_NQ_ERR_MSG.
    [nQSError: 17001] Oracle error code: 1017, message: ORA-01017: name of user and password invalid. connection refused
    beak call OCISessionBegin... Errors encountered initializing database back-end of the Planner, check configuration of database.


    I checked the configuration and there is nothing wrong with that, more connectivity between the weblogic server and the Linux server and it checked. Also, I don't have any Enterprise edition, everything I do is at the level of the console under Linux.

    Help, please. I tried to sort this for a long time.

    Thank you.

    Becky,

    You mustn't do something extra to have 'EM running in the instance of 11 g OBI. Although it is a deployed JEE application, if your server Weblogic (WLS) is launched and up and running then your Console EM should also be running.

    You say you do all that command line. Then, start the Weblogic Server, then go to http://< your="" server="" name=""> : 7001/console

    So which rises, will

    http://: 7001/em

    That's your Console of Fusion EM and it should come as well.

    Don't mess with the XML file directly.

  • Dreamweaver CS4 errors, Spry widget does not. Help, please!

    I remodel a website and downloaded the this contact page html file. I opened it in Dreamweaver and I started getting this error. I opened the html file has some JavaScripts inside and I think, the scripts had a conflict with Dreamweaver CS4. I already deleted these files, I tried to open it and I always meet these errors.

    These are the errors I get:

    1. when I open Dreamweaver, this pop-up message:
    "While executing onLoad in RecordsetFind.htm, the following JavaScript error has occurred:
    In the file "RecordsetFind".
    findRs is not defined. »
    2. I click OK. Then I get this message:
    "While executing onLoad in design Notes_onOpen.htm, the following JavaScript error has occurred:
    In the file "Notes_onOpen Design".
    onOpen is undefined. »
    3. I just click OK. When I open a html file to edit or create a new, this error pops up again:
    "While executing onLoad in design Notes_onOpen.htm, the following JavaScript error has occurred:
    In the file "Notes_onOpen Design".
    onOpen is undefined. »
    4. I shall yet once just click OK, then this error:
    "The following translators were not loaded due to errors:
    ColdFusion.htm: has configuration information that is invalid.
    SpryWidget.htm: has configuration information that is invalid. »
    5 then, I will just click OK again. Then, when I'm working with projects or create a new project with Spry, it does not work properly. I got the code and update the list Spry or content manually.
    6. when I close Dreamweaver, I always have this error:
    "While executing onLoad in TeamAdminTempDelete.html, the following JavaScript error has occurred:
    In the file "TeamAdminTempDelete".
    delTempFile is not defined.

    I tried to uninstall the Dreamweaver and install again, but it did not work.

    What should I do to make the spry works again and remove all those annoying errors? Furthermore, all my Spry widgets do not work and these errors I encounter in all the Sites that I'm trying. How can I make it work again? I tried the search problems in CS4, but I couldn't see one, only in CS3.

    Help, please.

    See if the following can help (found in the Dreamweaver FAQ)

    JavaScript and other unexpected errors

    --
    Mark A. Boyd
    Keep-on-Learnine :-)
    This message was processed and published by Jive.
    It will not be considered an accurate representation of my words.
    She may not even have been designed as a response to your message.

  • Error #1009 when sound inside game, a movie clip that is called to the scene with child add method

    What is supposed to happen

    I have a clip that is called when the user clicks a button. When moving clip appears music is expected to play. When the user clicks the close button the music stops and the clip is removed from the scene.

    But then I get an error

    When I test the movie I get the following error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    to mc_playSong / frame2 () [mc_playSong::frame2:6]

    This is the code that calls the clip on the stage (no problem here):

    Call the video clip with the song played on stage

    stage.addEventListener (MouseEvent.MOUSE_DOWN, goButtons);

    function goButtons(event:MouseEvent):void

    {

    If (event.target is song_bnt)

    {

    SoundMixer.stopAll ();

    addChild (myPlaySong);

    myPlaySong.x = 558;

    myPlaySong.y = 384;

    Event.stopImmediatePropagation;

    }

    The following code inside the clip is called to the scene. The music is meant to play:

    Stop();

    Variables for listening to music

    var RJPlaySong:RJSong = new RJSong();

    var RJPlaySongChannel:SoundChannel;

    Music for plays

    stage.addEventListener (Event.ENTER_FRAME, startRJSong); (I think that the error in the code is in this function. When I comment on him I don't get error.)

    function startRJSong(event:Event):void

    {

    RJPlaySongChannel = RJPlaySong.play ();

    }

    Stop all sounds, sets variables to null and calls a send event that removes the clip of the scene.

    bnt_closeSong.addEventListener (MouseEvent.MOUSE_DOWN, closeCreditSongScreen);

    function closeCreditSongScreen(event:MouseEvent):void

    {

    SoundMixer.stopAll ();

    RJPlaySong = null;

    RJPlaySongChannel = null;

    dispatchEvent (new Event ("RemoveMCsong"));

    }

    Someone at - it ideas? This seems to be a pretty simple question, but I can't understand it.

    I meant that you have quoted just to be taken literally.  If it's still not clear what I say or what did your code, try the following in order to demonstrate the IT change... This code to be...

    stage.addEventListener (Event.ENTER_FRAME, startRJSong);

    function startRJSong(event:Event):void {}

    trace ("I can do this all day");

    }

    After doing this, you can see why you want to only call the function once, and you could eliminate most of it and just put...

    RJPlaySongChannel = RJPlaySong.play ();

    Instead, or as I said originally, you can change it to be...

    function startRJSong (): void

    {

    RJPlaySongChannel = RJPlaySong.play ();

    }

    startRJSong();

  • How to fix crash for my kotor2 game help please also answer usfel this time

    your answer has still not help me I updated my drivers and downloaded regcure that solve problems, but my game work still dosnt kotor2 please give me an answer usful this time I told you the news of my computer already

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-gaming/how-to-fix-the-crashng-problem-for-Kotor-12-FOW/e2f4c2e5-d47b-E011-9b4b-68b599b31bf5

  • BlackBerry smartphone app error 523 reset... Help, please!

    I downloaded a theme through the net media with ATT on my Blackberry Pearl... Immediately after he prompted me to restart my phone to complete installation. When I turned on the phone back the hourglass has changed the pink theme that I had downloaded but I got the white screen of death saying APP Error 523 Reset... Resetting it does nothing or not taking the battery and the SIM card. I contacted ATT and they said that it is no longer in warranty and theres nothing they can do. I do everything with my phone and am lost without my Blackberry... Someone please help me understand what is happening. I noticed on a few discussions, he is told to restart through to my Office Manager Office Manager is not recognize my phone since the error...

    Hi and welcome to the forums,

    You will need to recharge your device OS. D_FISHER JDL_CMDER program: you have connected and

    your device is reloaded.

    http://BlackBerryFAQ.com/index.php/How_do_I_wipe_the_BlackBerry_using_Jl_Cmder%3F

    You will need to include the ge site the link. Follow the procedure for "T" and you should have a good

    new phone. You can recharge your backup and restore your data and settings,

    Thank you

    Don't forget to adjust your thread. Put the check mark in the green box containing your answer! Thank you

  • Error message 0 x 800000003 - need help please

    The other day I installed the top of Qwest internet speed on my 5 year old HP Pavilion (Media Center).  I started receiving these two error messages and now she's really slow down my machine.

    The first message reads:

    SAY FAILED\Projects\wtKernel\src\Win32\cm\Core\cmCodeModule.cpp:90m_CodeHandle!=NULL

    The second message reads as follows:

    ddcmigrate.exe - Application error

    The application failed to initialize properly (0 x 800000003).  Click OK to close the application.

    When I click OK the same ddcmigrate message pops up again.  I press OK and then the FIRST message comes on and I have to repeat the whole process.

    I called Qwest (my phone service) and they can help.  I called HP and they won't help because my computer is more than 5 years old.  But they sent me here.
    Can someone help me?

    Look for a program called wild Tanget or HP Games on your PC. It is a program of games.  If you see not listed in Control Panel-> programs and features control - and then uninstall it.

  • "No video in" error when connecting two SX20! Help, please

    Hello everyone

    We have problems to connect our two SX20 telepresence equipment, which has a bridge. When you call one SX20 on the other, once the connection is established, the message "no video in" appears on the screen. How to solve this problem?

    Also, we want to call the SX20 of jabber accounts video from computers and vice versa. How can do us?

    Currently, we only connect the two SX20.

    This is the deployment, we want to have.

    Thanks in advance

    In most cases no video is caused by firewalls and other devices with a logic of layer-3.

    You also had a different thread open material a generic question of deployment.

    Maybe you have a cisco partner or an external consultant who can help you with that.

    As you also said mobile devices, if a 3rd party there is always a chance that

    devices do not understand well the other on road signs or the face of the media.

    But at least two sx20 should be able wiith all problems to send and receive video

    If deployed stand alone or with a call like vcs or cucm control.

    Which brings back once again, check the network ;-)

    Please remember useful frequency responses and identify useful or correct answers.

  • Error and bad customer service. Help, please

    I am buying the annual plan creative element of cloud. First problem, the site displays in French as soon as I choose my plan. Even though I was on a page in English.

    Secondly, after filling out all I get is 2 types of errors:

    1 a problem occurred during the processing of your order.

    or

    2 - billing address has not been specified

    I tried to contact customer service, they said try Safari. Same problems. Then they referred me to the Sales Department, I have received several questions until I was transferred all of a sudden. The phone rings. No response.

    If those who faced this problem, please advise. If adobe employees concludes, please check with your Web site and customer service because it is really a very bad experience for a company that provides an excellent software for us to design great user experience. It's a bit contradictory.

    Thank you

    Hello

    Please try and pass the command now and it should work.

    ^ Ani

  • The error that prevents me from work :(  Help, please...

    Maybe this isn't the right place to post this and I appologise if this is the case, but I have a problem with Dreamweaver that makes me crazy! Since yesterday, I get errors, the same mistake twice shows when I try to record anything.save_error.jpg

    I get a different error every time I click on the file or try refreshing after changing the code.

    error.jpg

    I've restored the preferences they had before this problem (although I had not changed anything).

    It becomes a problem really because everything I do doesn't take three times longer, I tried to turn off evry extension in the extension manager, but that made no difference. I also checked and repaired all of the permissions on the computer, but once again, no difference.

    If it helps I use Dreamweaver 8 on a Mac OSX 10.5.8 with 2 GB of memory and an Intel Core 2 Duo 2.33 GHz processor.

    Thanks for any help.

    Try these steps and see if everything works for you

    Troubleshooting errors in Dreamweaver JavaScript

    http://kb2.Adobe.com/CPS/191/tn_19105.html

Maybe you are looking for

  • Can't see the Facebook contacts in Skype

    Hello!I have recently connected my MSN account to my Skype ID.After that, I have also tried to connect my Facebook to Skype so I could discuss with my Facebook of Skype contacts. Who had worked for a week or two, but now I can't find out what the pro

  • Satellite L350 - Vista shows only 2 GB of RAM, but I have 4 GB installed

    I installed 2 two modules expansion memory of 2 GB each to my satellite L350 that works on Windows Vista Premium.I bought at Toshiba UK who confirmed that they were the correct modules. The System Control Panel icon always indicates RAM 2 GB (not 4GB

  • MacBook Pro shut down unexpectedly

    My Macbook Pro (with the retina, end 2013) stopped unexpectedly. Running OS X Yosemite 10.10.5. It's never happened before, but did it 3 times today already. Not on again unless I connect it to a power source even if it was 60-80% charged each time t

  • GPS Black 10 "

    I have the model 3 G/GPS of Lenovo Miix running on Windows 8.1 but it seems that the Windows location utility does not work with gps (GNSS sensor HUAWEI) all hardware and determines the location right, founded on the basis of wifi/cell. Is this true

  • Satellite L300-195 has recently stopped working

    HelloMy phone has recently stopped working. It loads fine, but when I try to access one of the icons or the Start button, simply of freezes and does nothing, don't me even turn off.Can someone advise please?Thank you