Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/childoftv/as3-xlsx-reader

An Actionscript 3.0 package to read .xlsx Open XML Excel or Open Office spreadsheets
https://github.com/childoftv/as3-xlsx-reader

Last synced: about 2 months ago
JSON representation

An Actionscript 3.0 package to read .xlsx Open XML Excel or Open Office spreadsheets

Awesome Lists containing this project

README

        

#AS3 (Actionscript 3) XLSX READER

A reader for excel files in Flash, Flex and Air

Copyright (c) 2011 Ben Morrow

##Usage

###Easy

Just add the [swc](bin/as3-xlsx-reader.swc) to your library path

###Advanced (for modifying source/building your own)

1. Clone master e.g. `git clone [email protected]:childoftv/as3-xlsx-reader.git`
2. `cd as3-xlsx-reader`
3. Fetch [Fzip](https://github.com/claus/fzip) using `git submodule foreach git pull origin master`
4. Now open the projects in the [projects](projects) directories.

[as3-xlsx-reader](projects/as3-xlsx-reader) is a library project which can be used to build the core (outputs to [bin](bin) folder)

[as3-xlsx-reader-example](projects/as3-xlsx-reader-example) is an adobe air project which can build a quick example

####command line compilation using [Flex SDK](http://www.adobe.com/devnet/flex/flex-sdk-download.html)

1. `cd as3-xlsx-reader`
2. Build the library: `compc -include-sources=src -library-path=libs/fzip/bin/fzip.swc -output bin/as3-xlsx-reader.swc``
3. Build the Example: `mxmlc -source-path=projects/as3-xlsx-reader-example/src/ -library-path=bin/as3-xlsx-reader.swc -static-link-runtime-shared-libraries=true -use-network=false -debug=true -output=projects/as3-xlsx-reader-example/bin-debug/LoadXLSXExample.swf projects/as3-xlsx-reader-example/src/LoadXLSXExample.as`
4. Copy the Spreadsheet to the debug folder: `cp projects/as3-xlsx-reader-example/assets/*.xlsx projects/as3-xlsx-reader-example/bin-debug/`
5. run with fdb: `fdb projects/as3-xlsx-reader-example/bin-debug/LoadXLSXExample.swf`
6. type `continue` for output

##Example

Look at [LoadXLSXExample.as](projects/as3-xlsx-reader-example/src/LoadXLSXExample.as) for an example that can be used from flash, flex or with adobe air.

##LICENSE:

Released under [MIT LICENSE](LICENSE)