Someone at - he found a solution to the error 1009?

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

Ok. I will simplify my code so that the problem can be better understood.

I have a class of main.as at the root of the document. Here, I have a bb:bigBox property = new bigBox() and added to the root. I have also sb:smallBox = new smallBox() which is then added to bb. However small chest must store bigBox initial x, value y. Thus, these properties must be stored through the smallBox constructor. This is where I get the error: 1009.

Any help is appreciated. Thanks in advance

Edit: I tried to move around the code, placing the init() methods in the timeline panel, nothing seems to work. Why is something so simple that gives so much trouble. Can Macromedia/Adobe ever get this thing right? Finally after years of Flash programming, the language begins to look reasonable, now I'm stuck on the crease. I looked this problem all over the web and nobody seems to have a valid solution. What's Adobe up?

change the order of operations here, placing: sb = new smallBox(); following the line: bb = new bigBox();

You cannot add a child at bb, which does not yet exist. Then set the x / y position within the main class before adding to the list of display, rather than in the smallBox constructor, as in:

Tags: Adobe Animate

Similar Questions

  • has someone at - he found a solution to the search for global marker?

    has someone at - he found a solution to the search for global marker?

    the glaring omission of global search for markers - or exclusion of metadata to the project search function marker - is a big handicap for any project of long form doc.

    Is there a work around or maybe a plan to remedy this bizarre situation in an upgrade?

    big fan of the first, and even if there is plenty of downturns, it seems as if there is always planned if solutions non-existent

    Thank you!

    Hi Charliepus,

    Sorry about that. Create a feature here: http://adobe.ly/feature_request

    Thank you
    Kevin

  • Is there a solution to the error 2350.FDI on Photoshop elements download download?

    Anyone has a solution to the error download download 2350.FDI on Photoshop Elements 10?

    If you follow the 7 steps you can dl the trial directly: http://prodesigntools.com/photoshop-elements-10-direct-download-links-pse-premiere-pre.htm l

    Use your serial number to activate.

  • solution to the error message on canon 052 printhead is poorly installed

    can someone the solution for the 052 print head error message is incorrect installed correct print head

    http://forums.USA.Canon.com/T5/personal-printers/call-to-arms-for-the-dreaded-U052-wrong-printhead-E...

  • A solution to the error 201 in the installation of Creative Cloud Desktop

    I'll try to help you, with my poor English (I m improve this last), if you encounter the long trip to fix the 201 error during installation of Creative Cloud Desktop.

    I m talking about this error (screens in Portuguese), you will recognize:

    ScreenShot117.jpg

    I tried the solutions all proposals, including that of Adobe Foruns, amongst these:

    -Disable the windows, anti-virus firewall and both (look at the danger!)

    -Create special rules on firewall for several proposed solutions.

    -Turn off wi - fi and wired.

    -Unistalling all software (including Adobe Reader), remove the respective remaining files.

    -Create another windows user.

    - The 'AdobeCreativeCloudCleanerTool' running (despite having not worked, it seems interesting. It's here: https://helpx.adobe.com/br/creative-suite/kb/cs5-cleaner-tool-installation-problems.html)

    But nothing WORKS: error 201-50% of the installation.

    To make matters worse, I tried in my pc wife´s (whose configuration is minor my Vaio i5) and... IT WORKS in 1st attempt (windows 8.1, firewall and antivirus running, the same network. Ouch!).

    I've been on stage now, you think of: a) cancel the subscription. (b) format; (c) change of computer; (d) change of career and so on.

    I found the solution hours after lots (and lots) of reserch and attempts, here: http:// https://forums.adobe.com/thread/1847647.

    What I did, following the instructions was simply:

    (1) open the Photoshop Elements download page, here:

    http://https://helpx.Adobe.com/Photoshop-elements/KB/Photoshop-elements-downloads.html

    Do not download anything, just keep the page open. (Yes, it's just that read you!)

    (2) download the Office complete cloud creative, compressed in a zip file, here:

    http://http://trials2.Adobe.com/AdobeProducts/KCCC/1/Win32/ACCCx3_0_0_74.zip

    3-unzip the file and run the "Set - up.exe".

    Fact! It works! Already download all the applications I need full subscribe.

    I hope it works for you.

    Enjoy.

    Leandro Campos.

    of the Brazil

    (Sorry for my English)

    Hello Leandro,

    Please see the help document that below that explains the error Code 201:

    Download error, installation or update of Cloud Creative applications

    You can also see the thread below where this issue has been addressed:

    Error 201

    Error 201; CC constantly disconnected desktop application, will not download again

    Kind regards

    Sheena

  • Y at - it a solution for the error-1074118651 (exceeds the size of the memory)

    So, I finally built a list of switch that exceeds the size of the memory of the switch, and I get the error 1074118651. Is there maybe a way to disseminate the switches to avoid the memory limit?

    Hello! The error-1074118651 refers to the maximum number of bytes that can be sent to the memory of the PXI-2536. Connection and disconnection of a single relay will take 8 bytes, although there are other factors to consider such as topology and the routes that take more than one switch.

    There is not really a way to increase the size of the memory of the switch, or compress the size of the scan list. If you have a list of broad sweep, the best solution would be to it split into several lists of scan and run them both.

  • Where can I find the solution to the error of upgrade

    I have Microsoft Vista and have tried to download updates, but get code error ther "WindowsUpdate_0000064C" "WindowsUpdate_dt000"  Where can I find the solution for this error?

    ElizZ, try the following steps to repair your Windows Update agent:

    Click Start, type Notepad in the start search box, and then click Notepad in the list programs.

    Copy the following text, and then paste the text into Notepad:

    net stop wuauserv

    net stop bits

    net stop cryptsvc

    Ren %systemroot%\System32\Catroot2 Catroot2.old

    net start cryptsvc

    Ren %systemroot%\SoftwareDistribution SoftwareDistribution.old

    regsvr32 c:\windows\system32\wuapi.dll

    regsvr32 c:\windows\system32\wuaueng.dll

    regsvr32 c:\windows\system32\wucltux.dll

    regsvr32 wups2.dll

    regsvr32 c:\windows\system32\wups.dll

    regsvr32 c:\windows\system32\wuwebv.dll

    net start bits

    net start wuauserv

    net start Eventlog

    output

    Click file, click Save as, and then type Repair.bat

    In the file type box, click all files (*. *).

    In save in, click Desktop, and then click Save.

    On the file menu, click on exit.

    Right - click on the Repair.bat file that you saved, and then click Run as administrator. This action starts the required services. If you are prompted for an administrator password or a confirmation, type the password, or click on continue.

    Try again to install updates. If you install the updates, delete the file Repair.bat. To remove the file Repair.bat, right-click Repair.bat, click on remove and then click Yes.

    Rami
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • MS, what IS the solution for the ERROR CODE of 0 x 80240437?

    Looks to me like PERSON DON'T know what the solution to the problem is YET many people say online the fault lies with the last update from Ms.

    I just got a NEW laptop Gateway (NE56R41u) and it comes with bloatware to/from Windows 8.  The store said I need to 21 updates, yet all say that it cannot load due to this error code.
    So if nobody seems to have a solution, should I just sit and fiddle while Rome burns?  My solution is to delete everything that needs updates for and find one comparable application/software other than comparable MS/MS.  To see all the complaints and problems that have been created by the said error tells me that maybe there is no control of the quality at the top when it comes to release updates or solve the error in a timely customs codes.  Some of us have businesses where these codes are an obstacle, perhaps even bad, but no one knows what to do.
    If there is an answer, of course, I'm going to see/read the solution for it.  I'll even write back and say "Alright, it works now!
    I will say that States out constantly updates without checking and adding more noise to its 'small box only enlarges the problem... ".
    It is MY FIRST point in this place and I am disappointed... later, people!

    method 2 worked for me. Thank you very much! Very grateful!

  • preloading swf with document class and get the error #1009

    Hello

    I'm learning flash and uploaded a sample of adobe with its mix of channel.

    http://www.Adobe.com/devnet/ActionScript/samples/media_5.html

    Now, I'm learning to preload the swf.  I use an external script preloader which show the charge percentage, however, when I run it, I get the following error:

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

    to code.soundclasses::TrackChannel()

    at flash.display::Sprite/constructChildren()

    at flash.display::Sprite()

    at flash.display::MovieClip()

    code: Media5()

    The example of sound channel exports very well on its own, but in the preloader script, it gives the above error.  Here's my preloader script:

    import flash.display.Loader;

    to import flash.events.ProgressEvent;

    var l:Loader = new Loader();

    l.contentLoaderInfo.addEventListener (ProgressEvent.PROGRESS, loop);

    l.contentLoaderInfo.addEventListener (Event.COMPLETE, done);

    l.Load (new URLRequest ("content.swf"));

    function loop(e:ProgressEvent):void {}

    var perc:Number = e.bytesLoaded / e.bytesTotal;

    percent.text = Math.ceil(perc*100).toString ();

    }

    function done(e:Event):void {}

    removeChildAt (0);

    p = null;

    addChild (l);

    }

    Any help would be greatly appreciated.  Thank you!

    Click on publish files/settings/flash and check the box "enable debugging" in the main swf file.  Repeat the test.  the line of code (which is soundclasses) problem will be in the error message.

  • solution to the error code 646.

    kindly help with a solution for error code 646. I get the message each time updates KB878382 and KB978380 KB979895 failed for the last 4 days. Thank you

    Hello

    Try to disable UAC and then make below.

    Panel configuration-Classic view - user accounts - turn User Account Control Off

    How to turn User Account Control (UAC) on or off in Vista
    http://www.Vistax64.com/tutorials/48893-user-account-control-UAC.html

    THIS UTILITY MAKES IT EASY TO

    http://www.tweak-UAC.com/
    Tweak UAC utility - easily put UAC into Silent Mode or POWER

    ------------------------------------------------------

    After the foregoing:

    Try this 1st to see if it helps, and it should:

    Description of the Patch registration cleanup tool
    http://support.Microsoft.com/kb/976220/

    ------------------------------------------------------

    If necessary :

    Try this - control panel - Windows Updates - click on each update which will not - install the Important
    Updates or update itself - double click on one, and then click Show details (or click on it, then)
    Right-side view)

    Those who will take you to a page where you can download the update.

    Or go here and the KBxxxxxx number to download it.

    Download Center - mount the KBxxxxxx.

    Microsoft Download Center
    http://www.Microsoft.com/downloads/en/default.aspx

    Download - SAVE - go to where you put them - click on - RUN AS ADMIN

    Then you can right click on the update in the updates Windows and HIDE.

    If you get an error Installer install this version:

    Windows install 4.5 Redistributable
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=5A58B56F-60B6-4412-95B9-54D056D6F9F4&displaylang=en

    ----------------------------------------------------

    Then run this:

    How to reset the Windows Update components? -a Mr Fixit
    http://support.Microsoft.com/kb/971058

    Description of the system for Windows Vista, Windows Server 2008, update tool
    and for Windows 7
    http://support.Microsoft.com/kb/947821

    ------------------------------------------------------------
    Because these are all Office updates you might get more information if necessary in the Agency of those groups
    who might have experienced the same problem.

    Office newsgroups
    http://www.Microsoft.com/Office/Community/en-us/FlyoutOverview.mspx

    Microsoft.public.office.misc discussions
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Office.misc&cat=en_us_01cb749f-c998-4762-8099-df71793c11c7&lang=en&CR=us

    ------------------------------------------------------------

    If necessary you can incident free get reports however the above should take care of it for you.

    Windows updates - free Incident report

    Go here and click on-> Windows Update fails while searching, downloading or installation of updates
    http://support.Microsoft.com/GP/wusupport#tab3

    The security updates, you can get free support Incident report
    http://www.Microsoft.com/protect/resources/support.aspx

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Unconventional solution to the error "scanner failure".

    I followed HP troubleshooting documentation for the 'Failure of the Scanner' error I was getting which prevented me to make the impression of everything except Basic.

    The problem is well documented on the site of HP: http://support.hp.com/us-en/document/c00587971

    I tried all the solutions proposed without success. With my level of frustration running a little high, I thought a new printer would probably be necessary, so I tried the following. He was for me the scanning mechanism has been blocked. Here's how you might be able to fix it. It worked very well for me:

    1. Remove the paper tray, unplug the unit, remove the cartridges of printers.
    2. Put a towel folded over a solid counter or table.
    3. Standing on the end of the printer. I chose to orient the arm to scan on top. Might work anyway.
    4. Lift the printer and let it down pretty firmly on the towel, but not strong enough to break the glass bed or etc.

    I did three times without the towel on a table of pine and put some serious dents in the table to give you an idea of how hard I dropped it. If you saw do me it, you would have thought I was trying hard to break the unit.

    Plugging it back in, replace the inkjet ink and paper tray. Switch on the device. Bingo. Has worked like a charm, and, in this case, the alignment of ink jet seems to be better than ever ;^)

    Your mileage, etc. results may vary, no doubt. Has worked for me, that's all I can tell you.

    Hey,.

    I'm glad to hear that you were able to get your printer in operation.  I wish you good luck in all your future printing/scanning needs.

    For those who seek in this unconventional solution:

    • If your printer is under warranty, so I advise to call the HP Technical Support as a failure of scanner are covered by the manufacturer's warranty.  For information contact HP Technical Support, please click here.
    • If your printer's warranty, then this may be a possible solution.  However, with anything that requires the disassembly of a product, a product, or anything outside the intended use/troubleshooting the product please be careful and do so at your own risk.

    Good luck

    Jason

  • Solution to the error by-side?

    I have problems with Acrobat DC. On a new system of Windows 7 pro (just reinstall the OS on it), everything works fine, except that if I try to (or if idle for a minute or 2) PDF format, an error pops up saying Acrotray.exe "the application failed to start because its side.by.side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe for more details. "After reviewing your forums and other sites, it points to a package redistributive c ++ corrupted (and even followed the instructions on this site to get new packages). Now, I've uninstalled and reinstalled adobe, I uninstalled and reinstalled all the packages C++ from 2005 to 2010. In combinations of the two remove all installation acrobat first, then files c ++ and reinstall files c ++ first than adobe. In any case, this same error pops up. I must have installed adobe at least 10 times on this one machine last week, but no progress. It's the only machine that it happens, and yet once, it is a windows brand new 7 pro install, with only office 365 installed, nothing else. There are solutions to this in addition to the usual, "reinstall the c library ++", which, I repeat... does not work

    Please contact our staff of support directly by following this link: contact customer service

    or see this Acrobat DC help page: https://helpx.adobe.com/support.html#/product/acrobat-dc

  • I can't download my pictures from my camera or from disk. I get an error code. Someone knows how to fix this? The error code is 0 x 80010108

    I can't download my pictures from my camera or from disk.
    I get an error code. Ox80010108
    Any help? Enjoy

    Hello

    1 when you download the pictures?

    I suggest that you put the computer to boot and then try to upload the image, follow step 1 to set the computer to boot.

    How to troubleshoot a problem by performing a boot in Windows Vista or in Windows 7 http://support.Microsoft.com/kb/929135
    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

  • What is the solution for the error... rundll32.exe is not a valid win32 application

    Please tell me the steps to resolve this error. Thank you

    Hello
     
     
    1. have you made changes on the computer recently?

    Method 1.
    We forst launch a virus online scan. Sometimes the security program installed might not be fair enough. I also recommend you update your security software regularly.
     
    a. follow the link below to start the free online scan:
    http://OneCare.live.com/site/en-us/default.htm

    b. run the malware removal tool from Microsoft.
    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en


    Method 2.
    Check to see if the problem exists in Safe Mode, if the computer works as expected in mode without failure, then we can solve the problem in the clean boot state.
    a. refer to the article below for the procedure safe mode in Windows XP
    A description of the options to start in Windows XP Mode
    http://support.Microsoft.com/kb/315222

    b. you need to perform a clean boot to find the program that is causing and then disable or remove.
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353/en-us
    Note: When you are finished troubleshooting, follow the steps as explained in the article to reset the computer to start as usual.

     
    I hope this helps.
  • Can someone please tell me how to fix the error 1682 ' could not complete the installation

    I'm just trying to uninstall a game and then it gives me this error

    Have you tried Revo Uninstaller: http://www.revouninstaller.com/revo_uninstaller_free_download.html

    J W Stuart: http://www.pagestart.com

Maybe you are looking for