Compiled .swf suddenly grows in size.

I am working on an application that normally generates a .swf
file of about 1.01 MB in size. After making very slight changes to
the application (text changes, placement changes, very minor items,
etc.) the .swf will jump to a wopping 2.45 MB file size. Something
definitely seems amiss with this. Any suggestions or help would be
greatly appreciated.
Thank you
Trace

text changes, placement changes, very minor items? did you
change the type of containers that things are held in? Did you
embed something that you hadn't before? Can you give an
example?

Similar Messages

  • Compiled SWF compression issues

    I've written some code that generates .as files with embedded image assets then compiles them all into a SWF file so I can easily automate generating asset SWFs, but after comparing the size of the SWF to the size of one generated from publishing an FLA file with the same assets it's a LOT larger. Does publishing from an FLA apply some type of compression that using mxmlc does not? Is there any way to get this outside of using FLAs because have 100s of FLA files is a really horrible option, hence why I bothered doing all of this. Any help would be greatly appreciated, thanks!

    Alright I take that back. While the compression does make the compiled SWF file a lot smaller, when trying to load time image data I keep getting invalid data errors:
    Error: Error #2136: The SWF file file:///app.swf/[[DYNAMIC]]/24 contains invalid data.
        at flash.display::BitmapData/ctor()
        at flash.display::BitmapData()
    Anyone know what's going on?
    EDIT: I figured it out. Apparently you can't use smoothing when you're using compression or it will crash. That's it. Just remove the smoothing="true" tag and it will load fine. Would've been nice if that was in the documentation somewhere...

  • New to flash, swf loaded while changing size

    i'm trying to create a button that will replace the current
    swf with another and i want the size to change between the various
    sizes of each page. i'm currently using the following code in the
    action inspector:
    on(release){loadMovieNum("myfilename.swf",0);
    i know there has to be a simple way to do this! a very
    grateful thanks to anyone who tries to help!

A: new to flash, swf loaded while changing size

b3autiful_dizaster wrote:
> i'm trying to create a button that will replace the
current swf with another
> and i want the size to change between the various sizes
of each page. i'm
> currently using the following code in the action
inspector:
>
> on(release){loadMovieNum("myfilename.swf",0);
> }
>
> i know there has to be a simple way to do this! a very
grateful thanks to
> anyone who tries to help!
You can't change size dynamically as it is defined by the
object embed tags.
You could use WMODE transparency which could help you fake it
tho not always best
solution to go with WMODE. It's a very buggy parameter.
WMODE will remove the background color so the flash movie
appear over the html and you
can see the HTML content trough the movie.
You could define some solid shape for the background on
bottom layer to make it look
like SWF background, than change it with the other loaded
movie making it appear as it
changed size while the over all flash size stats the same. As
said above - faking it.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

b3autiful_dizaster wrote:
> i'm trying to create a button that will replace the
current swf with another
> and i want the size to change between the various sizes
of each page. i'm
> currently using the following code in the action
inspector:
>
> on(release){loadMovieNum("myfilename.swf",0);
> }
>
> i know there has to be a simple way to do this! a very
grateful thanks to
> anyone who tries to help!
You can't change size dynamically as it is defined by the
object embed tags.
You could use WMODE transparency which could help you fake it
tho not always best
solution to go with WMODE. It's a very buggy parameter.
WMODE will remove the background color so the flash movie
appear over the html and you
can see the HTML content trough the movie.
You could define some solid shape for the background on
bottom layer to make it look
like SWF background, than change it with the other loaded
movie making it appear as it
changed size while the over all flash size stats the same. As
said above - faking it.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

  • My Safari page (with Lion) suddenly doubles in size?

    With Lion, my Safari pages suddenly double in size with a slight movement of my mouse. Any ideas on how to fix this?  Also, with Lion, when I leave my iMac for some period of time, the pages freezes and the cursor point pixilates when I move the mouse. I have to turn off the computer and put in my password to restore functions. Any clues?
    p bishop

    I'm not sure what you mean by the page doubling in size. Do you mean the contents enlarge as if you zoomed in? (The window remains the same size.) If so, check the "Smart zoom" option in the Mouse pane of System Preferences. There is a Smart Zoom option in the Trackpad pane also.

  • Why are the compiled SWF colors brighter than in Flash CC while programming

    Just a quick question, when I open the SWF with FlashPlayer the colors are brighter than in Flash CC while programming, why is that?
    Left part is in Flash CC right side is the compiled SWF opened with FlashPlayer.

    Flash uses the sRGB color space. If your original art was created using a different color space then the colors will look shifted.
    This article may help: http://www.adobe.com/devnet/flash/quickstart/color_correction_as3.html

  • Error in compiling swf for Flex 2 application

    Hello experts!
    After applying SPS 7 for EHP1 7.0 I am receiving the following error when deploying my model.
    Error in compiling swf for Flex 2 application. The log is appended below.
    I realized the error only occurs when I use value help.
    Can anybody advise please.
    Thanks,
    Ibrahim
    Error in compiling Flex application: /usr/sap/QJB/JC01/j2ee/cluster/server0/GUIMachine_Business_Packages/[xxx]MyModels.QM.Tab_test/FLEX_COMPILATION_FOLDER/AAD3KX_P.mxml(17): col: 145 Error: Element type "vc:LabeledDropDown" must be followed by either attribute specifications, ">" or "/>".
                      <vc:LabeledDropDown comboHeight="16" width="200" labelField="text" selectedIndex="{VC.getEnumIndex(AXCWV1, AAA3L21.Current.SELOP_TYPE || "BT", 'value')}" valueProperty="SELOP_TYPE" valueObject="{(AAA3L21.Current)}" id="ACA3L21_DropDown1" dataProvider="" comboComponent_y="40" prompt="" label="{(Languser1.BhlfcdeBHckjkGcInkHE)}" comboY="40" visible="{DE.NOT(false)}" creationComplete="AXCWV1.addEventListener(InfosetEvent.DATA_REFILLED, selectDefaultACA3L21_DropDown1)" component_x="88" x="8"/>
    Edited by: Ibrahim Ibrahim on Apr 15, 2011 1:19 PM

    We have solved this by applying note: 1510453 - Certain default values in list-based controls causes error

  • Compile SWF version 14 (Air 3.1) from Flash Pro CS55 possible?

    Dear Adobe community,
    Has anyone been able to take an existing FLA file in Flash Pro CS55 and 'publish' an swf file as version 14 (Air 3.1)? I'm trying to use a native extension for iOS on GitHub, but my app has been on Flash Pro and hence have been publishing, then using ADT to compile the native extensions I need. However, to use iOS5 features (and add additional frameworks from Xcode like MessageUI), the swf file has to be version 14.
    With the latest Flash Pro CS55 update, my compiled SWF files are version 13, and when I try to publish an ipa-ad-hoc file, it tells me the "root swf file version" is 13 while the extension (I'm assuming library.swf) is in version 14. I've of course tried overlaying the Air 3.1 SDK over the appropriate directories within CS55, as I did with Air 3.0 SDK, but no go?
    thank you and with kind regards,
    Alex

    Hi user23890123,
    I need swf-version 14, because (and please correct me if I'm mistaken), Air SDK 3.1 started support for being able to include non iOS-API-calls (beyond stuff like you see here on the samples: vibrate the phone, get battery level, pop up an alert, etc.). For example, being able to include the MessageUI framework to pop open an sms or email composer view, or features new to iOS5. You can now include a platform.xml file in the .ane file where your static library is, and include them like such:
    <platform xmlns="http://ns.adobe.com/air/extension/3.1">
        <sdkVersion>5.0</sdkVersion>
        <linkerOptions>
                  <!-- to use the MessageUI framework -->
            <option>-framework MessageUI</option>
        </linkerOptions>
    </platform>
    thank you,
    Alex

  • Where can I find a complete set of compiled swfs for 2.0?

    Where can I find a complete set of compiled swfs for 2.0?
    I want to place these directly on my website.
    Thanks,
    Ken

    So basically Apple is hiding which networks allow rentals vs. purchase until you buy an ATV2,
    and then find out you can't watch "The Closer", "Men of a Certain Age", "In Plain Sight", etc., etc.
    Or until you spend a bunch of time digging through iTunes show by show...
    Sad...Guess I'm sticking with Cable for a while longer....

  • [svn] 4669: Fix for - compiled SWF varies depending on version of java pointed

    Revision: 4669
    Author: [email protected]
    Date: 2009-01-26 11:00:48 -0800 (Mon, 26 Jan 2009)
    Log Message:
    Fix for - compiled SWF varies depending on version of java pointed
    QE Notes: Some mustella tests may need to be updated, as includes will be processed as per the order specified during compilation.
    Doc Notes: None
    Bugs: SDK-18168
    Reviewed By: Paul
    tests: checkintests, mxmlcunit
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18168
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcMovie.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/linker/FlexMovie.java

    Revision: 4669
    Author: [email protected]
    Date: 2009-01-26 11:00:48 -0800 (Mon, 26 Jan 2009)
    Log Message:
    Fix for - compiled SWF varies depending on version of java pointed
    QE Notes: Some mustella tests may need to be updated, as includes will be processed as per the order specified during compilation.
    Doc Notes: None
    Bugs: SDK-18168
    Reviewed By: Paul
    tests: checkintests, mxmlcunit
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18168
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcMovie.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/linker/FlexMovie.java

  • Why my compiled swf is loading too slowly?

    Hi,
    Previously we are directly accessing th site with .mxml url.
    Thta time file was loading too slowly. But afterwords, we are
    loading compiled .swf file. It is much better.
    assume, we are having two swfs
    1.compiled swf is 400KB.
    2. and one animated swf is 1.5MB.
    here for our site animated swf it self is loading much faster
    then my compiled swf. Why it is happenning like this? What we have
    to do to load our compiled .swf also to be loaded much more fastly.
    Thanks
    Satish KC.

    Load speed depends on how you have architected the
    application.
    Avoid nested containers. Do not use creationPolicy="all"
    There are articles available out there try google.
    Tracy

  • Desktop icons moving and growing in size

    We just purchased a MacBook Pro 15", 2.8GHz. I transferred all my files from my old MacBook via FireWire. Everything seems to work fine. The only problem I have is that my desktop items keep moving after I organize them the way I want them. And they also growing in size each time. I have only about 8 icons on my desktop and they take up almost the whole screen. Any suggestions to keep them from omving around? Thank you very much!

    FGI_Webmaster: Close or minimize any open windows on your desktop so the desktop is exposed. Click once on it to make the Finder the active application. Place the tips of your thumb and forefinger on the middle of the trackpad and slowly move them closer together, then farther apart. See what happens to your desktop icons? This "pinch to zoom" trackpad gesture is probably responsible for the oversized icons on your desktop. I suspect you've been doing it accidentally without noticing. Getting used to the trackpad and avoiding having two fingers in contact with it when you don't mean to is the solution.

  • My compiled swf can't run on web

    My compiled swf can't be browsed on web,but it works fine on
    localhost. Which means that my compiled swf can run on localhost,
    but if I try to run the swf on web(from other machine), then it
    will hold for a long time, and I can't see anything but a grey
    screen. I wrap my swf file via Flex builder. I can't figure it out.
    Is there any one who have ever had experences like this, and know
    the solutions?
    My MXML is:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="testRmt.send()">
    <mx:HTTPService id="testRmt" url="
    http://140.122.79.118/TestFlex2_2.php"
    useProxy="false" method="POST">
    <mx:request xmlns="*">
    <id>{myDG.selectedItem.id}</id><username>{username.text}</username><email>{email.text}</e mail>
    <OP>{OP}</OP>
    </mx:request>
    </mx:HTTPService>
    <mx:Script>
    <![CDATA[
    import flash.net.LocalConnection;
    [Bindable]
    public var OP:String;
    public var ad:LocalConnection = new LocalConnection();
    ]]>
    </mx:Script>
    <mx:Button label="Send" click="OP='INS';testRmt.send()"
    x="446" y="204"/>
    <mx:HBox horizontalScrollPolicy="off" width="200"
    height="24" y="142" x="300">
    <mx:Label text="Username:"/>
    <mx:TextInput id="username"/>
    </mx:HBox>
    <mx:HBox horizontalScrollPolicy="off" width="200" x="300"
    y="174">
    <mx:Label text="Email:"/>
    <mx:TextInput id="email"/>
    </mx:HBox>
    <mx:DataGrid id="myDG" width="625" height="200" x="87.5"
    y="234" dataProvider="{testRmt.lastResult.users.user}"
    click="delBtn.enabled=true" >
    <mx:columns>
    <mx:DataGridColumn width="25" headerText="Id"
    dataField="id"/>
    <mx:DataGridColumn width="150" headerText="Name"
    dataField="name"/>
    <mx:DataGridColumn width="450" headerText="Email"
    dataField="email"/>
    </mx:columns>
    </mx:DataGrid>
    <mx:Button enabled="true" label="Del" id="delBtn"
    click="OP='D';testRmt.send();username.text='';email.text='';"
    x="667.5" y="442"/>
    <mx:Label x="10" y="10" text="Flex Example" width="186"
    fontSize="15" color="#ffffff"/>
    </mx:Application>
    Text

    I have had the same or similar problem, in my case with
    ColdFusion projects. I have uploaded several sample projects to my
    shared hosting web server; all the projects that do not use a
    server run fine, buit I have never been able to make the CF
    projects run. I have posted about this two or three times, but
    nobody ever answered.
    Maybe our question was too stupid to deserve an answer from
    busy people. I never thought of this, but today I got an email from
    my Hosting provider. Quoting part of that message:
    “We will be performing a ColdFusion upgrade to CFMX
    7.02 on the
    server where your account(s), timo, mochica, is/are hosted.
    We have
    scheduled the upgrade to take place between 3:00 AM EDT and
    6:00 AM
    EDT on Saturday, August 5th, 2006.
    We do not anticipate more than 15 minutes of downtime once
    the
    maintenance begins .....”
    Also, I found that the projects that do run require all those
    files that are generated when FB builds the project, so I have been
    uploading the entire output folder (usually, but not always,
    ‘bin’).
    I’m hoping I won’t have any more problems after
    Saturday.
    Peace,
    Carlos

  • Apps growing in size!!! Any ideas?

    Hi to all! I've noticed apps growing in size the more I use them. Like facebook. I download it at say 10mb and after a couple weeks the app has grown to over 100mb! However, settings doesn't offer me a way to clear the documents & data that facebook has been accumulating. Any ideas...? Thanx in advance!

    This could be some cache saved in the game folder. Just like your progress on a specific game. The longer you play it, the bigger it gets.
    I think it's just normal.

  • How to compile swf with ANT en ASC 2.0?

    He All,
    I used to compile a swf in Flash builder with this antscript below. But mxmlc in not supported anymore. Any idea how to compile the swf with ASC 2.0?
    <target name="compile.apple" depends="clean.apple">
      <echo message="Compiling swf"/>
      <mxmlc file="${app.projectfile}" output="${app.rootfile}" optimize="true" configname="airmobile" debug="false">
      <load-config filename="${app.rootdir}/resources/ant/build.config"/>
      <source-path path-element="${flex.sdkPath}/frameworks"/>
      <source-path path-element="${app.sourcedir}"/>
      <source-path path-element="${app.rootdir}/libs"/>
      <static-link-runtime-shared-libraries/>
      <compiler.library-path dir="${flex.sdkPath}/frameworks" append="true">
      <include name="libs/*" />
      </compiler.library-path>
      <arg line="-swf-version=17" />
      <arg line="-define=CONFIG::debug,false" />
      <arg line="-define=CONFIG::device,true" />
      <arg line="-define=CONFIG::local.false" />
      <compiler.library-path dir="${app.rootdir}" append="true">
      <include name="libs/*" />
      </compiler.library-path>
      </mxmlc>
      </target>

    He Peter,
    Thanks for your reply. I've made some steps, but still no perfect solution. I've managed to compile a swf with ant using only the AIR SDK.
    But, check these results
    - Compiled using Flash Builder release : 455 kb
    - Compiled with ant using mxmlc : 104 kb
    - Compiled with ant using compc : 139 kb
    Can you provide us an example, how to compile a swf using ant. For example, with an AIR mobile project.
    Thanks Peter.
    Tim.

  • Fatal error compiler limit : debug information module size exceeded ?

    Hy
    I try to compile a model, size 6 Mo.
    I can simulate it on my pc, but when I want to generate a dll with SIT I have a error fatal...
    fatal error C1067: compiler limit : debug information module size exceeded
    Do you have any idea ?
    Thanks
    FB

    Hi,
    Is this still linked to this thred? or do you still have the problem ?
    Regards.
    Richard Keromen
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception

  • Maybe you are looking for

    • Reinstall Photoshop Elements 6 after Hard Disk upgrade on MacBook

      Hi I am trying to reinstall Photoshop elements after upgrading HD on macbook 2.1 GHz Intel Core 2 Duo. OS 10.5.8, 2.5 Gb Ram using SuperDuper 2.1. Tried running the transferred copy of P.E.6 --> hangs while trying to initialize menus After searching

    • How to take action when vi stops running

      Sorry for the newbie question but I can't seem to find the answer anywhere. How do I go about taking action such as turning off leds or reseting some variables when my vi stops running. Is there some sort of boolean flag that I can read to determine

    • Importing packages for XMl parsing

      In my Java program,statements to import org.w3c.dom, org.xml.sax, javax.xml.parsers, javax.ejb packages are not working.Can somebody tell me which jar files I should add in the classpath of my machine?

    • Listener for a JTabbedPane

      HI all, I am trying to update a String on a "summary tab sheet" (in a JTabbedPane) when the tab is selected. When I look in the API, I notice that it has a ChangeEvent associated with it, but I am not quite sure when it fires. I was assuming that it

    • Java from command line, in winnt

      c:>java Test the Test.class being in c: direcctory directly gives ClassNotFoundException