Excluding Classes from being Compiled into SWF

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.

Comments

  1. Patrick Whittingham
    May 25, 2004 8:25 AM
    Mike, Is this part of mx or mx2004? Pat
  2. May 25, 2004 12:01 PM
    This is part of MX 2004
  3. May 25, 2004 4:39 PM
    That livedocs link doesn't seem to work.
  4. May 26, 2004 7:12 AM
    The link does seem to work actually, but very slowly (sat on the Flash logo for about a minute).
  5. icee
    May 26, 2004 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 Whittingham
    May 26, 2004 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. edi
    November 12, 2004 3:30 PM
    "Page Does Not Exist"
  8. Zarate
    January 11, 2005 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. January 28, 2005 10:46 AM

Post a comment




Remember Me?

(you may use HTML and Quickcode tags for style)