I don't even know if that's possible much less what to call it

I don't know what to look for to see if this has already been answered because I don't know what this is called. Sorry!

I have a picture of a dog. If the word "dog" or "dogs" or "puppy" or "puppies" etc. is selected, I want to display the same image of the dog which is an object instantiated from a custom class Dict

Dog: var = new Dict Dict();

If I create my table:

SpellingGlobals.dictArray = ["dogs", "Puppy", "dog", "puppies"];

If one of these words is chosen, it is the "key" to the object that was instantiated.

dict ["dog"] = dog;
dict ["dogs"] = dog;
dict ['Puppy'] = dog;
dict ['puppies'] = dog;

Then


dictArray [2] = 'puppy' and dict ['Puppy'] = dog, so dictArray [dict ['Puppy']] = dog.

It withdrew. The problem comes when I want to actually add the dog of the object in the display list (basically, I want to display a picture of a dog if you choose "Puppy").

I tried another Dict object instantiation

var displayObj:Dict = new Dict();

and then put a poster in the list.

displayObj = dict [dictArray [i]];
bmc.addChild (displayObj);

but it does nothing. It doesn't throw an error, it just doesn't work. And trace ("dict [dictArray [i]]" "") I give [object Dict] not the specific object.


Who is?

Is what I'm trying to make even possible?

No, it will not be displayed in this way. Here, what should work:

var dogInstance:dog = new dog();

addChild (doginstance);

Note (this is VERY important) - objects can only have unique names, including classes. Thus, in the same variable scope dog dog and the class are incompatible.

I suggest that you name all the classes that you use with Upper case - it is a convention, and it is very convenient. Yes, in your case I advise you appoint linkage classes dog, tree, cat, etc.

If you don't have that you will be able to implement things as follows:

Dog: dog var = new Dog();

addChild (dog);

Tags: Adobe Animate

Similar Questions

  • my iphone 4S has been stolen.i can't find my iphone. I don't even know the imel code.so how do I find?

    My iphone 4S has been stolen.i can't find it in "Find my iphone". I don't even know the imel code.so how do I find?

    You can not.

  • don't even know if I have a microphone in my laptop

    I have a dell laptop with windows vista and I don't even know if I have a microphone inside. where can I check if my laptop has even a mic intalled in there?

    Go to the Dell site and search for this model of computer and see what comes with it.

  • Whenever I start my PC, I get a Windows program that is trying to install what is called a sound Module of Activation.

    Original title: Windows Sonic Activation Module.

    Whenever I start my PC, I get a Windows program that is trying to install what is called a sound Module of Activation. He asks I insert the disk and the only way I can get to go is repeatable keep hitting the choice to cancel again and again until it finally disappears. How can I get this feature to disconnect and stopped trying to load thios program I have ever heard of.

    http://en.community.Dell.com/support-forums/software-OS/f/3526/t/19342454.aspx

    This is if you have a Dell.

    Do you have?

  • A friend of my uncle gave him an iPhone 6s and also gave it to my brother because he is unable to use and there is an iCloud and Apple Id account that we don't even know the e-mail address and the password.  is it possible that we can use? :(

    The phone is iPhone 6 and I do not know his current version

    No possible way that you can use this email and password.

    You need to contact a friend of your uncle and ask him to remove this iPhone in the devices list. Otherwise, this iPhone will be a useless brick.

    Find my iPhone Activation Lock: a mechanism of extraction of the previous owner - Apple Support

  • Please, be it a while I worked with oracle, but I need to develop my self in PL/SQL. But I'm a challenge to navigate from SQL to the windows command prompt 'diary of the oracle@oel6 '. I often do that before Linux but I don't even know

    Please help

    Janet Oluwadunsin wrote:

    Thanks Steve, I appreciate your correction.

    I want to start the listener from the command prompt, I have connected successfully to sql plus, but I don't remember how I'll get my way to

    [oracle@oel6 journal] $

    at startup my interlocutor.

    I hope this helps

    And just to clarify my and other previous posts... you do NOT get to a command prompt and start your receiver from sqlplus.  sqlplus is a command-line that connects to a database and provides a user interface to the question of the sql to the database statements.  lsncrctl is another command line utility, used to send commands to the listener.  lsnrctl and sqlplus are two completely separate and distinct, all tools two started from the command line of the operating system, that have nothing to do with the other.  Neither one is a kind of 'gateway' to the other.

  • I thought that I was paying for a version of "trial" for a month, but they took about six months of payments and I don't even know for what?

    I was just look at a product and decided I'd do a trial version.  It will cost $68.00 for the month - I thought - but so far, they have taken the money for six months and I've never tried the product.  How can I stop this?

    The 30-day trial is free... you have purchased a subscription... Check https://www.adobe.com/account.html for subscriptions on your page from Adobe

    This is an open forum, not the Adobe support... You need Adobe support to cancel a subscription

    -Cancel http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html

    -or by phone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • I don't even know what to call this problem with Windows 7! Can someone please read and help?

    Hi all

    What is c?

    I have half a dozen problems with Windows 7 right now, but let's start with the most irritating.  Screens disappear and reappear.

    I'll open a window and then open another (at the same time) for a reason, and if I don't have my mouse entirely on whatever the window, it "disappears".  That is, it will become transparent with just sort of 'framework' around him.  The content is gone.  But they come back.  It makes the idea behind 'Windows' laughable.

    And try to block and the copy is a nightmare of one window to the other.  Or even on the same page.  I try to block something and move away, and the "block" disappears.

    I thought it might be my mouse, which is your ordinary Microsoft Optical Mouse 2V.0, I went to devices and printers and formatted my mouse (I've never done this before) and my Microsoft Keyboard and recorded.  Nothing wrong with the keyboard.  The mouse just kept screwing as it did before, and I used your basic standard settings - nothing fancy or different.

    Now I write in this little place and nothing is to move, the mouse behaves - what IS IT?

    I am getting this problem in Windows 7 because honestly, I have no idea where else to put it.

    And I have just started with the problems.  Can you please, please, please help?

    I can't help but think that all the problems are related, so I'll put one little summary of what else is happening.

    1 out of nowhere part, I got a notice saying that I had to change the settings to allow Windows update immediately and without my permission (I think that's what he said and I know that there is a setting in devices and printers? or something like that where I allow edits without review)

    2. I can't convince my printer there is NO residential group and that I am the administrator and the only person using the computer.  This screw with my settings (wired) network too.

    3. I have a four-in-one printer (print, copy, scan and fax).  I am at home lately and will be years apparently, so I decided that I wanted to get the printer scanner and fax.  He was already printing and copying.  I turned off, unplugged and did not know that I had to uninstall all software and then reinstall it.  I don't have the time to do it again; I want a clean computer before you set up the printer.  Well, it seems to create small problems in the world.  I keep getting directed to devices and printers, but I want to read all the information before I uninstall just in case.

    4 modules!  They are the bane of my existence.  I do not understand what they are doing when I go and look at them individually. I tried to use IE10 without addons and it's just a big headache.

    5 constantly getting a yellow banner at the bottom of my screen asking me if I want to run * some * and I wanted to know the risks involved.

    6. constantly asked about Active X.  What is it and what does want of me?

    7. all of a sudden an hour ago, my computer has decided to go to "sleep" mode and wants me to change user for myself and when I do, it says it is locked, but I hit the beautiful image and it opens on the regular Windows screen.  WHY?  I don't use a screen saver and I got 20 minutes sleep mode which is just the entire dark screen until I touch the mouse.  No more!

    Guys do you see why I'm going crazy?  Help, please!  I spend all my days this last week and one before that trying to move things.  All this because I wanted my printer to scan.

    ···
    I'll open a window and then open another (at the same time) for a reason, and if I don't have my mouse entirely on whatever the window, it "disappears".  That is, it will become transparent with just sort of 'framework' around him.  The content is gone.  But they come back.  It makes the idea behind 'Windows' laughable.

    ···

    Click Start or press the Windows key and type mouse but do not hit Enter. Search change how your mouse above control panel section.

    When this new pane opens, uncheck the Activate a window by hovering over it with the mouse. Click OK at the bottom to save your changes.

  • Can I recover the Favorites lost and passwords and all other memory browser information? I lost everything and I don't even know why and how.

    I don't know what happened, but I think that somehow mozilla crashed trying to open Skype (and Skype crashed too) and at the same time, I've lost everything I've ever saved in the browser; PWS, info, all the bookmarks, navigation everything. Is it the 'template' (the custom background) browser. Can you collect all this information? I tried to restore the bookmarks, but he says simply unable to do. Everything is ok and can be restored from, but bookmarks... It is really annoying because I got tons of them and all the important things, now it's all gone. Is anyway to at least recover bookmarks?

    It was very good work. Play well. Please report your
    https://support.Mozilla.org/en-us/questions/1040079#answer-674673
    post as solved so other will know.

  • Using the camera in the iOS (don't know if that's possible)

    I try to use the front facing camera on the iPhone 4, iPhone 5, iPod Touch 4 and iPod Touch 5. I don't know how to make it work, or if it is still possible!  I can get the same code to work in normal flash, so I don't know if it will work in any.  Please help if you can

    Its my understanding that Flash has no access to the device specific APIs as you would with the iOS SDK dev (main reason I'm writing is more "native" apps in AS3 more.)

    You can google Corona SDK (lua script).

    Easy to pick up if your coming of AS3 (or script knowledge) and they have an SDK for the iPhone (address book, contacts, etc.. not sure of the camera).

  • Button does not... and I don't even know why

    I have this frame 1:

    IMAGE NUMBER.

    slidenumber_txt. Text = currentFrame + "of" + totalFrames; Object (this).

    BUTTONVISBILITY / /.

    a_btn. Visible = true;

    b_btn. Visible = true;

    c_btn. Visible = true;

    d_btn. Visible = false;

    e_btn. Visible = false;

    f_btn. Visible = true;

    g_btn. Visible = true;

    i_btn. Visible = true;

    j_btn. Visible = true;

    k_btn. Visible = false;

    l_btn. Visible = false;

    h_btn1a. Visible = true;

    h_btn1a. SetStyle ("icon", iconh);

    h_btn1a.addEventListener (MouseEvent.ROLL_OVER, fh_btnro);

    function fh_btnro(e:MouseEvent):void {button_txt.text = 'Interacción' ;}

    h_btn1a.addEventListener (MouseEvent.ROLL_OUT, fbtnrout);

    h_btn1a.addEventListener (MouseEvent.CLICK, fbtnclickh1a);

    function fbtnclickh1a(e:MouseEvent):void {}

    var loadera = new Loader();

    addChild (loadera);

    loadera. Load (new URLRequest("lesson1/interactions/interaction1a.swf"));

    }

    function fbtnclicki(e:MouseEvent):void {}

    var loadera = new Loader();

    addChild (loadera);

    loadera. Load (new URLRequest("lesson1/documents/document1a.swf"));

    }

    function fbtnclickf(e:MouseEvent):void {}

    var loadera = new Loader();

    addChild (loadera);

    loadera. Load (new URLRequest("lesson1/sounds/audioplayer1a.swf"));

    }

    function fbtnclickj(e:MouseEvent):void {}

    var loadera = new Loader();

    addChild (loadera);

    loadera. Load (new URLRequest("lesson1/videos/video1a.swf"));

    }

    function fbtnclickk(e:MouseEvent):void {}

    var loadera = new Loader();

    addChild (loadera);

    loadera. Load (new URLRequest("lesson1/tests/test1a.swf"));

    }

    And this on frame 2:

    slidenumber_txt. Text = currentFrame + "of" + totalFrames;

    a_btn. Visible = true;

    b_btn. Visible = true;

    c_btn. Visible = true;

    d_btn. Visible = true;

    e_btn. Visible = true;

    f_btn. Visible = true;

    g_btn. Visible = true;

    i_btn. Visible = true;

    j_btn. Visible = false;

    k_btn. Visible = false;

    l_btn. Visible = false;

    h_btn1b. Visible = true;

    h_btn1b. SetStyle ("icon", iconh);

    h_btn1b.addEventListener (MouseEvent.ROLL_OVER, fh_btnro1b);

    function fh_btnro1b(e:MouseEvent):void {button_txt.text = 'Interacción' ;}

    h_btn1b.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    Object (this),.h_btn1b.addEventListener (MouseEvent.CLICK, fbtnclickh1b);

    function fbtnclickh1b(e:MouseEvent):void {}

    var loadera = new Loader();

    addChild (loadera);

    loadera. Load (new URLRequest("lesson1/interactions/interaction1b.swf"));

    }

    I also have this on another layer:

    import flash.events.MouseEvent;

    Import fl.transitions.Tween;

    Fl.transitions.easing import. *;

    Import fl.transitions.TweenEvent;

    Stop();

    STADIUM.

    stage.displayState = StageDisplayState.FULL_SCREEN;

    CUSTOM MENU.

    var custom_menu:ContextMenu = new ContextMenu();

    custom_menu.hideBuiltInItems ();

    option1 var = new ContextMenuItem ("© Copyright 2012 Jeje Designs all rights reserved");

    var option2 = new ContextMenuItem ("+ 1 787.272.5059: ") [email protected] "); "

    Option3 var = new ContextMenuItem ("project title: presentation system 1.0 Build 1 Release 1 |") 01032012 ");

    option4 var = new ContextMenuItem ("Devigner: Edwin Merced | ") [email protected] "); "

    Option5 var = new ContextMenuItem ("security access");

    Option5. Enabled = false;

    Option5.separatorBefore = true;

    custom_menu.customItems.push (option1 option2, option3, option4, option5);

    contextMenu = custom_menu;

    NAVIGATION.

    a_btn. SetStyle ("icon", icona);

    b_btn. SetStyle ("icon", iconb);

    c_btn. SetStyle ("icon", iconc);

    d_btn. SetStyle ("icon", icond);

    e_btn. SetStyle ("icon", icon);

    f_btn. SetStyle ("icon", iconf);

    g_btn. SetStyle ("icon", ihsane);

    i_btn. SetStyle ("icon", iconi);

    j_btn. SetStyle ("icon", iconi);

    k_btn. SetStyle ("icon", iconk);

    l_btn. SetStyle ("icon", iconl);

    a_btn.addEventListener (MouseEvent.ROLL_OVER, fa_btnro, false, 0, true);

    b_btn.addEventListener (MouseEvent.ROLL_OVER, fb_btnro, false, 0, true);

    c_btn.addEventListener (MouseEvent.ROLL_OVER, fc_btnro, false, 0, true);

    d_btn.addEventListener (MouseEvent.ROLL_OVER, fd_btnro, false, 0, true);

    e_btn.addEventListener (MouseEvent.ROLL_OVER, fe_btnro, false, 0, true);

    f_btn.addEventListener (MouseEvent.ROLL_OVER, ff_btnro, false, 0, true);

    g_btn.addEventListener (MouseEvent.ROLL_OVER, fg_btnro, false, 0, true);

    i_btn.addEventListener (MouseEvent.ROLL_OVER, fi_btnro, false, 0, true);

    j_btn.addEventListener (MouseEvent.ROLL_OVER, fj_btnro, false, 0, true);

    k_btn.addEventListener (MouseEvent.ROLL_OVER, fk_btnro, false, 0, true);

    l_btn.addEventListener (MouseEvent.ROLL_OVER, fl_btnro, false, 0, true);

    a_btn.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    b_btn.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    c_btn.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    d_btn.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    e_btn.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    f_btn.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    g_btn.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    i_btn.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    j_btn.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    k_btn.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    l_btn.addEventListener (MouseEvent.ROLL_OUT, fbtnrout, false, 0, true);

    a_btn.addEventListener (MouseEvent.CLICK, fbtnclicka, false, 0, true);

    b_btn.addEventListener (MouseEvent.CLICK, fbtnclickb, false, 0, true);

    c_btn.addEventListener (MouseEvent.CLICK, fbtnclickc, false, 0, true);

    d_btn.addEventListener (MouseEvent.CLICK, fbtnclickd, false, 0, true);

    e_btn.addEventListener (MouseEvent.CLICK, fbtnclicke, false, 0, true);

    f_btn.addEventListener (MouseEvent.CLICK, fbtnclickf, false, 0, true);

    g_btn.addEventListener (MouseEvent.CLICK, fbtnclickg, false, 0, true);

    i_btn.addEventListener (MouseEvent.CLICK, fbtnclicki, false, 0, true);

    j_btn.addEventListener (MouseEvent.CLICK, fbtnclickj, false, 0, true);

    k_btn.addEventListener (MouseEvent.CLICK, fbtnclickk, false, 0, true);

    l_btn.addEventListener (MouseEvent.CLICK, fbtnclickl, false, 0, true);

    function fa_btnro(e:MouseEvent):void {button_txt.text = 'Salida' ;}

    function fb_btnro(e:MouseEvent):void {button_txt.text = 'Final' ;}

    function fc_btnro(e:MouseEvent):void {button_txt.text = "Siguiente" ;}

    function fd_btnro(e:MouseEvent):void {button_txt.text = "Previous" ;}

    function fe_btnro(e:MouseEvent):void {button_txt.text = 'Inicio' ;}

    function ff_btnro(e:MouseEvent):void {button_txt.text = "Audio" ;}

    function fg_btnro(e:MouseEvent):void {button_txt.text = 'Glosario' ;}

    function fi_btnro(e:MouseEvent):void {button_txt.text = "Lectura" ;}

    function fj_btnro(e:MouseEvent):void {button_txt.text = 'Vidéo' ;}

    function fk_btnro(e:MouseEvent):void {button_txt.text = "Prueba" ;}

    function fl_btnro(e:MouseEvent):void {button_txt.text = 'Button L' ;}

    function fbtnrout(e:MouseEvent):void {button_txt.text = "" ;}

    function fbtnclicka(e:MouseEvent):void {var mc:lessonexit_mc = new lessonexit_mc();}

    MC.x = 479;

    MC.y = 290;

    addChild (mc) ;}

    function fbtnclickb(e:MouseEvent):void {gotoAndStop ("lastframe") ;}

    function fbtnclickc (e:MouseEvent):void{nextFrame() ;}

    function fbtnclickd (e:MouseEvent):void{prevFrame() ;}

    function fbtnclicke(e:MouseEvent):void {gotoAndStop ("firstframe") ;}

    / * function fbtnclickf(e:MouseEvent):void {var mc:audioplayer_mc = new audioplayer_mc();}

    MC.x = 751;

    MC.y = 141;

    addChild (mc) ;} */

    function fbtnclickg(e:MouseEvent):void {}

    var loadera = new Loader();

    addChild (loadera);

    loadera. Load (new URLRequest("glossary/glossary.swf"));

    }

    function fbtnclickh(e:MouseEvent):void {}

    / * function fbtnclicki(e:MouseEvent):void {button_txt.text = 'I' ;} * /}

    / * function fbtnclickj(e:MouseEvent):void {button_txt.text = 'J' ;} * /}

    / * function fbtnclickk(e:MouseEvent):void {button_txt.text = 'K' ;} * /}

    function fbtnclickl(e:MouseEvent):void {button_txt.text = 'L' ;}

    H_btn1b button does not... I wonder why?

    First of all, try to put b on another layer and see if that fixes it.

  • I use 37 GB of my memory to documents on my Iphone. I don't know what it is or how even know what it is

    I use 37 GB of my memory to documents on my Iphone. I don't know what it is or how even know what it is

    There are several ways that you can potentially solve this problem. Restore the phone via iTunes would probably be easier, use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support

    This article will show you how to restore through iTunes.

    How to back up your device using iCloud or iTunes - Apple Support

    I would use the link above to save your phone before you restore it so that you don't lose all your data and then restore the backup to the phone to see if the space is always taken to the top.

    I hope this helps.

  • When I create a new e-mail, a strange e-mail address 'minbox' appears in my line 'from '. I don't know even know what minbox is. How can I get this to go away?

    When I create a new e-mail, a mysterious "minbox" email address appears in my line 'from '. I don't know even know what minbox is. How can I get rid of this?

    Check if you have Minbox in your applications. If so, you can uninstall it by drag - move to the trash it in your Applications folder.

  • If I open a tab that has a vine file, Firefox crashes. I don't even have to click on the vine-just that it is part of tha page will crash Firefox

    If I fall on a vine someone has posted to twitter, or go to a Web page where someone posted a vineyard, Firefox will crash. I don't even have to click on the 'play' button-Firefox will crash. How to use FF to block the vine to load even on my pc?

    It's strange, it's hard to imagine a good reason for it.

    I see you have Blocksite. Have you tried this model:

    http://*.vine.co
    

    Edit: You may also need:

    https://*.vine.co
    

    When Firefox crashes, it generally records information about what was happening at that time. You can submit these data to Mozilla and share with the volunteers of the forum to see if it points to the solution. Please read the support article "Firefox blocks - troubleshoot to prevent and help in establishing accidents" (especially the last section) to get the how to get these IDs crash and then after the most recent here.

    If you get the Mozilla Crash Reporter and rather get a Windows dialog box, maybe videos are somehow triggering an incompatibility with the driver for your graphics card. To work around the problem, you can try to disable the use of Firefox hardware acceleration of graphics.

    the button Firefox orange (or the Tools menu) > Options > advanced

    In the mini ' General' tab, uncheck the box for "use hardware acceleration when available.

    Which comes into effect after you quit and then restart Firefox.

  • When I try to import bookmarks from XP, I get a message that Firefox has stopped working. I'm not very computer literate so I don't really know what to do

    I want to install Firefox on my desktop. When I try to import my favorites from windows XP Internet Explorer 7, I get a message that says Firefox no longer works. I have limited computer experience, so I don't really know how to approach this problem. I tried the suggestions of help page, IE, reboot with the modules disabled without success. Please help an older person! I used Foxfire successfully on another machine. Thanks Jim

    If you have problems with importing IE bookmarks in Firefox, then export favorites in Internet Explorer to a HTML file and import this file in the Firefox Bookmarks Manager.

    Like that you also preserve any sort you did in Internet Explorer with favorites.

    • Export Favorites in Internet Explorer to a file (bookmarks.html) HTML: file > import and export
    • Import the HTML file in Firefox: bookmarks > show all bookmarks > import and backup > import HTML: from a file

    See also:

    There are other things that need your attention.

    Your above posted the details of the system tampon() obsolete show with known risks to stability and security that you should update.

    Update the Flash plugin to the latest version.

Maybe you are looking for

  • How to downgrade to v31.0?

    RoboForm tells me that I can not load their toolbar in V32.0 and go down to v31.0 how/where can I find the v31.0 to download?

  • no alt + f4

    Hello Just my l.edge (a small, 13 "). And immediately, I found that I can not close windows using FN + F4. Other FX keys work but not this one. This isn't a hw problem; FN + F4 opens some dialog boxes but does not do what is expected - close the wind

  • Can't hear the sound in my headset?

    When I plug my headset it warns me that I plugged a device into the audio jack, but it does not recognize their peripheral slot of reading. I did a quick search on google and came back a lot of results that said I might have accidentally uninstalled

  • Windows 8, taking a lot of time at the stop

    Hello I use Windows 8 in my laptop Sony vaio SVE15136, it takes a long time to stop. Please help me solve this problem

  • Pixi used to sync contacts or calendar with Exchange

    I have a pixi and configure Exchange synchronization.  Email is works very well, but no contact or synchronization of calendar occurs.   I tried to delete the account and add in contacts, it did not work.  Tried the same thing using the calendar acco