Posted by: Wildan Maulana | April 7, 2009

Compiling Open Flash Chart on Linux using Free Flex SDK 3


1. Install Flex SDK 3 on your Linux Box :
You can follow the tutorial here :

2. Update your env. variable to include the Flex SDK command line tool:

export PATH=$PATH:/home/wildan/jobstuff/Software/AdobeFlex/sdk/3.3/bin/

3. Install windows true type fonts :

#sudo apt-get install msttcorefonts

4. Set a SVN External – flashdevelop library in OFC (Note : i setup a local subversion repository to maintain my own version of OFC, currently based on ofc 2 ichor)

wildan@OpenThinkLabs:/ofc/org$ svn propedit svn:externals flashdevelop

add :

wildan@OpenThinkLabs:/ofc/org$ svn commit -m "add svn external flashdevelop"
wildan@OpenThinkLabs:/ofc/org$svn update

Or using Eclipse :

svn update through Eclipse

svn update through Eclipse

5. Compile the OFC source :

wildan@OpenThinkLabs:/ofc/org$  mxmlc 

At the end you will get main.swf (mine is 146K in size) on your working directory , copy this file to your root web directry, and test it !, here is mine :

The Result : Compiling Open Flash Chart on Linux

The Result : Compiling Open Flash Chart on Linux

Reference :

[1] Externals Definitions,



  1. cool!!

    Can you put in break points and debug the app? I use flashDevelop which is good, but it has no debug stuff.

    Could you drop me a note in the development forums please? I’m very interested in eclipse.


  2. Sory for the late answer monk.e.boy, your comment is identified as a spam by wordpress …

    Honestly, i’m kind a new to AS development, i compile the OFC code using command line an not using the Flex Plugin for eclipse .. 🙂

    I’ll let you know when i starting playing with OFC code on eclipse.

    Warm Regards,

  3. If you are interested in Flash development on Linux, I suggest you to have a look at this tutorial describing the setup process of Eclipse + AXDT (Flex SDK based plugin for Eclipse):

  4. Hi Jose,

    Just try to use AXDT.

    It’s cool … :). i think i don’t have to buy the
    flash builder in the meantime

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: