SWF compression issues

I'm using Flash MX 04 Pro and am having issues with SWF
compression when compiling.
I have two .FLA which last week compiled to 52k and 83k.
Today they're compiling to 102k and 172k respectively!!!
I have not made any changes to the files, publish settings,
or general Flash settings whatsoever?
Any ideas why this is happening? Rather urgent as I have
things that need to go live this afternoon.
Thanks in advance!

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...

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...

  • GZIP Compression Issue in Weblogic 8.1

    Has anyone experienced issues with gzip compression filtering in 8.1?
    After about 2 months of dev. and testing with the filter, a bug has been found
    in our portal, and I have traced it back to the filter that I downloaded from
    dev2dev code and utilities.
    It is strange. The only time I see an issue is when a user clicks the "back button"
    in the browser itself to go back to a previous page, AND then clicks a link (for
    example) in a portlet that is tied to an action in a jpf for that portlet. The
    error only happens for actions in a portlet that are local to that portlet (no
    forwarding to other portlets or anything fancy)...just pure "local internal forwards."
    If you do this, USING THE BACK BUTTON to get back to this page with the portlet,
    when you click the action, you are actually taken to the page where you were when
    you clicked the back button.
    I have re-created this is simple portals that have no content, so I know it is
    not something else I introduced.
    Any ideas? Maybe it is the filter-mapping pattern I am using??? I am currently
    mapping on *.portal, but this is the only situation that seems to break.

    For those interested, I have some updates on this subject and someone out there sent me a mail asking if I ever found anything out.
    Basically, when I encountered this issue the first time, I was working on a SP2 Portal. We were having numerous small bugs like this one with SP2 that centered around the back button or refresh button. BEA gave us a "super patch" back in July or so that when applied to our SP2 project, fixed our issue. I have sense moved onto SP3, and I did not see the compression issue (so I think SP3 must have the patches correctly setup...like I would assume it would).

  • SWF Compression

    Hi,
    I was wondering if someone could help me with what I think is
    a swf compression error.
    I created an animation in Flash MX using a large Jpeg
    background and smaller gif objects. The Jpeg moves at times, as if
    a camera is panning accross a scenery while most times the gif
    objects are stationary or move off the screen. The animation is a
    total of 7 scenes. However when I convert the animation to a .swf,
    the background at times becomes blurry and smeared (like a gradient
    or horizontal lines) even though the background is stationary in
    that part of the scene and only the foreground gif objects are
    moving. Other scenes the background pans correctly in the SWF and
    everything looks fine in the original Flash MX file.
    My question is, is this an error caused by Flash MX or SWF
    compression? Is there anything I can do to correct this and has it
    happened to anyone else?
    I can post the animation on my website if anyone wants to see
    the error.

    "JstPeachy" <[email protected]> wrote in
    message
    news:fmlr27$c9r$[email protected]..
    > Hello,
    >
    > I am looking for a program to shrink my gigantic .swf
    file. Anybody know
    > of any programs?
    >
    > Thanks,
    >
    > -Peachy
    Flash .. turn on the compression option on output. I'm pretty
    sure free
    tools like FLASM will also do the compression for you.
    If that is already one, try reducing the size of your images,
    the quality of
    your sounds etc, the number of embedded fonts you use, if you
    have complex
    vector drawings, try drawing them smaller and then scale them
    bigger.

  • Gzip compression issues from using a proxy?

    Hello I am unable to load some websites now from suspected gzip compression issues? I have been using a proxy and now my firefox browser is messed up Plz Help [email protected]
    Thanks

    It is possible to autenticate to a proxy server, but the question is what tye of authentication your proxy is carrying out . "Basic" or "digest".If it is Basic then you can use Base64 authentication scheme. You have to first set the System property variable to find proxy server (like port and IP Address)

  • Compressed .swf Display Issue

    Hey guys,
    I recently created a simple Flash animation, and uploaded it HERE (deviantART stash). I hoped to upload an LZMA compressed version to reduce the file size and increase its loading speed.
    Problem: although the animation shows when you click the "download" button, it doesn't show on the main page.
    These are my publish settings:
    The UNCOMPRESSED animation shows up fine (uploaded HERE), but the file size is way too big and it loads way too slowly for me to work with.
    I realised that in the page source of the artwork's page, the compressed file shows the following code:
                  <iframe class="flashtime" src="http://sandbox.deviantart.com?fileheight=0&filewidth=0&filename=fs70%3Af%2F2014%2F218%2F6% 2F8%2Ffinalyeah_fixed_by_eresince-d7tyi43.swf"                   height="0"
                       width="0"
                        frameborder="0" scrolling="no" noresize="noresize"></iframe>
    The height and width for the artwork displayed on the page is 0px x 0px, though its original dimension is 700px x 700px. This does NOT apply for the uncompressed file, which displays fine. I'm not sure if this says anything, just hope this helps a little.
    I'm not sure if I'm doing anything wrong (publish settings? actionscript coding?) Any sort of help that could help me solve this problem is much needed because I've been stumped for more than a week now, it's very frustrating.
    * Please note I cannot edit the website's page because this is not my site! Just an online art community.
    Thank you so much for your time!

    Hey kglad, I published the HTML code of the Flash file and pulled it into Chrome - it works. Does this mean there's some sort of clash between my file and deviantART's coding? Since dA isn't helping, I would really like to see what I can do to make it work or all my work on this flash is wasted.

  • Converting a PDF to a SWF Font issues

    Hi,
    Maybe somebody out there has seen this and can guide me in
    the right direction?
    I am trying to convert PDF files into a flash book using the
    flashprinter product.
    Here is an example of the PDF I am trying to convert. (you
    should see it is using the
    following fonts PostScript Fonts - HelveticaNeue-HeavyCond,
    HelveticaNeue-LightCond, HelveticaNeue-LightCondObl,
    NewsGothic and NewsGothic-Bold).
    http://www.sendd.com/~webdrop/htdocs/200704/FontProblems.pdf
    When this gets converted to the Swf (LOOK at the file ZOOM+
    Mode)
    http://www.sendd.com/~webdrop/htdocs/200704/EZBlue_v11t.swf?RRDid=aFC3tehrg1VGCUIylKIQ
    Once I saw what was happening I thought it was a font issue
    and I made up a page with all the fonts used by using the ATM
    sample viewer.
    http://www.sendd.com/~webdrop/htdocs/200704/AllFontsUsed.pdf
    (Look at the SWF file in the ZOOM + mode view - looks great)
    http://www.sendd.com/~webdrop/htdocs/200704/EZBlue_v11t.swf?RRDid=6J5LSHAZKnf9qPXa1VGk
    If anybody out there can help that would be great,
    thanks,
    Swf_trying

    Hey Joseph,
    Please tell me whether you are able to convert any other PDF file to excel format or not?
    What exact error message do you get?
    Are you trying to convert a scanned PDF document?
    Hope to hear from you.
    Regards,
    Anubha

  • Flex swf cache issue in IE

    Hi,
    We are facing an important issue with the IE cache of the swf file. Could you please help us?
    For example, we built and put calendar.html & calendar.swf on server. We don't want users to download a 800 KB large swf file everytime when they access the web page, especially at a lower speed of network. However, although we coded some IE cache setting in calendar.html, like response.setHeader("Cache-Control" ...., IE still download the file from server sometimes instead of using the local one in cache.
    One of reasons is the cache size. If you set the size to 50 MB by default, it will be full very soon after you view some websites. Then IE will clean part of the cache. The cached swf file might be cleaned, or might not be. We never know. If it's cleaned and you access calendar.html, you will found out IE downloads the file again from server. To avoid this, users can enlarge the cache size, but the downloading still happen sometimes. Also, letting user enlarge the cache may not be a good and final solution.
    We want to force IE to use the local file everytime. If we updated the file, we want IE to download it in this case, and download it only once.
    So, we want to ask if you also have faced this kind of issue and how you did it? Please follow this topic or anyone is welcomed to send an email to me at [email protected]
    Thank you very much.

    Hmmm
    Not sure about this one.  However to reduce download time have you tried using Runtime Shared Libraries.  This allows the Flash Player to cache the Flex Framework.  This means the first time someone gets a flex app it will take a bit longer to load, but it will cache the framework, then next time the load is quicker.
    Its the Flash Player that caches the frameowrk also, so the browser can;t clear it.
    That might help
    Andrew

  • Loading external .swf files issue...

    Hi,
    I'm working on a simple example of loading external swf files with some ActionScript.
    I've placed an instance of List Component and gave it an instance name of loadList. Using Component Inspector, I assigned data for 4 external files as below:
    Next, I've added a UILoader component (instance name - loadWindow). The code that is supposed to load the content into UILoader is this:
    loadList.addEventListener(Event.CHANGE, selectItem);
    function selectItem(e:Event):void
        loadWindow.source = e.target.selectedItem.data;
    When I run it in a FlashPlayer, it only loads the first 2 swf files....  (I checked the files and all files are fine).
    I hope to get some light on the issue so any help will be appreciated.

    Try tracing e.target.selectedItem.data to make sure it's what you expect.
    Also, have you tried using the load() method instead of the source property?

  • Swf within a Swf scoring issue

    I've created a flash file (my project) that is loaded into another swf (our player) file on our site. When I test the project file on my computer the scoring displays correct at the end of the lab. When it is loaded into our  swf player on the site the score doesn't display. I'm at a lose for why this is happening. If someone could provide me with some direction I would be very thankful.
    // Declare variable
    var numOfCorrect:int = 0;
    // Every time someone click the correct selection it adds one to the score
    function correct(e:MouseEvent):void{
         numOfCorrect++;
    //I have a text box with the name yourScore
    yourScore.text = numOfCorrect + " out of 5";
    It is very basic code so I have no idea what is isn't working. My only guess is there is some kind of conflict once it is loaded into an external swf. What would I do in this case? Thanks.

    I seemed to have figured it out. I changed the text box from TLF Text to Classic Text and selected Dynamic Text. Also changed the Actionscript up a little.
    instead of just:
    yourScore.text = numOfCorrect + " out of 5");
    i did:
    addEventListener(Event.ENTER_FRAME, displayFinalScore);
    function displayFinalScore(event:Event){
        yourScore.text = String(numOfCorrect + " out of 5");
    Not sure which of these things fixed the issue but it is working now. Thanks for the help though! Now I just need to figure out the issue with the drag and drop.

  • SWF download issue

    Hi
    I am facing a very strange problem. I have created a flex
    application successfully. I have tested it on localhost as well as
    on intranet and it worked fine for both. But when i hosted it on
    the server, I can to know that the page embedding that swf file
    doesn't display, while swf file is still there. I can't figure out
    what is the real issue. Can someone help me out by giving
    suggestions?
    Regards
    Saqib Rasheed

    Security sandbox issue?
    Tracy

  • SWF animation issue in Captivate CS4

    Hello All...
    Okay, I have been working on this for hours, and I am getting pretty frustrated.
    I have an swf animation that I need to insert into Adobe Captivate CS4 slide. I have thested the swf file and it opens and plays just fine. I am able to insert it into the Captivate slide just fine, and it plays - however it only plays for about 27 seconds then cuts out. The total swf animation is approx. 40 seconds long.
    Why is it cutting out the animation? When I import the swf file, it plays the entire animation before I actually insert it (in the Animation window). However, the "duration" only shows 27.7 seconds. Why is it only showing a duration of 27.7 seconds, when the actual animation is longer?
    I extended the slide to be over 40 seconds in length, and I am playing the animation for the "duration of animation" - but it is still stopping early!
    Any ideas?
    Thanks for the help, it is much appreciated!

    Hi there
    I'm wondering if the issue might be a mismatch of frame rates. You need to investigate the frame rate the SWF was created at. Captivate typically uses 30 frames per second. So if the SWF animation has a different frame rate, perhaps that explains it?
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Dynamic swf loader issues...

    Hey guys,
    Im working on a flash project that dynamically loads other
    flash videos into a 'holder' movie clip. This holder should never
    be larger than 500x330 however, some of the files it loads may be
    larger than that. At any time, there maybe 1-N files because Im
    using XML to store the filenames (and display names) so when I
    click on a button (1,2,3,4 and 5 and "pagination" is used) I clear
    the previous movieclip (or so I think), load the current file into
    the holder_mc and then calculate offsets for centering the
    holder_mc (the holder_mc is actually a child of 'main_mc') I also
    try and scale the holder_mc down to fit the required dimensions of
    500x330....
    This is where it goes wacky. First off all, I have to click
    the button 3 times (reload the same swf 3 time) before it will
    scale and position correctly. Im 100% positive that the previous
    movie is being cleared and if it isn't then theres a problem with
    flash it self because i have followed the documentation and about
    10 articles just to ensure that I was doing it right)
    Anyway, the problem is... sometimes they are PERFECT and
    other times they are to large, to small, etc. Im going nuts trying
    to solve this. I was actually having the same issue with another
    project where once I tried to "restart" the game (ie. resetting
    everything back to original values) the collision detection was
    totally messed up... it almost seemed as though the previous data
    was causing collisions even when the actual movie clip (and I put a
    box for the bounds for visuals) was tripping a collision WAY TO
    EARLY).
    Anyway, I really need help with the previous issue. Please
    help!!
    -Jason

    I played around with the moviecliploader the other day but I
    don't really know what the benefits are over the standard
    loadMovie. Heres the basic function (was much more complex than it
    is now)
    function LoadMc()
    var file = mcList[curPage*5+index];
    main_mc.holder_mc.clear();
    loadMovie(file, main_mc.holder_mc);
    //this gets called in onEnterFrame so only allow this
    function to be ran once
    //per 'click'
    loaded = true;
    if(main_mc.holder_mc._width > 500 or
    main_mc.holder_mc._height > 330){
    main_mc.holder_mc._width = 500;
    main_mc.holder_mc._height = 330;
    var xcenter = ((500 - main_mc.holder_mc._width)*0.5);
    var ycenter = ((330 - main_mc.holder_mc._height)*0.5);
    main_mc.holder_mc._x = xcenter;
    main_mc.holder_mc._y = ycenter;
    }

  • Cube compression issue

    Hello Gurus,
    we have some strange behaviours with cube compression.
    All requests are compressed, but in F table we still have some records.
    The same records are stored in E table too, but with BEx query execution we can see correct result.
    If we execute query in debug on RSRT, with SQL code display, the query reads only from F table or aggregates.
    How it is possible?
    We just provide to insert the COMPNOMERGE object in RSADMIN table, but only after the first compression. Do you think thath with a initialization of cube and a new compression with COMPNOMERGE object could solve our problem?
    Could you help us?
    Thanks in advance.
    Regards.

    Vito Savalli wrote:>
    > Hi Lars, thanks for your support.
    > We don't have an open support message for this issue, but if it will be necessary, we will open it.
    >
    > I - The same records are stored in E table too, but with BEx query execution we can see correct result.
    > You - The first part of this sentence is technically impossible. At least the request ID must be different in F- and E-fact table.
    >
    > Ok for the request ID, I know it. But, if we don't consider request ID (of course isn't equal) and we check the characteristics values by SID analysis, we find the same complete key both in F and in E table.
    >
    Well, but that's the whole point - the request ID!
    That's why we do compression for at all - to merge together the data for the same key figures if they exist in both tables.
    It's completely normal to have this situation.
    > I - If we execute query in debug on RSRT, with SQL code display, the query reads only from F table or aggregates. How it is possible?
    > You - Easy - you're statement about all requests being compressed is not true and/or it reads the necessary data from the aggregates.
    >
    > I executed with RSRT one of record which is in both tables.
    Well, obviously there was some other implicit restriction that lead to the selections made by OLAP.
    Maybe the request read from the F-Facttable was neither rolled up nor compressed.
    > Very helpful, thanks.
    > Any others suggestions?
    I'd check exactly the status of the requests and where they can be read from.
    You may also try out to disable the aggregate usage in RSRT to see whether or not the data is also read from the E-facttable and check the result of the query.
    regards,
    Lars

  • MPEG-2 Compression issue!!

    I’m getting a very a annoying issue when using compressor.
    I have a 04:80 second apple pro res export form final cut, which I am then importing into compressor and applying the SD DVD: best quality 90 mins template so I can burn to a DVD.
    The compression goes through successfully, however when I play the mpeg file through quicktime it takes about 10 seconds to play and says the duration is 2 hours long. The video IS there in the first 5 minutes but it keeps going with a black screen for 2 hours. If I try to burn this to disc any other video before it plays fine but when the track with this file comes it does nothing and restarts.
    I’m using the default DVD settings in compressor and have tried high bit rate and lower but still does the same issue. The apple pro res file seems to have nothing wrong with it. Also, if I cut a fragment of the video and export using FCP and compress that it seems to work fine with the correct duration.
    Not sure what the problem is, any help asap would be great?

    There may be a clip or two somewhere down the Timeline that you're not aware of.  In FCP, with the Timeline window active, set an IN and OUT point for the part you want to export ... then export.   If that doesn't work, try exporting a self-contained movie (File->Export->QuickTime Movie) and see if that plays OK in QuickTime Player 7.  If it does, use that file in Compressor.
    -DH

Maybe you are looking for

  • Brand New MacBook Air Randomly Resetting (IMO WiFi Issue)

    Good evening, My problem is as follows: I purchased a brand new Macbook Air last week and since the get go have been having issues while transferring large amounts of data over WIFI. The issue is that it seems when there is no activity (I leave the f

  • Why was my review removed?

    I'm at a complete loss to know why my review of Empty Button Cache was removed. I can't ask the editor who removed it as apparently I can't reply to the email so informing me. I can't reproduce the review here because I saw no reason to keep a copy.

  • Grouping Selection in CS 5.5

    In CS4 I ran this code where I was selecting certain objects on specific layers and then grouping the objects.  In CS 5.5 this code still selects the objects(at least it looks that way in the interface), but then the Object -->Group functionality is

  • I have just downloaded the new Firefox 4, but everything looks the same.

    however, I do not have any of the new features such as the orange bar etc. When I go into safemode, I have these features. When I get out of safemode and disable addons manually, I still look like Firefox 3. I just want my cool new features and stuff

  • Controling fonts in title slides

    some of the title slides, such as lens flare, do not give you the button in the upper left corner to control fonts. Is there no way of controling fonts on some title slides? Why? Thanks bob