question about multidimensional array

Hello

I'm trying to figure out how to generate a table whose elements are each tables to make a database of fast loading of all kinds.

the main table essentially would be something like "employees" while each employee would have given demographics such as age, sex, salary, etc.

In some cases, information on certain employees would be superior to others, and options created by 'push' would involve the number of

elements in each employee table would be variable up to this that generated.

I noticed multidimensional array Setup

table = new array (new array("A","B"), new array("C","D"));

and accessible using the

table [n] [m]

But I feel that this type of table as it is currently described does lend itself well to adding new elements in the way I described.

My goal is once the employee information has been entered and saved, I can call their table as aEmployee number information [2], and if the employee of the 2 name is Bob, then name of Bob appears in the text field, as well as all the other fields associated with Bob Bay, for example, be a man 42 and living in Witchita Kansas.

"I change a multidimensional array, or what I want a table in a table, and is it possible to add a" matrices "as elements?

you have a misunderstanding of basic objects. and your enterframe loop should be deleted.  What purpose do you think it is?

the name of your object (like shelley) is irrelevant.  you will never use the name of the object, because they are all missing stored in and you're going to refer to them by index number in one.

If you want to retrieve the data associated with a person with shelley namaewu, use the following:

function findPerson(namaewuS:String):Object {}

for (var i = 0; i)<>

{if(aPerson[i].namaewu==namaewuS)}

missing return [i];

}

}

}

Look at the code I gave in my previous message.

Tags: Adobe Animate

Similar Questions

  • How can I control mouse click event (properly) in a multidimensional array?

    Hi all!

    I have a question about the use of the events of mouse clicks in a multidimensional array (or a '2D' table that we refer to them in Java and C++).

    Background

    I have an array of objects of each with a corresponding mouse click event. Each object is stored in a place between [0] [0] and [5] [8] (so a 9 x 6 grid) and has the specific column and thus associated line number (i.e. tile [2] [4] has a 2 line number and a column 4 number, even if it's on the third row, fifth column). With each click of mouse, the tile that is selected is stored in a temporary table. Table is disabled if a tile is clicked that is not a value line or column equal to, less than or more 1 with the currently targeted tile (i.e. clicking tile [1] [1] clears the table is there are no stored tiles bearing the number of row/column)

    [0] [0] [0] [1] [0] [2],

    [1] [0], [1] [1], [1] [2],

    [2] [0] [2] [1], [2] [2]

    (or any column/line contiguous with another tile stored in the array, which means that the newly selected tile must only be sharing a border with one of the tiles of the temp table but not necessarily with the last tile stored).

    Question

    What is somehow clean and tidy this programming in AS3? Here are some parts of my code (although the mouse click event is not finished/working correctly):

    service public tileClick(e:MouseEvent):void
    {
    var tile: Object = e.currentTarget;

    tileSelect.push (uint (tile.currentFrameLabel));
    selectArr.push (tile);

    If (tile.select.visible is false)
    {
    Tile.Select.Visible = true;
    }
    on the other
    {
    Tile.Select.Visible = false;
    }
    for (var i: uint = 0; i < selectArr.length; i ++)
    {
    If ((tile.rowN == selectArr [i].rowN-1) |)
    (tile.rowN == selectArr [i] .rowN).
    (tile.rowN is .rowN selectArr [i] + 1))
    {
    If ((tile.colN == selectArr [i].colN-1) |)
    (tile.colN == selectArr [i] .colN).
    (tile.colN is .colN selectArr [i] + 1))
    {
    trace ("jackpot!" + i);
    }
    }
    on the other
    {
    for (var ii:uint = 0; ii < 1; ii ++)
    {
    for (var iii:uint = 0; iii < selectArr.length; iii ++)
    {
    selectArr [iii].select.visible = false;
    }
    selectArr = [];
    trace ("Err!");
    }
    }
    }
    }

    so, no matter what tiles are clicked, you only added to selectArr?  That is to say, if someone clicks on tiles randomly contiguous or not, what they added to selectArr?  If so, let the way you have it but change contigF().

    If you want to add a tile of selectArr if selectArr is empty, and when the user click on a tile adjacent selectArr, move the push() method to run If contigF() returns true and change contigF() to:

    function contigF(tile:DisplayObject):Boolean {}

    {if(selectArr.Length==0)}

    Returns true;

    }

    for (var i: int = 0; i<>

    if(Tile!=selectArr[i]&&math.) ABS (selectArr [i] .rowN - Tile.rowN)<2&&Math.abs(selectArr[i].colN><>

    Returns true;

    }

    }

    Returns false;

    }

  • A Question about debugging...

    Hi all

    I have a question about debugging - specific probes. Is it possible to link and save the values on a wire (with a probe) which is a loop for the loop counter (or even a secondary value)?

    When I'm debugging code to a state machine that I often more easy to wire to the top of the State and the value, I am interested in a cluster, and then use 'generation antenna' and a registry change to add this element to each loop. I could also do this by indexing just out of the loop too.

    Once execution completes etc that I can look at the table (either using an indicator or a problem) to see what has happened to the value to each State/loop. And often, I know exactly where my code was wrong.

    My question is: is there a way to do this using regular probes without having to build an array? So, for example, I probe a digital wire and get a table of responses rather than just the last value on the wire?

    Thank you

    Dave

    I found this nugget that does exactly what I want - it's a custom probe developed by Darren.

    This post on the Exchange of ideas gives to think it should be at least provided with the package LV either integrated in the dev environment. Well worth voting for!

  • Question about my script

    I have a question about my script and why Im not return desired output. Could someone please help me solve this and also let me know what I was doing wrong, why their working version vs my return empty result. Thanks in advance and have a nice day.

    Mike P.

    First of all, I ran this for a list of all virtual cards ovf all my virtual machines. It comes out OK but gave me too much, I was looking for something a little more specific.

    Get - VM | Get-NetworkAdapter | Select-Object Parent, name, NetworkName, ConnectionState

    the script above has given me all the names of VM, AdapterName, PortGroup name and the connection status of the adapter of the said

    I wanted to filter this down a little more. I was looking for netowrk adapters connected to a specific NetworkName with a ConnectionState connected object. Mainly because I have another script, I want to run after the fact that would make this particular NotConnected and NoStartConnected adapter.

    I thought I could do it with the following script. The script works fine without errors and filter unwanted information. However, my problem is that it does not return what it finds on the screen as the previous script. I'm missing a piece for this script that will give me the output of the screen for each card that meets the criteria. I tried out channelling to a .csv, of course, it was empty as well. I tried a failed in an echo statement after him as well.

    Get - VM | Get-NetworkAdapter | where {$_.NetworkName - eq "Network 1" - and $_.} ConnectioState - eq 'Connected'}

    Thanks again for your help!

    You can better use the operator contains this

    {$_.NetworkName -eq "Network 1" -and "Connected","NoGuestControl","StartConnected" -contains $_.ConnectionState}
    

    It checks if the value property is present in the array of values that you give on the left side

  • A few Questions about the advanced Actions window

    Hello

    I have a few questions about the progress of the Actions (using the version of track CP7)

    1. What is the function of the action to "continue?"   Out of the peak action and advance the playback cursor?

    2. What does mean this comment "Nested calls to action advanced is a nice improvement."? Is the advanced decision at the top of a page of action tabs?

    3. What is the function of the option "custom" in the IF statement - "preform action if - custom", it doesn't seem to do anything for me?

    4. where can I get information about the timeline / playhead interaction with advanced actions, i.e. where the playhead is going again at the beginning of the slide. slide custom question - display button, e.g. verification of responses, comments - when all the objects are at the beginning of the timeline. I'm looking more for the read head of infromation functionality rather than how to implement this type of question.

    Thank you

    Donal.

    Continue: If an advanced standard action is triggered by a button, this will not trigger the playback head. If you want out, you can use continues. Continue can also be a choice in a conditional action, when one orders branching has nothing to special, but in advance. Continuous is also the "dummy" statement/command (this is the official name of a line in the dialog box advanced actions) If a statement has become unusable due to some reasons, it will be replaced by continue

    There is no nested call stocks advanced possible right now, one of my many feature requests. It would be sort of a subroutine that you can use over and over again, instead of having to create each time when necessary.

    A decision is one of the conditions to be an advanced conditional action. They allow to create more complex actions, as a loop or arrays are not possible. All decisions are executed in sequence and always.

    Custom: is a combination of or but it is rather limited, because you cannot use parentheses.

    I guess you'd better visit my blog if you want to learn more about the advanced actions.

    http://blog.lilybiri.com/

    I also did several Webinars on stocks advanced, last this afternoon (on the sharing of the actions) for Adobe. They are all available on request.

    Lilybiri

  • A few questions about integration between POET and EBS

    Hi you
    I am a new bie BIEE. In those days, have a look at the POET architecture and BIEE components. In the next project, there is some work on the development of POET based on request of the EBS. I have a few questions about integration:

    (1) generally, the POET application and database server is decentralized with application and database EBS? Both BIEE 10g and 11g version can be integrated with EBS R12?

    (2) in the POET administration tool, the first step is to create arrays of physics. If the source application is EBS, is it still necessary to create the physical tables?

    (3) if the physical creation of tables is needed, how to transfer data from the source of BSE BIEE physical tables tables? What ETL tool is preferred for most of developers? generator for warehouse or Oracle data integration?

    (4) during the data transfer phase, there are many many large data to transfer, how to keep the entire? for example, it must transfer 1 million lines of source to physical tables BIEE database, when 50% is completed, users try to open the POET report, they can see the new data of 50% on the reports? is there some transaction in phase control ETL?

    could someone give some pointers for me? I am very appreciated if you can also provide any other information.

    Thanks in advance.

    (1) generally, the POET application and database server is decentralized with application and database EBS? Both BIEE 10g and 11g version can be integrated with EBS R12?

    You shud look at OBI request here that uses OBIEE as a tool for reporting with pre-built modules. 10g & 11g comes with different versions of the applications of BI that supports sources such as Siebel CRM, EBS, Peoplesoft, JD Edwards, etc...

    (2) in the POET administration tool, the first step is to create arrays of physics. If the source application is EBS, is it still necessary to create the physical tables?

    His independent of any source. It comes to OBIEE modeling to create the RPD with all the layers. If you build from scratch, then you will need to create all layers else if BI Apps is used so you can get pre-built RPD and other pre-designed components.

    (3) if the physical creation of tables is needed, how to transfer data from the source of BSE BIEE physical tables tables? What ETL tool is preferred for most of developers? generator for warehouse or Oracle data integration?

    BI apps comes with ETL pre-built mapping to use with the tools majorly with Informatica. Only applications BI 7.9.5.2 comes with ODI, but oracle has the intention of having only ODI for any other versions.

    (4) during the data transfer phase, there are many many large data to transfer, how to keep the entire? for example, it must transfer 1 million lines of source to physical tables BIEE database, when 50% is completed, users try to open the POET report, they can see the new data of 50% on the reports? is there some transaction in phase control ETL?

    User will see still old data because its good enable Cache and serving it after each load.

    See http://www.oracle.com/us/solutions/ent-performance-bi/bi-applications-066544.html...
    and a lot more docs on google

    Hope this helps

  • Where can I ask a handful of general order questions about Firefox OS as a consumer and get the answers? (a forum or something similar)

    I have about seven questions about Firefox OS. I'm potentially interested in opting for a tablet that works instead of Android or iOS. I couldn't find a place to ask questions like that. Thank you!

    https://support.Mozilla.org/en-us/forums/Firefox-OS-English-Forum

    There is another option.

  • About a month ago I posted a question about iMovie and not being able to "share". I solved the problem thanks, so no more emails!

    About a month ago I posted a question about iMovie and not being able to "share". I solved the problem thanks, so no more emails!

    Hi Michael,

    If you want to stop receiving notifications by electronic mail, in the thread, that you have created, then I suggest that you follow the steps below:

    One time connected to the Apple Support communities, visit your mini profile and select manage subscriptions.

    Content

    To manage this content, you are currently subscribed and changing your preferences, select the content.

    Select next to see what content you are currently following.  Note that any thread you are responding you subscribe you automatically to this thread.

    You can select to terminate a subscription to a thread.

    Learn how to manage your subscriptions

    Take care.

  • Where and how do I ask questions about Email?

    The Commission opening thingy is complicated, I have trouble finding my way around it.  I don't know where or how questions about email.  Is there an easier way than trawling through all these icons?  Like a list or something - as you get on all other forums on the internet?

    It would be a good starting point: Mac mini

    Or the appropriate under MAC Os and system software section.

    You might also find this useful: find answers and new questions

  • Many questions about the HP 50 g

    I just ordered a HP 50 g graphic calculator! I have a few questions about this so hang on tight! What is the USB connector on the calculator? Mini-USB, micro USB, or is it a connector owner, "custom". Then, it would be possible to connect a keyboard to the HP 50 g by using the USB Port? Is there a program that would make this possible? (I doubt it would work if you plug it..) I have a Mini-USB to female USB 2.0 connector. So I could just plug the keyboard right, provided that the port on the calculator is a Mini-USB Port. If this is not so that I could use my female to female USB adaptor to connect the keyboard.

    Thanks for your help,

    Zekelegge

    Hi!, zekelegge:

    Welcome to Forum!

    The only printer I use, 50G calculators, 48GII, 39GS and 17BII +, as well as many former models, such as the 48 s/SX/G/G + / GX, 38 G, 39 G, 42, 41 C/CV/CX and 28 C/S, is the infrared printer HP 82240 b. If you can use the emulator HP50G, on the PC, the simulator of the printer, you can download, since... http://www.HPCalc.org/details.php?id=7386

    The printer... HP 82240 B

    The cable series...

    The description... http://www.allenwan.com/hpcalcserialcable/

    The original cable...

  • Question about warranty after exchanges of RAM on Satellite module series

    Hello together,

    I have a question about the warranty. My laptop is 5 months old and now I want to improve it with more RAM. I want to do it myself, and now I'm wondering if the warranty will be getting hurt.
    Thanks in advance for your answers.

    Concerning

    TiG3r

    For new models of laptops the RAM upgrade described in s operating manuals. It is public act and it shows the owner of the notebook how do RAM upgrade only.

    If Toshiba offers something like this he won't have the negative influence of valid warranty.
    Buy a compatible module and RAM upgrade.

    Bye and good luck!

  • A few quick questions about the Satellite P300 - 18 M

    Hello

    I am about to order a Satellite P300 - 18 M and have just a few questions about this:

    (Although these may apply for other similar Satellite/Equium P300.)

    Is the touchpad made by / to use the Alps or Synaptics driver?

    It has the Wireless N network card, is the map made by Intel or Realtec?

    And also, someone has experience with face recognition software to connect?

    If so, does it take a lot of time to initalise?

    Thanks in advance,
    Jack

    Hello

    The P300 - 18M belongs to the PSPCCE series.
    It uses the two touchpad drivers. Synaptics & Alps Electric
    There is an Intel 802.11agn minicards WLan installed

    The face recognition is a nice tool but local to be illuminated and you must take your face the right of the post sometimes it of not very easy

    But if you face is recognized correctly that the connection should work properly

    See you soon

  • Questions about nb200

    I recently bought a mini nb200 with windows 7 and I have a few questions about it. How can you set up your email, I was willing to put up with Outlook Express, but I don't know if I can. Also, is there a way to get a paper copy of the user manual?

    You can download and install a new e-mail program when you download Windows Live via Microsoft Update. You can select the components of Windows Live, you want to include by checking a box for each you want. I installed all the. Or you can use Outlook, if you have Microsoft Office and you want to install it.

  • A few questions about the difference between the Satellite P70, L70, S70

    Hello, I have a lot of questions about the P70, L70, S70 series that come with a 1920 x 1080 panel.

    (1) what are the differences between the L70 and S70 series? With the exception of the RAM and HARD drive capacity, books seem pretty identical.

    (2) P70, L70, S70 doesn't support a 2nd HARD drive or it's just the P70 series that support?

    (3) all the three (P70, L70, S70 series) come with the same TFT panels?

    (4) of the above series, which supports mSata?

    (5) all the model of each series are delivered with support from mSata? For example, it could be that L70 - a - 13 m supports mSata is not the case of the L70-a-146?

    (6) all the foregoing, are delivered with a S - ATA II or III S - ATA interface?

    (7) who is the best of these series listed? I'm trying to understand what makes the big difference of S70 to P70 except for the envelope for example.

    Thank you in advance.

    > (1) what are the differences between the series L70 and S70? With the exception of the RAM and HARD drive capacity, books seem pretty identical.

    What models Sat L70 and S70 do you mean exactly? There are different L70-xxx-xxx and S70 models on the market that supports different hardware specifications.

    (> S70 2) P70, L70, support a 2nd drive HARD or is - it just the series P70 that support?
    As you can see in this [Sam P70 HDD replacement document, | http://aps2.toshiba-tro.de/kb0/CRU3903II0000R01.htm] the P70 series supports the 2nd drive Bay HARD, BUT even if there is a 2nd HARD drive Bay, this does not mean that you can use the 2nd HARD drive. In the case where the 2nd HARD drive Bay are equipped with HARD drive connector, you can use the 2nd HARD drive

    I also found the [Sam L70/S70 HDD replacement | http://aps2.toshiba-tro.de/kb0/CRU3703HG0000R01.htm] the document on the Toshiba page and there I see this 2nd HARD drive Bay is not available

    (> 3) all three (P70, L70, S70 series) come with the same TFT panels?
    See point 1). Different P70, L70, S70 models were equipped with different material parts.

    (> 4) of the series above, which takes in charge mSata?
    As far as I know that some P70 models are equipped with an mSATA SSD of 256 GB.

    (> 5) do all the model of each series are delivered with support mSata? For example, it could be that L70 - a - 13 m supports mSata is not the case of the L70-a-146?
    See point 4) not all models supports the same hardware specifications

    (> 6) all of the above, come with a S - ATA II or III S - ATA interface?
    I don t think that SATA III is supported. I guess it would be SATA II

    (> 7) which is the best of these series listed? I'm trying to understand what makes the big difference of S70 to P70 except for the envelope for example.
    Not easy to answer because there are too many models released in Europea.
    And not all models are available in each country. So I guess you will have to look for the models that have been released in your country.

  • Satellite L650-11R - a few questions about this

    Hello there :-)

    I have a few questions about my new L650.

    I've never had Toshiba notebook before so I apologize if some of these "quirks" are actually quite normal on this laptop. I really want to hear the views of other users L650.

    1)
    First of all, by the time I turned it on I saw gradient thin (1-2 mm) along the right edge of the screen that goes from the bottom up. Maybe "degraded" isn't the right word, but it seems that since two or three pixels are kind of discoloration or lose brightness/sharpness to the edge along the straight bezel. It is not really that visible, looks like the colors are desaturated a bit here or brightness is a bit lacking. He can be seen everywhere (bios or no color in Windows, but better in the lighter background).
    The left side (or other) seems ok, all this along the right edge is somewhat suspicious. If one can compare? I don't know if it's something to worry about or is just supposed to be like that.

    2)
    The other thing I noticed heating of the processor (Intel i3 330M) and GPU (ATi Mobility Radeon 5650). It's pretty hot here right now (I would say that the temperature is around 28 degrees Celsius when using cell phones). He is sitting on the hard surface (table) and nothing is blocking the vents.
    However, at "rest" (surf the web & regular light stuff), average CPU temp hovers around 58 ° C. It usually goes from 45 to 62 in just a few minutes after starting, and then I can hear and see (Toshiba PC Health Monitor) evacuate the kicks in. Temp goes back to 50 +, event stops and then the temp rises to 60 + until the vent is used again.
    During load full (Prime95 or some games), CPU is going all the way up to 75 degrees (the highest being 77). Fan runs at 75 to 77% during this time, never go faster.

    GPU idling is usually around 5 degrees above temp CPU (62-65). During full load (for example. Benchmark of Far Cry 2), I see a lot of stuttering with the latest drivers Catalyst and DX10 (not sure if the stuttering has something to do with heat), otherwise it is ok (no artifacts or anything like that). Temp of GPU during the loading goes up to 74-75, fan speed is locked at 30%, the frequency of the heart 5650 is 450 MHz. left side of the laptop (vent and below) is pretty hot, while the keyboard is warm (or slightly warmer who who).

    These time seems correct and safe in the long term? I'd rather events works all the time (they aren't really very strong) and keeping time less than 50, but there are just wishful pious bios control events and I can't control not the bios. :-)

    3)
    This is just General related products. :-)
    Official specifications of Toshiba L650 say ATi 5650 (between other low range GPU), but I saw a few specifications calling for there 5730 (same model 11R). Is there really a Satellite L650 with ATi 5730 GPU models?

    Sorry for the long post, I tried to include the best possible description that I could do. :-)

    Thank you in advance.

    Thanks for the additional info!

Maybe you are looking for