I don't even know if this is possible much less what to call it
I have no idea what to search 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 either the word "dog" or "dogs" or "puppy" or "puppies" etc is chosen, I want to display the same image of the dog which is an instantiated object of custom class Dict.
var dog:Dict = new Dict();
So I create my array:
SpellingGlobals.dictArray = ["dog", "dogs", "puppy", "puppies"];
If one of those words is chosen, it is the "key" to the object that has been instantiated.
dict["dog"] = dog;
dict["dogs"] = dog;
dict["puppy"] = dog;
dict["puppies"] = dog;
So
dictArray[2] = "puppy" and dict["puppy"] = dog, so dictArray[dict["puppy"]] = dog.
This all checks out. The problem comes when I want to actually add the object dog to the display list (basically, I want to display an image of a dog if "puppy" is chosen).
I tried instantiating another Dict object
var displayObj:Dict = new Dict();
and then assigning it to the list an displaying it.
displayObj = dict[dictArray[i]];
bmc.addChild(displayObj);
but it doesn't do anything. It doesn't throw an error, it just doesn't work. And trace ("dict[dictArray[i]]") gives me [object Dict] not the specific object.
Does that make sense?
Is what I'm trying to do even possible?
Yes! The class is Dict. dog is an extension of Dict. So is cat and flower and tree...etc. Each one is linked through actionscript to the Dict class into it's own custom class (dog, flower, cat, tree, etc).
The Dict class could not possibly be any simpler. It's just this:
package com.freerangeeggheads.spellwhiz {
import flash.display.MovieClip;
public class Dict extends MovieClip {
public function Dict(): void {
Dog is declared like this:
var dog:Dict = new Dict();
And this:
bmc.addChild(dog);
Doesn't work.
It's linked properly, I checked the little box next to the link in the properties menu.
Dog is just a movie clip with a picture inside it.
Similar Messages
-
1120 error, I don't even know how this is possible-
Lines that matter:
import flash.errors.IOError;
import flash.errors.IOErrorEvent;
import flash.net.URLLoader;
import flash.net.URLRequest;
var loader:URLLoader = new URLLoader();
loader.load(new URLRequest(fileUrl));
loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
fileUrl is, what do you know, a variable with the location of a (XML) file in it.
errorHandler… handles errors.
The point is that I get this:
1120: Access of undefined property IOErrorEvent.
IOErrorEvent isn't a property. IO_ERROR is a static method of IOErrorEvent, so I have no idea why I even get that error! What really confuses me is that these lines are from an application that does not display the error (came with a book).
Any help?
And yeah, I know the answer is obviously going to be something trivial, so sorry about how lame this question is.The error is basically saying that the compiler couldn't find a class definition for IOErrorEvent, so it doesn't know that you are referencing a class. For all that the compiler knows, it could be a property with capital first letter
-
Everything I have ever done on my iPhone 4 was downloaded and copied. EVERYTHING! ALL deleted Pictures, texts and emails that had ever gone through my phone were retrieved. My phone was hacked and everything taken. I was told there is a SIM card reader that can do this. I don't even know how I could retirenve this imformation when I don't even have a back-up. If anyone has had an experience like this please tell me. I am completely violated.
Hynix H2JTDG2MBR 128 Gb (16 GB) NAND flash-yellow
http://www.ifixit.com/Teardown/iPhone+5+Teardown/10525/2 -
I don't even know what to title this Topic except HELP!!!
Ok I will try and be as descriptive as possible.
Everyone is having similar problems, sorry for the repeat if this is a repeated event.
I just got a refurbished mini ipod (2nd generation) on ebay. It works on my old iMac fine, but I only use my mac at work and not a home. I have an Windows XP service pack 2 compaq labtop 76477-OEM-0011903-00101 (If that means anything). I have all the requirements. I have 2.0 USB ports. I have the latest iTunes. I could always figure out the problem with most things.
This bloody ipod doesn't want to work!!!! Before it couldn't find the ipod. And while I fittled with my computer and probably made it worse. It can see the ipod, but iTunes doesn't even know it's there. I tried it on my brother's computer. That had Windows XP etc, ect. AND I used a 1.1 USB port to load and it RECGONIZE IT PERFECTLY! I tried to load an old itunes. I did everything on apple.com about it. I don't even know if I should go on Windows site to get some info if my computer just doesn't like me.
I tried to put it on my boyfriend's computer, but now it's telling my the audio/song playback isn't working and I can't even add songs, play music on his computer. (And if anyone knows how to solve that issue that would be great!)
So please help because I really don't want to send this thing back.
Thank you for your help.
Message was edited by: ShmoolixWell start with these articles and see if that gets you anywhere...
iPod is not recognized properly by computer when USB drivers are not installed properly or are out of date
http://docs.info.apple.com/article.html?artnum=305136
iTunes for Windows: iTunes 7 doesn't recognize iPod
http://docs.info.apple.com/article.html?artnum=304434
iPod missing in "My Computer" or in iTunes for Windows
http://docs.info.apple.com/article.html?artnum=61711
Also you might try forcing the iPod into disk mode first, then connecting it to your computer and see if that makes it show up in iTunes...
Putting iPod into Disk Mode
http://docs.info.apple.com/article.html?artnum=93651
Windows confuses iPod with network drive or hard drive and may keep iPod from mounting or songs may seem to disappear
http://support.apple.com/kb/TS1493
Patrick -
I need help deleting songs from my Itunes library. When I follow the instructions it ends up asking me if I am sure I want to hide this song in iCloud!? I don't even know what iCloud is!!!
It's the online version of the song you are deleting from your library, if you hide it you won't see it any more.
-
How do I get this charge reversed, when I don't even know what it's for?
iTunes Match allows you to have all of your music (including what you've copied from CDs) in the cloud so that you can re-download it as/when needed on your various devices : http://support.apple.com/kb/PH2588
If you subcribed to it by mistake then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption -
I just got iphone 5c and i am not happy with it. It uses to much data and i don't even know how. I can't get the ringtones i want for my contacts.I got it on my free upgrade but i want to take it back and get something else but where i got it they say i can't because i don't have the earbuds and i have serches or them. now i am suck with a phone i don't like at all until my next upgrade. this is very dishearten
1. If you are this unhappy with that phone, and the lost earbuds is the only thing stopping you from taking it back, why do not just buy some earbuds. That way you can get rid of that phone. It all depend upon how much you want to get rid of that phone.
2. Yet if you are stuck with that iPhone, here is something might help you to control the data usage. By design, iPhones do turn off WiFi when they go dormant. So if a download is in progress and so forth when the phone goes dormant, it will switch to use cellular data, if this setting is left on. Therefore, from multi-sources I have learned that if you keep your iPhone connected to a power source, then it will stay connected to the available WiFi. -
my itunes won't install the new itunes. I keep getting error messages that seem to be linked to MobileMe service which I don't even know what it is.
Read this:
iTunes 11.1.4 for Windows - Unable to install or open - MSVCR80 issue -
Hi guys, i have bought a jalil break iphone 4 and i don't even know can't do the update, so anyone got idea to fix it up? thank you.
franciskhor wrote:
Hi guys, i have bought a jalil break iphone 4 ...
You will need to look elsewhere
Sorry... But...
The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
Unauthorized modification of iOS
http://support.apple.com/kb/HT3743 -
I get the following message every time I open my contacts on my iphone or iPad : "Password Incorrect. Enter the password for the Exchange account "Exchange"". If I enter my password, it does not accept it. I don't even know what this means.
http://support.apple.com/kb/ht1212
-
Hi, I'd like to set alarms or reminders on my I phone or I pad so that it can update or sync automatically with each other. I don't know if this is possible or how to do it. I hope you can help.
HI, if I did this, then I believe that I cloud would then hold my info which I don't want. Is that the case? The reason is that I'm an old git, therefore used to not giving out info. Would I be right?
Thank-You so much for taking the time to answer.
John. -
I'm trying to find out how to export my apple contacts to the Salesforce software and they need to be in a csv format and I don't know if this is possible and how to do it if it is?
I think there are third-party programs which will do that, but you can also do it with Automator:
See the links in my post, here: https://discussions.apple.com/message/22390873#22390873
The file or clipboard contents will be in Tab Separated vars, so you'll have to open with a spreadsheet program and save as Comma Separated Vars format. -
I just got an iPod touch 5g for Christmas and last night I was FaceTiming a family member and I noticed my speaker sounded a little wired, like it blew out which I don't even know how I did it! I never have it up full blast! Does the 1 year limited warrenty cover it?
If you are in the US you can see if there is a genius bar by going to http://www.apple.com/retail/geniusbar and then click on Make a Reservation at the top and you can search state, city and see how far they are from you.
-
My eight year old was on my iPad and bought $130 worth of apps. How do I get these reimbursed? I don't even know what they are????
See Recover your iTunes library from your iPod or iOS device.
While I agree that it would be nice if it was easier to transfer media from your Apple devices they should never be used as the sole location for any of your media. They are too easily lost, stolen, damaged, or corrupted. The user tip above also includes a link to a suggested library backup strategy so that you can avoid being in the same position in future.
tt2 -
I want be refund my money, i thought Rdio set up apple clients with their link, they charge me $14.99, for subscription I don't even know about it, because they said apsis free! Just sign with your apple ID.when I did they charge me the for subscription,I need refund I don't want and like Rdio.
https://discussions.apple.com/thread/4797968?tstart=0
No need to double-post.
Regards.
Maybe you are looking for
-
Issue in packing Weblogic portal domain
Hi Guys, I am trying to pack my domain from HOST A using command : pack -managed=true -domain=C:\Oracle\Middleware\user_projects\domains\Edlink -template=C:\Oracle\edlink.jar -log=c:\oracle\edlink.log -template_name="template_name" and wants to unpac
-
Problem with People/Person in Photoshop Organizer 11
I had this tag yesterday - now the places, events, other categories show, but the People one now has a little house tag - not the colored tag that the others do, and my persons are gone (they are still with the pictures, but I can't add or change the
-
Non-ASCII Characters Appear In Path Name
I've had this happen before over SSH via PuTTY on a Windows Host but now it's happening just in Linux. I'm testing out my first attempt at remastering the Arch Live CD and my home directory never got created while running rc.local, when I tried to ex
-
How do I get back the McAffe secure search box?
When the format changed to the new format, the secure search box was gone. I went back to the traditional format and it was there again. Now it is once more not on my screen.
-
N97 and Realplayer probelms + Maps loader
Hi Guys, I have done a very unproductive google search and come up none the wiser so hoping someone here can shed some light. I transfer video's to my N97 in mass media mode - I originally put them in sounds folder (copied all my itunes library there