• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

importing excel data into flash?

New Here ,
Feb 11, 2012 Feb 11, 2012

Copy link to clipboard

Copied

Hi all! In an application we have an excel file of large amount of data whose every row we want as an array of data for impoting into flash application.Can anyone help me out.Here i give a small description what we want to do:

*****Excel Sheet

HallNo     ComName     Stall

1               ABC             12

2               GHD             17

3               JKH              6A

*********Data format in which we want

_global.HallNo[0] = '1';

_global.ComName[0] = 'ABC';

_global.Stall[0] = '12';

_global.HallNo[0] = '1';

_global.ComName[0] = 'GHD';

_global.Stall[0] = '17';

_global.HallNo[0] = '1';

_global.ComName[0] = 'JKH';

_global.Stall[0] = '6A';

Thanks for help in advance.

TOPICS
ActionScript

Views

4.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 11, 2012 Feb 11, 2012

Copy link to clipboard

Copied

excel can export a csv file.  you can load that (using the urlloader) into flash and parse the data (using the string and array classes).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 12, 2012 Feb 12, 2012

Copy link to clipboard

Copied

Thanks for help!

I forgot to mention that our major issue is to convert that excel into csv. we are well aware of urlloader and we are able to parse as well.

The problem is we are not able to convert into above format, as i have mentioned its a large volume of data so we can't copy and paste one by one too.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 12, 2012 Feb 12, 2012

Copy link to clipboard

Copied

Hi,

in case neither excel nor openoffice can do the conversion, there is xlscat at cpan,org

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2012 Feb 12, 2012

Copy link to clipboard

Copied

LATEST

open your file in excel, click save as/other formats and selected csv type.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines