ActionScript 2.0 :: Weird Compression When Importing Jpgs
Mar 6, 2008
Fairly new to Flash but I was wondering something. When I look at a jpg in Photoshop, the quality is fantastic and the white border is sharp.
When I import that same jpg into flash and convert it to a button, it somehow looks a tad odd around the edges, like it's been scaled by 0.1% or something, enough to make the once crisp white edge, look anti-aliased.
View 5 Replies
Similar Posts:
Mar 24, 2010
I am importing a picture in flash and i found out that there is a difference between importing to the stage, and importing to the library... [URL] I've placed both picture close of each other and if you look closely, you'll notice that one of them is losing some resolution. Both picture come from the same file, a png. The picture imported to the stage is sharper than the one imported to the library. is there a way to import that picture to the library without losing any resolution?
View 5 Replies
May 12, 2009
Got a large file 12 minutes long clip and I compressed it with the adobe optimization program adobe media encoder. I got a 350 megbite file to be 60 megabites as a 320X240. I choose also a medium size video file. How do I keep the video quality and stream it (like hulu would do) or how do I compress it smaller than 60 megabites and keep the same quality. Either or. I am not familiar with web video so I am trying to make the file as small as I can in size with the most amount of quality.
View 3 Replies
Sep 26, 2010
Is there a way to open RAR / zip / 7z in AS3? Is it easy to use compression library in C with Alchemy?
View 3 Replies
Jan 9, 2009
is there any flash compression? i 'm creating a full flash and i use video file for my BG and some animtion. but that file's size takes more than 1.4MB. how can i compress that file.
View 1 Replies
May 1, 2009
once a video file has been encoded into an flv is there a way to confirm the compression settings? Say if I wanted to double check that I had the right setting or duplicate setting of a flv I encoded earlier, is there a way to access this info?Like QT you can choose Movie Inspector.In QT I opened a flv file that was encoded with a Max data rate: 50kbps (I know, I know very low but it's the setting I was given). I then selected Movie Inspector thinking it could do the trick but it listed the data rate as 359.68 kbits/s.is if I encoded at a Max data rate: 50kbps how is 359.68 listed as it's data rate in QT?
View 3 Replies
Oct 25, 2010
Any troubles when compressing red colours to .swf? I always have a kind of blur in edges, like dirty compression.
View 1 Replies
Aug 17, 2009
We have Flex applications that connect to our ASP.NET 3.5 Web Applications and usually download lot of data. Now considering XML as transport, for every item, it transmits meta data twice for example.. instead of transferring int value as <Customer CustomerID=23/> it transmits <Customer><CustomerID>23</CustomerID></Customer> .. now here is where bandwidth conservation becomes an issue.
FLEX Can not read GZip and DEFLATE compressed HTTP Response ( So cant use any of them )I heard of some WSCompression but it requires WSE 3.0 now I am skeptical to introduce too many dependency in my hosting environment which requires too much management and overheads. Is WSE 3.0 only dll library which requires no installation on production server? Does it require rewriting all WebService attribute? Or is it simple one time configuration and more or less, anyone knows does it work with Flex ? Flex dynamically generates web services, and we use lot of its auto generated code, now if we want to support compression then do we need to rewrite lot of code?
Simplest solution I can think of is, reduce unnecessary XML tags and reduce them down to attributes to save bandwidth. Is there an easy way to achieve it, our classes has more then 50-70 properties, I understand it will be nightmare to add attributes to each property but we dont know how to do it in case of SOAP.
[Code]...
View 2 Replies
Oct 4, 2010
We've got a Flex/Java application using BlazeDS and we're investigating reducing the size of the payloads being passed between our server and the client.Since AMF is a binary format and supposed to be fairly compact, is there any benefit to turning on GZip compression? Has anyone else done this before and did you see any significant gains from using compression?I just performed a simple test to determine what kind of compression ratios we might expect if we were to enable gzipping. I just captured the AMF payloads in some files and just gzipped them using the Linux command line version. I didn't specify the level of compression, just the default i.e. 'normal'. It appears that on average there is a 9% reduction in the payload size, with some payloads getting as much as 61%. Can anyone see a flaw in this method and what level of compression can be used in HTTP gzipping?
View 3 Replies
Sep 28, 2009
I have a project where the resulting application needs to download several huge images (4095x4095), which takes a serious amount of bandwidth. Jpeg is not really a good alternative here, as I would need a very low quality to get acceptable file sizes. Does anyone know of existing AS3 code libraries for loading jpeg2000 or any other wavelet or better compressed images into Flash?
View 9 Replies
Apr 28, 2006
was wondering how sound files are compressed when they are retreived using the loadsound command? do they use the original file compression or does flash muck about with it? The reason i ask is that an audio file is coming out sounding very different to the original
View 1 Replies
Nov 18, 2009
ive got a flash template, but its really difficult to edit. heres the thing: there are 4 main categories buttons, and when i click each categorie, 3 options appears. for example
[Code]...
green, blue, red and yellow are already with button codes, for when i click it, it opens their 1, 2 and 3 option buttons, but these 1 2 and 3 for each color are not links, and when i try to add a code to them, ALL of them get the same link, like their instances from the same thing. and when i try to set a button to be instance of another thing, all of them change again.
its really difficult and i've tried everything. even creating another box for these 1,2and 3, but when i create a box on this section, another 2 boxes are created at its sides.
View 2 Replies
Mar 7, 2010
I've got a bunch of flash files being served off a HTTPS site in IIS7. With contentcompression turned on, the flash files wont display. Does flash not support HTTPcompression, or is IIS doing something unusual?
View 1 Replies
Jun 11, 2010
I wish to develop a software for 3D object compression (by polygon reduction) in flex using papervision 3D.
View 1 Replies
May 4, 2010
sending the code for image compression.
View 2 Replies
Jul 12, 2006
I'm stuck on this one problem, and I'm not sure how to solve it. I have a "main" movie. When I click a button in the "main" movie, I am dynamically loading a separate .SWF file (ex: "zoom1.swf") into a "container" MC on the "main" movie stage.
The separate Zoom1.SWF file is a zoom-in animation that has been rendered in 3d, and each frame has been converted to a JPG and brought into flash. (So basically i'm trying to have it so when you click on the button, the view zooms in to what you clicked on).
Since I have around 20-30 frames for this animation, the size of this new Zoom1.SWF is like 500kb. This is obviously WAAAY too big to load on the fly (even with "swonking"), and I will be loading about 5 of these movies separately at different times.
I started out using JPGs that were 50% of the size of my flash movie, and then scaled them up to 200% on the stage. I've already compressed the JPGs down a lot and they've already lost a lot of quality. I can't take any more frames out of the animation, because it's already too choppy and not smooth.How can I deal with the file size of these zoom-in movies? What are my options for compression or any other techniques to reduce file size?
View 4 Replies
May 25, 2011
ill try and give as much detail as possible: im trying to teach myself and make a flash site at the same time, so far so good, i already had one, but didn't like the layout
im using Macromedia flash 8 to make this. when i use the glow effect on text, and make a new keyframe to dim the glow again theres a weird blink on that keyframe and im not sure what is wrong.
live demo:[URL]...
View 7 Replies
Nov 20, 2009
On Linux (Debian Lenny) the installation instructions for the *installer*.tar.gz download file say:Unpack file.Navigate into directory or folder created.Run install program.But no directory created; no install program - what the hell is going on??What you get is a single *.so file. What do you do with it?I got it to work in the past, but perhaps by a different method.
View 1 Replies
Sep 13, 2011
I have MP3 files with finely-tuned compression from an audio app. If I use them in my Flash movie, and disable audio compression in "Publish Settings"... will Flash definitely not touch the files and use whatever MP3 compression settings the files have? Or... will flash convert them into raw audio?
View 1 Replies
Feb 7, 2012
I create a lot of banner ads for my work and they vary in small and superlarge sizes with product/price info. We recently upgraded to CS 5.5. and I am now working on setting up my workflow as a project to be more efficient.The smallest banner is 300x95 and the biggest is 980x500 - just to demonstrate the size difference. They should both have the same productinfo inside and I would love it if I could have one assetfile for all product info - including the product image - but because of the obvious banner filesize issues I can't just drop a 500px tall image into the assetfile and use this on all bannersizes because even if I scale it down in the smaller banners Flash will still export it as a 500px tall image.Is there any way in Flash to physically downsize the file when scaling it?
View 1 Replies
Sep 15, 2010
I need to compress video image data (lets say a display object) in AS3 to a Byte Array with high compression at runtime. Framerate only needs to be around 5 but 1024x768 video needs to go to < 40 Kilobyte per Second without the quality being too bad. I wrote a custom encoder and got it to around 80-100 Kilobyte per Second for 1024*768 which still is too much and I don't see a lot of improvements to be mad to my encoder.
Using JPG or PNG Encoder gives way higher KB/s. Is there any open source way to to decode and encode video in as3 at runtime ? E.g. a H.264 as3 encoder and decoder ? Or other codecs? Or maybe a C# source code of h.264 encoder and decoder ? I think I could port it to as3. Doesnt need to be h.264, just something with good quality when running at 5 Frames/Sec and 40 Kilobyte...
View 2 Replies
Oct 25, 2011
As mentioned in release notes to Flash Player 11, developers added LZMA compression support.
Question is how can one enable this support? Maybe there's an mxmlc option? Or more steps?
Simply setting -swf-version=13 and switching playerglobal.swc in sdk didn't work for me.
View 2 Replies
Dec 4, 2011
Basically I'll be working with large XML files (approx. 20 - 50 MB). These files needs to be uploaded on a server.I know it isn't possible to touch the files with javascript, nor to implement HTTP compression on the client-side.
My question is that if any solution exists (flash / action script) that compresses a file and has a javascript API? The scenario is this:
Trying to upload 50 MB XML file Before upload a grab it with Javascript and send it to the compressor.Upload the compressed file instead of the original one.
View 4 Replies
Oct 28, 2009
I'm creating an app where users can take a video of themselves with their webcams and upload it to our server. Any way to compress video from within flash before an upload? I found On2's Flix Publisher, but it is ridiculously expensive, and requires an additional plugin.
View 1 Replies
Sep 9, 2009
basically its a movieclip button with 2 other movieclip within it. i managed to code the rollover and rollout script for it but there is a funny spot that keeps triggering my rollover and rollout script endlessly if i leave my mouse hovering on it....any expert out there can clear this doubt of mine pls^^?^
View 3 Replies
Feb 18, 2010
I am trying to create a very basic slide show of images that automatically revolves every 4 seconds. everything works fine but for a short time. After 2 cycles the images start to show up out of order, in less than 4 seconds and single images may repeat instead of playing the next image.
View 1 Replies
Jul 31, 2010
Anyone has had white vertical lines along one or both sides of their masks?Looking for the lines and can't find them (Mask are made in the visual interface).The mask is a black rectangle, it moves over a 2 black rectangles, one 100% alpha, the other one 35% alpha. White lines only show on 35% alpha part.
View 1 Replies
Feb 22, 2009
I have a parent Sprite A, that I add a Label component and aList component to. The Label is placed directly above the Listinside of Sprite A. No matter how I change the width of the Labeland the List, Sprite A always reports a width of 115. How can I fixthis so that it reports the actual width?
View 10 Replies
Jan 21, 2010
I'm using AS3. I have a timeline with 12 labeled frames (page 1...page12). On frames 1 to 10, I have 3 objects that users can drag and drop onto matching places. There is a timer (60 seconds) and a counter. Users should match 15 objects correctly. If so, they go to frame 12 (congratulations!). If not, they go to frame 11 (Sorry, try again), which returns them to frame 1 (page 1).
ISSUE: When users drag an object (mouseDown) and don't release it when time is over, the dragged object remains on the screen. When users go to frame 11 and game starts over, the object remains throughout the entire game.How can I get rid of the dragged object that isn't dropped when the time is over?Here ism y code:
// TIMER
var time1:int=60;var myTimer1:Timer = new Timer(1000, time1);[code]..................
View 13 Replies
Apr 7, 2011
Basically it's a font called Scene Pro and it's Open Type. I have a guy working on a Mac and the font does this on his computer.But it's completely fine on my PC. It's the same font.He has Font Book and we disabled all the fonts except Scene Pro - and still this happens. We need this guy to do more work in Flash but on a Mac he's kinda held back a bit with the text behaving like this. I end up Publishing the file from my computer.
View 17 Replies