Embrace the timeline….

On creating rich, flashy and immersive advertising experiences online by Owen van Dijk

Flex trick 02: extracting the mx classes that Flex uses with ASV

with 4 comments

Just to keep you busy, here another trick: extracting the mx classes that Flex uses. If you browse the filesystem on your application server, you will notice the following directory in your Flex webapps directory:


This directory includes some classes that are used by Flex, but unfortunately it doesn’t include everything, for example the effect classes and the chances that are made to the component framework by the Flex team. Although the documentation that comes with Flex is actually quite good, it’s sometimes easier and faster to have the source code by hand. I will show you how….

1. Buy a copy of ASV from Burak and install it on your PC

2. Run ASV by doubleclicking on it’s icon

3. Select “File->Open”

4. Browse to your Flex webapp on your application server

5. Open the file called “mx.swc” ( it’s located at \WEB-INF\flex\frameworks ) and click “Open”

6. Select the file called “All.swf” and click on “Open”

7. ASV will give you some warning errors. Just select “Yes to All”

8. Close the Error Dialog using the “Close” button

9. Extract the classes, choose “Extract Resources -> Save All Class Scripts…”

10. Select a folder, i was lazy again and choose to output these classes on my desktop

11. Depending on the speed of your machine, this might take a minute or so, but it’s worth the wait

12. When ASV is finished, you now have all the classes that Flex uses including the extra ones not found in Flash MX 2004

Disclaimer: I’m not a lawyer, you might be breaking the EULA so i don’t take responsibility for this trick. Use at your own risk. 🙂


Written by ohwhen

May 31, 2004 at 11:02 pm

Posted in Web/Tech

4 Responses

Subscribe to comments with RSS.

  1. ASV currently does not support Flex, hence all the warnings. Also note that some scripts currently cannot be decompiled correctly.

    Best regards,

    Burak KALAYCI

    June 1, 2004 at 12:17 am

  2. Thats really nice…ASV does loads of things…

    Abdul Qabiz

    July 14, 2004 at 9:14 am

  3. *cough* license *cough*

    mac romedia

    August 23, 2004 at 5:24 am

  4. Alright page is nicely illustrated and i admire the person behind this. I am marking this site in my personal folder.
    If you can send me a list of Flex projects as soon as possible.

    Baadshah khan

    baadshah khan

    December 24, 2008 at 1:46 pm

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: