#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 to your library path
###Advanced (for modifying source/building your own)
- Clone master e.g.
git clone git@github.com:childoftv/as3-xlsx-reader.git
cd as3-xlsx-reader
- Fetch Fzip using
git submodule foreach git pull origin master
- Now open the projects in the projects directories.
as3-xlsx-reader is a library project which can be used to build the core (outputs to bin folder)
as3-xlsx-reader-example is an adobe air project which can build a quick example
####command line compilation using Flex SDK
cd as3-xlsx-reader
- Build the library: `compc -include-sources=src -library-path=libs/fzip/bin/fzip.swc -output bin/as3-xlsx-reader.swc``
- 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
- Copy the Spreadsheet to the debug folder:
cp projects/as3-xlsx-reader-example/assets/*.xlsx projects/as3-xlsx-reader-example/bin-debug/
- run with fdb:
fdb projects/as3-xlsx-reader-example/bin-debug/LoadXLSXExample.swf
- type
continue
for output
##Example
Look at LoadXLSXExample.as for an example that can be used from flash, flex or with adobe air.
##LICENSE:
Released under MIT LICENSE