• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Use What You Got: Tips for Bu... > Components Eat Up File Size

Components Eat Up File Size

Create a new Flash document and, without adding anything to it, publish it and check the file size of the exported SWF. It should be roughly 4K. Go back to the document and drag a button component from the Components panel onto your Stage. Re-publish your document and check the file size of the SWF again. It should be roughly 42K. I know what you’re thinking: “What gives, Beav? It’s only a little button!”

Go back to your document and add a Checkbox and Label component to your Stage. Check the file size again and you’ll see that it only went up a few kilobytes this time. Here’s the thing: Components are complex creatures and can add some considerable size to your file, but the good news is that they share a lot of the same assets when you add them. That means that the first one you add can bump your size a bit, but each one after that will share those assets and likely add very little to the size of the file.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint