A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: exported .swf is huge!

  1. #1
    flip-flopper scottPadgett's Avatar
    Join Date
    Jan 2005
    Location
    Boston
    Posts
    425

    exported .swf is huge!

    OK, I'm freaking a bit here. I've committed to building this branded, simple quiz for a client, and I've got the basic functionality running now in an un-designed shell UI. The app is just a landing state, a string of 15 questions built dynamically using a single state, and a result state. Minimal Actionscript controls these rather sparse three layouts, and my 'release' exported .swf file is 308 KBytes. That's a bigger .swf than this giant, giant scrapbook application I was just working on strictly in Actionscript. And I haven't even added the design assets (including animations) to the project yet! I'd hate to see what size this file will be once the graphics assets are added.

    Is this simply a drawback of using Flex? Is there some way to slim down the library of classes that are exported into the .swf or something? The amount of code I've written in this thing is ridiculously small, so I'm now wondering if simply using the Flex framework adds this much dead weight to the .swf file?

    Any tips/help are greatly appreciated!
    :: scott ::

  2. #2
    Senior Member Gohloum's Avatar
    Join Date
    Aug 2002
    Location
    Florida
    Posts
    185
    Read this thread as I posted the solution for another person. Hope this helps.

    http://board.flashkit.com/board/showthread.php?t=808364
    The Early Bird may get the worm, but the second mouse to the trap gets the cheese...

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Location
    Slovenia, Europe
    Posts
    3
    Hey

    Flex framework carries a lot of that extra bytes. As you noticed, if you do Actionscript project it is only couple of kb is size. But Flex project, even a small one without any images or fonts will cost you about 250 to 260kb...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center