Posted by: Wildan Maulana | April 7, 2009

Compiling Open Flash Chart on Linux using Free Flex SDK 3

logo-2

1. Install Flex SDK 3 on your Linux Box :
You can follow the tutorial here : http://blogs.adobe.com/ashutosh/2009/03/flex_builder_linux_with_air_15.html

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 :

utils http://flashdevelop.googlecode.com/svn/trunk/FD3/FlashDevelop/Bin/Debug/Library/AS3/classes/org/flashdevelop/utils
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 main.as 

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, http://svnbook.red-bean.com/en/1.0/ch07s03.html


Responses

  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.

    monk.e.boy

  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,
    Wildan

  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):
    http://netpatia.blogspot.com/2009/09/flash-development-on-linux.html

  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:

WordPress.com Logo

You are commenting using your WordPress.com 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

Categories

%d bloggers like this: