How to put data in the DataGrid with AS3 AIR?

Hi, I am a planner of AIR app to load data from a .txt. I am able to find the data in flash, but how can I insert this data into the flash components (maybe the datagrid?) Maybe something that can allow the user deleting the part of registration of their schedule in the Scheduler. For example if they want to remove the heading 5 of the Planner, what the code of the application be? After viewing the code in the application via flash, the user will be able to remove the fifth entry in the Scheduler, or something similar to this idea. How can I achieve that?

     function loadData(event) 
          { 
               var bytes = file.data; 
               str = bytes.readUTFBytes(bytes.length); 
               trace(str); 
          }

Yes it is possible, but you must convert your .txt (but why don't you use .xml?) in a table of data objects. It's called DataProvider

Tags: Adobe Animate

Similar Questions

  • How to export data from the table with the colouring of cells according to value.

    Hi all

    I use jdeveloper 11.1.1.6

    I want to export data from the table with a lot of formatting. as for color cells based on value and so much. How to do this?

    You can find us apache POI-http://poi.apache.org/

    See this http://www.techartifact.com/blogs/2013/08/generate-excel-file-in-oracle-adf-using-apache-poi.html

  • How to send data from the Page with a form to fill out?

    How can I automatically include the page title or any text in my Web page when my client click on the Submit button in a form to fill out?

    This may seem obvious, but if you want to receive data from a form, and then place it in the form. A hidden form field with the title page and the text of your Web page will send these data on the form submission.

    best,

    Shocker

  • How to merge data from the table with a single line

    Hello

    I have three tables subscription_type, the address and the person. Here are the details of the table

    Person Subscription_type Address                                           

    Person_Id AdressType_id Address_id

    Person_name Description Address_type_id

    Person_id

    Address details


    There are three types of different address - home, postal and previous.

    Each person can have these three different addresses.

    I want to create a view that displays all addresses of three of each person in the table of the person in a single line.

    Any help please

    In your example, there are 2 rows of columns street1, TOWN, SUBURB etc for a single person. To convert this into a single line, with the new columns we could simply use CASES or DECODE in the select as the SQL below. To understand why consolidation function THAT MAX is used - remove the MAX and GROUP BY in SQL keyword and try.

    Select full_name

    , max (case when description = "Home" then end street1) Home_Street

    , max (case when description = "Home" then end suburb) home_suburb

    , max (case when description = end of the "Home" then City) home_city

    , max (case when description = "Home" then postal code end) home_postcode

    , max (case when description = "Home" then end state_name) home_state

    , max (case when description = 'Postal' then end street1) Postal_Street

    , max (case when description = 'Postal' and then end of suburb) Postal_suburb

    , max (case when description = 'Postal' then the city) Postal_city

    , max (case when description = 'Postal' and then end of CP) Postal_postcode

    , max (case when description = 'Postal' then state_name end) Postal_state

    , max (case when description = "Back" then end street1) Prev_Street

    , max (case when description = "Back" then end suburb) Prev_suburb

    , max (case when description = "Back" then city end) Prev_city

    , max (case when description = "Back" then postal code end) Prev_postcode

    address a

    S State

    No p

    Subscription_type att

    where a.person_id = p.person_id

    and a.state_id = s.state_id

    and a.address_type_id = att.address_type_id

    Full_name group

  • How to get data from a URL with as3

    Hello

    I need to get data that is in the view of the source of an external Web page, how it can be done?

    URLLoader allow to get the HTML code as text, then you need extract it.

  • I have the order number and the date of the order with me want to support adobe creative cloud can advise you how to go to this topic

    I have the order number and the date of the order with me want to down load remains creative cloud on my desk pls can you advise me how to on this subject pls

    Cloud creation help / Creative Cloud to desktop

    https://helpx.Adobe.com/creative-cloud/help/creative-cloud-desktop.html

    Cloud creation help / sign out, sign in | Creative office cloud app

    http://helpx.Adobe.com/creative-cloud/KB/sign-in-out-creative-cloud-desktop-app.html

    Cloud creation help / install, update or uninstall applications

    http://helpx.Adobe.com/creative-cloud/help/install-apps.html

    Install creative Cloud applications

    http://TV.Adobe.com/watch/CS6-creative-cloud-feature-tour-for-video/installing-desktop-app s-of-creative-cloud.

  • How to enter data into a DataGrid empty?

    Hello

    I wanted to use datagrid like component of a data entry. The first column is a text field, 2nd and 3rd being a drop-down list box. But until and unless there is already some data in the datagrid control, the component can be changed at all. How can I fill datagrid with these empty lines and the fields editable in them?

    Thanks for the help in advance.

    See you soon,.

    Deepak

    I was thinking about this post: http://blogs.adobe.com/aharui/2008/03/custom_arraycollections_adding.html

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • How to write data in mode intertwined with TDMS C DLL 2.0?

    Hello

    How to write data in mode intertwined with TDMS C DLL 2.0?

    I use DAQmx features in Visual Studio C++ without Measurment Studio.

    This function returns the data in interlaced mode.

    How can I configure the functions of DLL C TDMS to store this data in the tdms files?

    I see that it is not possible with the PDM version 2.0 with 1.0.

    Thank you

    -TDM C Dll is not able to do

    -TDM header writer may be usable for this but is not able to be used for tdms files.

  • How to save data in the text file of Spartan 3

    Hi all

    I would like to kindly save the data table text file or a spreadsheet on vi using fpga spartan 3e as an fpga target. Once I added all the functions related to the operation of file, it gave an error that these functions are not supported by the target device.

    could you please help me with this

    Thank you

    Rania

    Hi David,

    Thank you for posting. You use LabVIEW? If so, what version of LabVIEW FPGA do you use? You use a host VI, or any deployment of code at your target to run? The file IO VI probably won't compile to target because they are not intended to be used on your host computer. Resources and the paths of files do not exist on the target FPGA, but rather on the side of the host. I have included a link below that describes how to transfer data between the FPGA and host. I hope this helps!

    http://zone.NI.com/reference/en-XX/help/371599F-01/lvfpgaconcepts/pfi_data_transfer/

  • How to insert data into the table by using the expression builder in the assign activity

    How to insert data into the table by using the expression builder in affect business in BPEl, I use SOA Suite 11.1.1.5
    Can someone help me please

    Hello

    I don't think that oraext:query-database() can insert data into the table.

    What are your needs?
    Can not you plan to use the DB adapter with the insert operation?

    Kind regards
    Neeraj Sehgal

  • How to group and summarize the values with a vertical drop of 100?

    Dear gurus
    How to group and summarize the values with a vertical drop of 100 as the data indicated below:

    Cas_Cod_ Cas_Amt_ Description
    300 1000A
    301 200 B
    302 350 C
    400 500 A
    401 100 B
    402 25

    Now the data should be grouped like this
    A (300,400) = 1500
    (301,401) B = 300
    C (302,402) = 375

    Make sure that I don't have a column as description in my table to group data on description, its here just to give u an example.

    Hello

    using mod for hundreds:

    with x as
    (
      select 300 code, 1000 amt, 'A' descr from dual union all
      select 301 code, 200 amt, 'B' descr from dual union all
      select 302 code, 350 amt, 'C' descr from dual union all
      select 400 code, 500 amt, 'A' descr from dual union all
      select 401 code, 100 amt, 'B' descr from dual union all
      select 402 code, 25 amt, 'C' descr from dual
      )
       select mod(code,100) code, sum (amt)
        from x
       group by mod(code,100);
    

    Using the mod you get the rest of a division, so mod (300,100) = 0, mod (301,100) = 1, etc.

    Herald tiomela
    http://htendam.WordPress.com

  • How to erase data from the iphone if I lost and iphone is offline

    How to erase data from the iphone if I lost and iphone is offline

    < post branched out by host >

    Hello

    What to do if your iOS device is turned off or offline?

    If your missing device is turned off or offline, you can still implement this Mode lost, lockor remote wipe. The next time your device is online, these measures will take effect. If you remove the device from your account while it is offline, pending actions for the device will be cancelled.

    If your iPhone, iPad or iPod touch is lost or stolen - Apple supports

  • How to put bookmarks in the left side of the screen forever?

    I use every night, 64-bit laptop.
    How to put bookmarks in the left side of the screen for good to keep them here? I couldn't believe how you hide this option. Other browsers requires a simple click.
    THX

    To open or close the bookmarks bar, do one of the following:

    • CTRL + B
    • tap the ALT key, the Menu Bar temporarily displays, click on view > sidebar > bookmarks
    • Hold DOWN the ALT key while pressing the VEB keyboard letters

    If the bookmark sidebar is open when you exit Firefox (Firefox button > output OR file > exit), it should be there when you restart Firefox.

    Also see-> https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • How to save data from the COM port to file?

    Hi all

    can someone tell me please how to save data from the COM port on file? I transfer 1 byte of serial port... attached is the image of the vi... very basic.

    I would like to save the data in a table... I mean, 1 data--> data--> data tab 2 tab 3rd--> tab

    and so on... can anyone help?


  • How to acquire data from the memory of the meter

    I am a beginner of Labview. I don't know how to acquire data from the memory of the meter.

    I read a few examples of data acquisition, but apparently not similar to my case. I can't use DAQ in my computer, because I don't have DAQ card.

    Could someone give me some pointers? Similar examples would be great.


Maybe you are looking for

  • New tab does not display some sites, but nothing.

    When I open a new tab, it does not display the usual sites, but it shows just a white screen. Only the search bars and icons are displayed. It is not also a gear in the top right.

  • Hello, I have problem when searching in firefox

    Hello I use firefox as my default browser for the last five years and I am facing a problem of the past 1 year and my problem is when I type something to look for I get an icon called pop-up opening research which shows that you have chosen to open s

  • Lap top HP G62 all ignition no

    Hello I use the laptop G62. Until yesterday his works very well. But because of my stupidity to clean the fan I opened and cleaned and fixed all the parties accordingly. Now the lap top does not turn on, I dono what the problem is, but the power butt

  • Uninstall Java from Windows Vista

    Original title: Java I have Windows Vista Home Premium. I was told to get rid of Java. Have tried, I am uncomfortable to do so. There are three different entries for java. I don't know whether to uninstall each individually or choose one and the othe

  • I can't install windows vista service pack 2, receive the error code 490

    Tried to install Windows Vista service pack 2. (KB948465).   Received: Installation failed.      Also: element not found.      Error: ERROR_NOT_FOUND (0 x 80070490).     and finally the code 490 - Windows Update encountered an unknown error.