Excluding Classes from being Compiled into SWF

mikechambers May 25th, 2004

Did you know that you can exclude ActionScript classes from being compiled into the final SWF? You may want to do this to decrease file size, but still have the classes avaliable for type checking.

You can find out how to exclude classes from being compiled here.

9 Responses to “Excluding Classes from being Compiled into SWF”

  1. Patrick Whittinghamon 25 May 2004 at 8:25 am

    Mike,

    Is this part of mx or mx2004?

    Pat

  2. Daniel Duraon 25 May 2004 at 12:01 pm

    This is part of MX 2004

  3. Veraon 25 May 2004 at 4:39 pm

    That livedocs link doesn’t seem to work.

  4. Gary Burgesson 26 May 2004 at 7:12 am

    The link does seem to work actually, but very slowly (sat on the Flash logo for about a minute).

  5. iceeon 26 May 2004 at 8:28 am

    Thanks to Mike for pointing out this convenient way excluding classes.
    I had to use intrinsic keyword before.

    btw,Is there a method to exclude whole package,(mx.core or mx.controls …)

  6. Patrick Whittinghamon 26 May 2004 at 11:29 am

    good point icee, i wish the next version had an option to exclude class/methods/properties within itself, so i didn’t have to change a xml file. This would provide ‘thin’ components and speed the delivery time. Do you hear me Mike…:)

    Pat

  7. edion 12 Nov 2004 at 3:30 pm

    “Page Does Not Exist”

  8. Zarateon 11 Jan 2005 at 5:47 am

    Hello!

    The link to the LiveDocs still didn’t work. But i find that post of Martijn de Visser:

    http://www.martijndevisser.com/archives/000034.php

    HTH!

  9. Raul Aranteson 28 Jan 2005 at 10:46 am

    http://livedocs.macromedia.com/flash/mx2004/main_7_2/00001081.html

    ;)

    raul
    .

Comments RSS

Leave a Reply