Flex 2 Project in Flex 3 Swf File Size Increase?

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Flex 2 Project in Flex 3 Swf File Size Increase?

    I have imported my Flex 2 Projects into Flex 3, when I compile my code the
    resulting swf file is 100-200K larger. Why is that? I thought Flex 3 made
    smaller swf files...

    Any info would be great, thanks.

    Art

    Arty13 Guest

  2. Similar Questions and Discussions

    1. include xml data file in Flex Library Project
      Hi all, i've got a Flex Library Project in which I include some assets, as css files and some xml data files too. They are located in my project...
    2. Flex 3 Project Set Up
      I'm trying to create a new flex project in Flex Builder 3, and I can't seem to find the answers I'm looking for to make this work. File | New...
    3. Double file size if compiled in Flex Builder 3 insteadof 2!
      We were updating a project that we had originally done in Flex Builder 2. The file size of the compiled swf was 271k. Well, we had to make some...
    4. Flex Builder is not building my Project
      Hi all, I m very new to this Flex. I applied "clean" to my project, from that I am not able to bulid any of my projects.It deleted .html and other...
    5. MP3 to Director - Increase in file size
      When I simply import MP3 files into Director MX, the file size triples. Is there some trick I am missing here?
  3. #2

    Default Re: Flex 2 Project in Flex 3 Swf File Size Increase?

    Its bigger because of the additional features added in flex 3. The framework
    size is bigger in flex 3.

    However, you can make use of the framework cache in flex 3 to significantly
    reduce the size of your swf. Take a look at
    [url]http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_09.html[/url]

    Thanks,
    Gaurav

    Gaurav J Guest

  4. #3

    Default Re: Flex 2 Project in Flex 3 Swf File Size Increase?

    But if I choose to use FlexSDK 2 in the Flex 3 enviroment, should that still increase the resulting swf file?

    Thanks,

    Art
    Arty13 Guest

  5. #4

    Default Re: Flex 2 Project in Flex 3 Swf File Size Increase?

    No that should not increase the swf size.

    In that case you should get swf with similar size as with flex 2.0.1.

    But are you comparing with Flex 2?


    Gaurav J Guest

  6. #5

    Default Re: Flex 2 Project in Flex 3 Swf File Size Increase?

    I have both Flex 2 and Flex 3 installed on my Dev Machine, I have imported the
    same project into each install of Flex using the SDK 2.0.1 HotFix 3.

    If I run (compile) my project in Flex 2 the size is fine (239K), but when I
    run(compile) my project in Flex 3 the swf file size is 381K

    Thats a huge difference, and I dont know why its so much bigger.

    Any ideas?

    Arty13 Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139