Excel file saved as CSV
A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Excel file saved as CSV

  1. #1
    Member
    Join Date
    Sep 2014
    Posts
    75

    Excel file saved as CSV

    Hello all,

    Anyone, please, has good written tutorial on how to use AS2.0 to read variables (numbers) from Excel file saved as *.CSV.

    Thank you!

    P.S. I have no idea on how to deal with CSV files.

  2. #2
    Senior Member
    Join Date
    Feb 2005
    Posts
    1,750
    I haven't worked on this before but I'm guessing you could try treading the csv file like an xml file. AS2 - Load xml and csv then synchronize You could check out the script on that page.
    .

  3. #3
    Member
    Join Date
    Sep 2014
    Posts
    75
    Thank you swak!

    However, the webpage did not open.

    "This page can’t be displayed"

  4. #4
    Senior Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    802
    Hey if you post the csv ill give it a try with split functions :P
    a* on an ic!

  5. #5
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,714
    Hi

    The page opened up just fine

  6. #6
    Senior Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    802
    if it looks like byte code when you open it in notepad++ the only available libraries to parse that would be in as3
    a* on an ic!

  7. #7
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,714
    Hi

    I don't think you need to go that far alloy.

    He wants as2 anyway. But you can read the csv file like an array after loading it and split it into an array with comma separated values.

    As the file extension suggests. Csv

  8. #8
    Senior Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    802
    Yeah im sure you can expand it like that I think csv is pretty new as well...
    a* on an ic!

  9. #9
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,714
    Hi


    Csv is not new alloy, it is simply an excel file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center

Poll by Flashkit.com