Using AS3XLS with the Flex Framework: Data Export
videos

Using AS3XLS with the Flex Framework: Data Export

Tutorial Details
  • Program: Flash Builder
  • Difficulty: Beginner
  • Estimated Completion Time: 25 mins

This is the third in a series of tutorials covering implementation of the AS3XLS ActionScript 3.0 library for the Flex framework. We’ll demonstrate how to save an Excel .xls file from modified Flex datagrid controls and also how to write CSV files using the same data to the local filesystem.


View Screencast

Don’t like ads? Download the screencast, or subscribe to Activetuts+ screencasts via iTunes!

Tags: Videos
Add Comment

Discussion 6 Comments

  1. oluwaseun says:

    Cool one. I have been looking for this kind of utility for a proof of concept project I am working on.

    Are we going to get the Library for free anytime?

    Cool

    • Author

      @oluwaseun You can grab the AS3XLS library from GitHub [http://github.com/djw/as3xls] or Google Code [http://code.google.com/p/as3xls/]. Please note that they are slightly different versions!

  2. Emiliano says:

    what could i do to set column’s width ? I have a problem with a text so long.
    Thank you

  3. Ejay says:

    Hi Joeseph. I am glad to find this tutorial. I do have a question hoping you will make time to help me out. For this demo for instance, my Event Label column is date (e.g. January 1, 2000
    , or 1/1/2000), when imported to the app, it turns out to be 36526. I wonder how to covnert it back to date. Thanks for your help.

  4. Don says:

    Can these as3xls projects be completed in Flex Builder 3? I’ve imported your source files and an error is generated on run which seems be be related to the namespace pointers in the application tag.

    • Ejay says:

      The source files are for Flash Builder 4. So you can’t just import it…but you can unzip it and make changes to the mxml tags such as from to …

Add a Comment

To add a code snippet to your comment, please wrap your code like so: <pre name="code" class="html">YOUR CODE</pre>. You can replace the class name with "js," "css," "sql," or "php." If there are any "<" or ">" within your code, please search and replace them with: &lt; and &gt; respectively.