Stated purpose "not defined" when I use the same line to refer to the Interior of a function

On the painting scene, I have a hierarchy of objects of the library objectGrandFather contains objectFather, which contains objectSon that contains objectGrandson. Now, on the first frame of the timeline of the son object I have the following code that successfully refers to objectGrandson:

this.objectGrandson.visible = false;

But, when I try to insert that very same line of code in a function within the same framework and call this function as follows:

refer_to_objectGrandson() {
  this.objectGrandson.visible = false;
}
objectGrandson(); 


I get an error of undefined object. What I am doing wrong, please?

I can barely tell what you do because the code you post is obviously not the same as the code you are testing. It works:

this.refer_to_objectGrandson = function() {
    this.objectGrandson.visible = false;
}
this.refer_to_objectGrandson();

Tags: Adobe Animate

Similar Questions

  • Acer toggle display does not display when you use the Fn + F5 key secret on my Acer Aspire 5560

    What it does:

    When you use the Fn + F5 key combination on my Acer Aspire 5560, it brings up a screen changes on the laptop screen for the selection of an external monitor, I am currently using Windows 7 Ulitmate

    Before the problem:

    Display mode switch Acer existed prior to the upgrades of the drivers

    The problem:

    The toggle screen Acer does not display when you use the Fn + F5 key secret on my Acer Aspire 5560?

    Additon Information needed to solve the problem or any other information:

    I would like to know what driver or software operates the Acer toggle display Mode?

    Also where can I find this driver for computer: Acer Aspire 5560 to bring this Acer toggle display Mode function?

    Acer Toggle display Mode: this is a picture of it when you use the Fn + F5 combination:

    Thank you very much Ironfly Ace, it has worked Acer hero of the day

  • Foreground color does not change when I use the color picker.  CS6.

    Foreground color does not change when I use the color picker.  CS6.

    Your document is in grayscale, convert color (Image > Mode).

  • SpeedGrade CC14 does not open when you use the "Direct Link to Adobe SpeedGrade... "of PremierePro CC14.

    SpeedGrade CC14 does not open when you use the "Direct Link to Adobe SpeedGrade... "of PremierePro CC14.

    I can open the SG of start menu/desktop computer and I can open the PP project in SG very well. The PP project contains 3 deadlines and I take one I want without any problem. Returning to the SG PP works fine as well. It seems only thing doesn't work does not automatically open the PP file and selecting the correct timeline in the Official Journal of the project.

    I had a glance at the "C:\Users\john Bishop images\AppData\Roaming\Adobe\SpeedGrade\8.0\logs\SpeedGrade.log ' but it is not updated when I try to use the link Direct from PP. command It updated when I invoke the start menu/desktop computer SG. Note that none of the other newspaper, the files are updated either (Plugin Loading.log, Database.txt Trace and Debug Database.txt). All these get updated when I run the desktop/start. It would appear that SG is not yet known.

    I uninstalled the SG and the PP and re-installed (all in the directories by default) and everything seemed to go OK but no change.

    I also added 2 political profile the NVIDIA Control Panel, just display a message when loading SpeedGrade.exe and another for a slightly different message when loading SpeedGradeCmd.exe. SG invoking the desktop/start causes the SpeedGrade.exe message to display. Using the 'Direct link' PP file option does not display anything, reinforcing my thought that SG is just never called from PP.

    SP1 Windows 7 Professional 64 bit

    12 GB OF RAM

    2-Intel Xeon E5640 (16 sons) processors

    NVIDIA GeForce GTX580 1536 MB memory graphics

    PS... I used the Adobe cleaning tool noted elsewhere and tried NVIDIA workarounds as well - all to nothing does not.

    Problem solved!

    My Antivirus software was in the way. Once I have updated, things work fine.

    Thanks for your help!

  • Adobe lightroom does not update when I use the application manager to download upgrades.

    Hello

    I have problems with adobe lightroom.  It is not updated when I use the application manager to download the new updates.  I tried to uninstall the application and re-download it, however the application manager will not allow that to happen because it shows that it is already installed and up to date. I think that the problem may have started when I installed lightroom using a link which you offered when creative cloud first started offering of lightroom.  This version of the program does not appear to work with the application manager.  Please let me know what I should do to fix the problem.

    Best regards

    S

    Hello

    Please, try to remove Adobe Extension manager and install again. The reinstallation of the extensions Manager try to day light the room.

    If it does not resolve that question please make a complete own using adobe cleaner tool and reinstall everything.

    Thank you

    Kapil Malik

  • Firefox does not open with the tabs I had open when I use the renunciation and backup function. Firefox opens on my home page only. How to fix?

    When I use the function "Save and exit" has no effect. The next time I open Firefox it goes to my home page only.

    This has happened

    Each time Firefox opened

    Is 3 days ago

    If you use delete navigation, search and download history on Firefox in Firefox 3.5/6, or clear private data in Firefox 3 to clear the browsing history when Firefox is closed then in restaurant tabs at the last session (for example "save and exit" or "show my windows and tabs from last time ') does not work.

  • dialog box of LabVIEW poping not upward when you use the test bench

    Hello

    When you run a sequence of test, test calls to the top a labview VI which took there properties defined in a dialog box, and although it is not his position, he sometimes appears behind the screen before test (if minimize you the test screen, you can see the box). If I close all the programs National instruments then re-run the test sequence dialog box will appear before the screen test, but this only seems to happen once.

    Can someone help with this problem?

    Thank you

    Chris

    It seems that you do not use the functions of start modal dialog/end modal dialog located on the TestStand palette. Add them to the end very beginner and even your VI and it should work as you want.

  • domain not available when connecting, using the domain removed pc

    I was good on a pc running XP Pro, sp2. Having a login screen that won't give me the option of resetting passwords (after entering a guess) and told me that the domain is not available. It doesn't have an administrator listed in the drop down menu to the user. I tried to use a reset disk at startup, which said that it defined my Admin password. However, I keep getting 'no domain' error when I try to use it. I typed in 'Administrator' to connect and used the given password, but always get the same answer «no available domain» I don't have access to the domain (pc comes from a medical office, which has since closed).

    Hi AdgChandler,
     
    Here is a link that might be useful for:
     
    I would recommend you to contact the owner of the computer to get the password reset.
     
    Note: Microsoft technical support engineers cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features. For more information about this policy, please refer to the post-it note:
  • Localhost not found when you use the export to Youtube

    I can't use the youtube option in the tab publish in export. Screenshots show the problem.

    10.10.2 Mac

    First 2014.2

    Screen Shot 2015-05-03 at 1.53.15 PM.png

    Screen Shot 2015-05-03 at 1.53.24 PM.png

    Screen Shot 2015-05-03 at 1.57.13 PM.png

    So, since I don't have a lot of help, I decided to study a little further and it turns out that this is a matter of Media Encoder and not first. The YouTube, Vimeo, etc. parameters are defined for the Media Encoder. I open open a threat in this software.

    Publish on YouTube and Vimeo | Tutorials from Adobe Media Encoder

    New thread

    Localhost error when you try to publish using Youtube or Vimeo

  • Symbol does not appear when I use the hotkeys on Satellite L25

    Hello
    I have a Satellite L25. I have a little problem. Before when I used a few hotkeys (such as Fn + Esc) there was a sign on the screen (for example, that there was a cross sign of the sound or it was a volume). Now these signs do not appear, but access keys still work.
    Is that everyone knows what it takes to make such signs appear?
    Thank you very much

    Hello

    Not easy to say why it is not.
    Maybe there is something wrong in the registry, but in my opinion this isn't a serious problem.
    All functions work correctly and in my opinion, you should not be angry about this.
    But if you want, you can refresh the driver. Maybe it helps.

    This unit was designed for the American market. In this case, you should check the site Web of Toshiba us for the necessary driver.
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/Su/su_sc_home.jsp

  • Why my screen freezes not periodically when you use the PC

    When using my Windows XP PC, the screen will freeze for several seconds or more.  Have to wait what he 'release' before continuing the work on the screen.  This just started happening in the last two months.  I have not changed the computer at all.

    Hello SarahCase,

    Often, we see crashes as a result of a program from loading at startup.

    To solve these, we use the clean boot troubleshooting.

    The following describes this process:

    http://support.Microsoft.com/kb/310353

    http://support.Microsoft.com/kb/316434

    Best regards

    Matthew_Ha

  • The function does not properly when you use the shortcut to insert

    Hello everyone. I am using first Pro CC V9.2 on a PC.  I am as well as a Lynda tutorial and told me quite clearly that using the comma key insert a subclip in my sequence.  However, using the shortcut brings in the full clip, not the sub.  I just bring my subclip using a drag and drop, which is really slow me down.  Anyone know what this could be?

    When you perform your subelements, you Restrict toppings to the limits of a verified subitem?

    MtD

  • Flash does not load when you use the standard account in Windows 7

    I use the latest version of Flash on IE9 RC and on some sites, while that connected to Windows 7 (64-bit) as a standard user, does not Flash, but if I go to my Windows 7 Administrator account and go to the very site where the content Flash won't load, it does not load.

    It's Fancast.com on IE9 RC connected with my standard account of Windows 7:

    http://img695.imageshack.us/i/20110224093054.jpg/

    It's Fancast.com on IE9 RC connected with my Windows 7 admin account:

    http://img403.imageshack.us/i/20110224093021.jpg/

    I tried to uninstall and reinstall Flash and disabling hardware acceleration, but nothing happens.

    Flash sites like YouTube videos, no matter which account I'm connected to.

    Also, when I go to NESN.com on IE9 RC in standard mode, content Flash does not load: http://img684.imageshack.us/i/20110224092957.jpg/

    It started happening yesterday when I upgraded to Windows 7 (64-bit) SP1. I don't know if that has anything to do with it, but it was the last major change made to my system.

    Post edited by: A340-600 - Edit to add correct link.

    It's a matter of current Flash, here is your answer

    http://forums.Adobe.com/thread/729200?TSTART=0

  • Keyboard not working not properly when you use the Internet (32-bit vista)

    Whenever you use the Internet, keyboard keeps freezing upwards, types of all other letters or type any. Works totally fine when you type off the Internet. Issue of DEF. No material. Looks like that is that some Web sites (facebook is really bad, for example, the forum of the site as well - still holding type this message upward!). Maybe some code that inteferes? very frustrating.  any comment is appreciated.

    Look here:

    a few things to check, possibly more,

    reduce the sensitivity of your touchpad
    Check frequently for updates on the keyboard driver,
    and type faster, the cursor allows a few seconds before it locks in, then move it out of the way...

  • Why the link to this document does not even when I use the latest version of Acrobat Reader DC?

    I installed the latest version of Adobe Reader DC on my laptop Windows 8, but I can't always open the file from the link below. I asked my colleagues to try on other machines at work and at home, and in almost all cases, the link opens. Are there settings that I can change to fix this?

    http://EASA.europa.EU/system/files/DFU/fo.IORS_.00044%20Technical%20Occurrence%20Report.PD f

    The link is located on the following Web page, it's the link at the top ('related technical incident form') the area of downloads (top RIGHT).

    Marie-Hélène - internal accident report system | EASA

    Thank you

    Google Chrome uses its own PDF Viewer. If you want or need to use the Adobe Reader plugin, you will need to use another browser.

Maybe you are looking for