Get a picture of a multi-dimentional array in a function
Don't know how to explain it, but here, first of all, I can't go beyond. Also had this problem with anything else I've tried.
ReferenceError: Error #1056: Cannot create property 0 on Number.
I googled and found on about automatically declare instances of point, which was very good, I had the box checked.
Basically, he is unable to even the simplest. I have this function:
function getInfoOf(i) { // enemy count, info count var _info:Array = new Array(3, 6); // 0 is you _info[0,Const.MAXHP] = 500; _info[0,Const.CURRENTHP] = 500; _info[0,Const.LEVEL] = 5; _info[0,Const.EXP] = 5500; _info[0,Const.NAME] = "You"; _info[0,Const.LINKEDMC] = "NONE"; // then a few more _info's. }
Then I didn't try everything in their power to operate, it stripped so no return. In the code, in the init() of the project part (called once only), so getInfoOf (0) and tried all the other numbers. I get this error and cannot for the life of me find out what's wrong (I also tested the 'Const'. they are integers, and I tested using numbers instead of those.) Still the same error, it only disappears I does not call the function at all.
Any help would be greatly appreciated.
Thank you.
Post edited by: brokenhope The table is actually (3.6), which has messed up.
Once again, to access an array element (for example, the last), use:
_info [2], [5] = "whatever";
NOT
info[0,5] = 0;
Tags: Adobe Animate
Similar Questions
-
I have 50 GB of iCloud and my computer is full because of photo storage problems. How can I get these pictures in my icloud? I checked all my settings. Everything is as it should be. I feel as if I had downloaded originals or something. I don't know how to understand it. I Googled, I tried to get on my computer. Emptied my Recycle Bin and my download folder. I know I must be missing something.
We need to switch to "Optimize the storage of Mac", see it - http://www.imore.com/how-save-space-optimized-storage-and-icloud-photo-library
-
Huawei P9 - I have many issues with getting my pictures from the phone to my Imac
Huawei P9 - I have many issues with getting my pictures from the phone to iphoto on my Mac.
Before the summer I bought a Huawei P9 phone, I can easily see the photos on the phone - I can't just them on my mac. When I connect via a USB cable, it refuses my permissions.
I try to use my Google account to view on the Mac and move the iPhoto - I can't work either! I can see them, I can't move them!
I'm pulling my hair out and I have enough to do with! Help, please...
Jim Hosking
You need the phone provider support - there is a problem with the way their phone works and how to use it and has nothing to do with the Photos or iPhoto - if pictures is consistent with standards of good Photos and iPhoto won't work with it
You may need special third party software for your phone load in Photos or iPhoto
LN
-
Right click and I get a picture of the entire window (tabs above, the entire site). In the upper right corner of this photo (photo is inside this menu after right-clicking straight or suggestions) I have my standard menu. When I try to point sth (on the menu) it starts flashing (picture, menu, picture...). It drives me crazy. I even tried system reinstall and it happens again.
I'm working on laptop. It is not a beast but not some junk too.
Any ideas?
P.S, English is not my first language so I tried to make everything as clear as possible. If sth does not know just let me know.
P.s2 I could use some of the built in dictionary to avoid misspellings, but I can't.
Hello montone, maybe it's a problem with hardware acceleration - try updating your graphic driver, or in case this does not solve the problem, or there is no new version available at the time, disable hardware acceleration in firefox > options > advanced > General.
-
I can't get my pictures to download to my iPhone 6 s on my MacBook Air, even when they are connected by cable.
What happens when you try? Import window is empty in Photos for Mac, or if your iPhone is not recognized?
If import window is empty or does not display do not all the pictures, you probably have iCloud activated on your iPhone photo library. Then you can't import photos from your iPhone, because they are stored in iCloud and only mirrored on your device. In this case to upload photos to your Mac using iCloud. You can download the photos from iCloud by using the Web page at www.icloud.com and the Photos.app it.
What are your settings for iCloud on your iPhone?
-
How can I get my pictures from my Bloggie TS10 on a flash drive or a memory stick?
How can I get my pictures from my Bloggie TS10 on a flash drive or a memory stick
-
How to turn the camera off when I get the picture?
How to turn the camera off when I get the picture?
How to turn the camera off when I get the photo I do my iphone 6 mute and when I get the picture give sound
Some countries do not allow phones take pictures of silent. iPhones sold in these countries do not allow the sound picture to shut up.
-
Hello!!! If I get a picture from an iPad to my macbook air, where I can find in my macbook? where he is saved? Thank you
There are a number of different ways an iPad would send a photo to your MacBook - email iMessage, AirDrop--and who would determine where it is saved. How it was sent?
-
After that I closed the lid on my laptop, when I reopen it, I have to keep moving the lid until I can get a picture. What could be the problem and how to fix?
Hello
Looks like a loose connector or a short circuit in the video cable. Check with a real
store computer (one that works on computers cell phones internal ASUStek) or ASUStek
Support, their documentation and online in their forums.Not a maintainable question by the user.
ASUStek support
http://support.ASUS.com/ASUStek Forums
http://VIP.ASUS.com/forum/default.aspx?SLanguage=en-usASUStek drivers
http://support.ASUS.com/download/download.aspx?SLanguage=en-usI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
I connected my computer to a new projector with a DVI and HDMI cable, and return the currency I installed correctly but I don't get a picture of the projector, need HELP.
Hi Bill,
Thanks for asking this question to Microsoft Community.
I will definitely help you to set up the projector, but before starting, I would ask you some troubleshooting questions.
What version of the Windows operating system is installed on the computer? Do you get any error messages? Have you done a recent software or changes to the material on the computer?
Here is a link that provides information on connecting to a projector. Go through it and check if it helps.
Hope this information is useful and provide us with more information for further assistance. We will be happy to help you.
-
Hi, how can I get a picture of 492kb to be just 100 KB? Q thanks
Hi, how can I get a picture of 492kb to be just 100 KB? Q thanks
An image, such as Irfanview program, allows to change the quality/resolution.
-
When I try google search an item all I get is pictures and I'm not directed to web pages
When I try google search an item all I get is pictures and I'm not directed to web pages
The obvious question, are sure you that you are on google web search and no image search?
-
original title: help!
I downloaded a program to watch on my Media Player and when I press on play I have sound but no picture, only models. How can I get the picture?
What is the format of the video file?
If the extension is. AVI... no guarantee... but maybe
you need the XviD Codec.(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)XviD Codec
http://www.xvidmovies.com/codec/ -
How can I get a picture back as wallpaper and save it in my photo folder
I put a picture for my wallpaper and when I replaced it with another photo that I cannot get the picture that has been replaced. where do the replaced picture
go. I checked the trash, but it isn't here.
Hi garifalo,.
· Where do you set the image as the background?
· Save the image to the computer?
If the image has been directly set as background on the Internet then the file may not be not available, because it would have been stored in the temporary location (Temp).
If this is not the case, try searching on the computer. You can search for *. JPEG files and see if we can find it.
-
Tried to connect my laptop vaio to my home theatre with a HDMI cable to run the windows media player music I get beautiful picture but no sound through home theater just the laptop itself... How do I get sound through home theater too? It is model # SVE151190X
Hi woodsman0692,
To get sound from the HDMI, please activate in sound property. To do this, press Windows + Q. That will raise to SEARCH and type in the PANEL. When Control Panel opens, select SOUND. When sound property is displayed, right click on AVAMP and on the left, click on SET AS DEFAULT(pic below). This noise turn sound via HDMI / av receiver system.
(with plugged hdmi cable)
(without the hdmi cable connected)
Nick-
Maybe you are looking for
-
My goal is to create a graph of waveform with the following criteria. Click/double click on the chart to draw the cursor at the nearest location.Draw a rectangle to zoom.Indicate a way to zoom out. With the code below, I can double click to draw the
-
Aspire V5 431P F2 is not BIOS and does not start
Hello I made a change in the BIOS to trying to boot a linux live cd (off start secure and changed inheritance) and the system does more boot windows. I am not surprised by this, but I can't enter the BIOS put right my changes. The screen "Press F2" i
-
Keyboard only works in the administrator account.
Original title: on my administrator account, keyboard works fine, when I go on a standard account on my computer, I can connect with the password, and then the keyboard does not work?
-
Administrator account has limited privileges
original title: administrator account My Windows Vista user account is listed as type of administration. However, a few changes to the program are not allowed. Why and how can I obtain the unrestricted privileges.
-
I have two IPS 4240 s that can be placed between our internal network and our extranet firewall. The game of firewall is your pair of standard assets/ASA-5520 switch connected to both switches. Q1 - if I'm not worried about atomic attacks, is there a