ActionScript 3.0 :: Better Image Compression Into Flash?

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


Similar Posts:


ActionScript 3.0 :: Sending The Code For Image Compression

May 4, 2010

sending the code for image compression.

View 2 Replies

IDE :: Flash File Compression?

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

Http - SWF Flash Files Not Loading With IIS Compression On?

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

Professional :: Physically Downsize Images In Flash Not Just By Compression?

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

Flex :: Enable LZMA Compression In Flash Player 11?

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

ActionScript 3.0 :: Client-Side Video Compression From Within Flash

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

Actionscript :: Flash: Client-side Compression/conversion Of Audio Files?

May 6, 2011

With flash, is it possible to compress an audio file or convert it to a compressed format such as mp3 after it has been selected using a file browser?

I'd like to compress audio files before they are uploaded to the server to save bandwidth. Although I doubt that such direct binary access and manipulation is possible, I'd like to be sure.

View 1 Replies

FLV Video Compression / Streaming?

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

Flex :: Compression Support In AS3 / AIR?

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

Can Check Compression Settings On Flv File

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

Professional :: How To Get Accurate Red Colour Compression

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

Web Services - NET 3.5 WebService Compression For Flex?

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

Java :: Is GZip Compression Worthwhile With AMF

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

ActionScript 2.0 :: Loadsound Compression Details?

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

Flex :: 3D Object Compression (By Polygon Reduction)

Jun 11, 2010

I wish to develop a software for 3D object compression (by polygon reduction) in flex using papervision 3D.

View 1 Replies

ActionScript 2.0 :: Compression Options For Dynamic Loading MCs?

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

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

Professional :: Disable Audio Compression In Publish Settings

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

Flex :: AS3 Video Encoding At Runtime With High Compression

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

Javascript :: File Compression Before Upload On The Client-side

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

Flex :: Develop A Softare For 3D Object Compression (by Polygon Reduction) In Flex Using Papervision 3D

Jun 11, 2010

I wish to develop a softare for 3D object compression (by polygon reduction) in flex using papervision 3D. Could you please suggest me an efficient algorithm for the same?

View 1 Replies

String :: Achieve Fast And Effective String Compression

Dec 2, 2011

I have an Object which stores pairs for a find and replace that I perform on up to 1500 Strings at a time.The Object is populated with pairs using a method that will accept a String and then store this as a property with the value being an automatically assigned base 36 number, like this:[code]nextShort returns an automatically incremented value being the subject of .toString(36), so running the above a few times might make _pairs look like this:[cod]ehowever in my mind I foresee a massive problem in a case where I might want to "shorten" 2000+ Strings and the _pairs Object has at the same time has over 500 pairs.That ends up being 1,000,000 iterations all up which obviously doesn't seem very efficient at all.

View 2 Replies

ActionScript 3.0 :: Optimal FLV Compression For Frame-by-frame Viewing?

Nov 1, 2010

I've tried using both Adobe Media Encoder and FFMPEG to get a video that allows frame-by-frame viewing. I've been compressing them with a keyframes at every frame.Currently the most major issue is when I output a video including audio, the player does not allow the video to step backwards to previous frames. I understand this is all a bit abstract without seeing any code, but I was hoping there would be an obvious answer why this would be.

Here's the code used to step backward. It seems the FPS is hardcoded, which probably not the best approach. Should it rely completely on keyframe data or possibly metadata?

Code:
internal function videoStepBack():void{
log("videoStepBack");
__ns.pause();
__ns.seek((__ns.time - (24/1000)));
}

View 1 Replies

Flash :: Video In CS4 - Importing An Image To Stage And Set The Width And Height To Match The Image

Nov 8, 2009

I have a Flash CS4 Professional version installed in my machine. Here is my problem.

1st - I'm importing an image to stage and set the width and height to match the image. (everything is good, no problem) 2nd - I am using the FLVPlayback components build-in from Flash CS4. It does load the video and everything. (everything seems good) 3rd - Publish the video to my local drive (everything seems good) 4th - I could play the video from my local pc and it loads fine and fast 5th - Upload everthing from my local folder to the Web server, it does display the background image but not the video. It has a white blank screen. What is going on? I copy the exact folder from local to server. What have I missed? How could I make the video to load?

View 1 Replies

Flash :: Data Integration - XML - Slideshow - If Click On The Main Image - Another Image Could Come Up Next To It?

Oct 6, 2006

I attempting to make a slideshow like the one on this page: [URL] But i was wondering if it is possible to change the code so that if you click on the main image, another image could come up next to it? (I'm making a portfolio site, and i want people to click on one of the main images to then see a detail image next to
it).

View 1 Replies

Flash :: Client - Side Image Processing - Creating A PNG Image From A PDF File

Feb 1, 2010

We're building a web-based application that requires heavy image processing. We'd like this processing load to be on the client as much as possible and we'd like to support as much platforms (even mobiles) as much as possible. Here's the info: Image processing is rasterization from some data. Think like creating a PNG image from a PDF file. We don't have a lot of server power. So client-side processing is a bit of a must.

So, we're considering: Flash - most widespread, but from what i read has lackluster development tools. (and no iPhone/iPad support for now). Silverlight - allows us to use .NET CLR, so a big ++ (a lot of code is in .NET). But is not supported for most mobiles ( rumored android support in the future) HTML5 + Javascript - probably the most "portable" option. The problem is having to rewrite all that image processing code in Javascript.

Clarification: I don't need further ideas on what libraries are available for Silverlight and Javascript. My dilemma is choosing Silverlight means no support for most mobiles choosing Flash means we have to redevelop most of our code AND no iPhone/iPad support HTML5 + Javascript we have to redevelop most of our code and not fully supported yet in all browsers choosing two (Silverlight + Flash) will be too costly Any out-of-the-box or bright ideas / alternatives

View 14 Replies

Actionscript 3 :: Display An Image In Flash Datagrid After Selecting An Image For Uploading?

Feb 27, 2010

After browsing for the images, and selecting them. How can I display a preview of the image in the datagrid? I am able to display the file name, file size, but was unable to display the image. Below are the codes I have written, it is not a complete code but just enough to make it understandable.

// variables used
var list:Array = new Array();
var listDP:Array = new Array();

[Code]....

View 1 Replies

Flash - Add Image Using Loader And Make Image A Button With Event Handler?

Oct 26, 2011

How would I make an image I load using AS3's loader class into a button with an event handler on it? Below is what I have started. And below that is my error I get when I click the message.

AS:

//call function that starts loading my image
callButtons();
function callButtons():void {

[code]....

the error I am getting when I click the spanish.png on the stage is: ArgumentError: Error #1063: Argument count mismatch on MyVideoPlayer_CS4_fla::MainTimeline/playSpanish(). Expected 0, got 1.I NEEDED TO ADDED evt:MouseEvent

View 1 Replies

Flash :: Saving Image Data Stream To Image Format Using Php Jquery?

Mar 12, 2012

I am trying to generate image of flash charts generated by Open Flash chart library using PHP Mysql database.

I have generated image but it's in some coding format in a div on my webpage. Something like below:

<div id="img_chart_1">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAk4AAAEsCAYAAAA1jTw5AAAli0lEQVR42u3dDdAkdX0n8Keu6s67..../ >
</div>

How can I save this image in any image extension like .png ?

I have to give a button on my page. So when user click on button I have to export this image in PGF file.

So I am trying to save this image with image extension and will give link of saved image in PDF file to show.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved