Mike Chambers

code = joy

Excluding Classes from being Compiled into SWF

with 9 comments

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.

Written by mikechambers

May 25th, 2004 at 6:51 am

Posted in ActionScript

9 Responses to 'Excluding Classes from being Compiled into SWF'

Subscribe to comments with RSS

  1. Mike,

    Is this part of mx or mx2004?

    Pat

    Patrick Whittingham

    25 May 04 at 8:25 am

  2. This is part of MX 2004

    Daniel Dura

    25 May 04 at 12:01 pm

  3. That livedocs link doesn’t seem to work.

    Vera

    25 May 04 at 4:39 pm

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

    Gary Burgess

    26 May 04 at 7:12 am

  5. 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 …)

    icee

    26 May 04 at 8:28 am

  6. 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

    Patrick Whittingham

    26 May 04 at 11:29 am

  7. “Page Does Not Exist”

    edi

    12 Nov 04 at 3:30 pm

  8. 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!

    Zarate

    11 Jan 05 at 5:47 am

  9. Raul Arantes

    28 Jan 05 at 10:46 am

Leave a Reply