ActionScript 3.0 :: Sending The Code For Image Compression

May 4, 2010

sending the code for image compression.

View 2 Replies


Similar Posts:


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

ActionScript 3.0 :: Replace Some Code Which Loaded An External Image And Triggered And Function Once Completed With Code That Uses And Embedded Image?

Jun 10, 2009

I am trying to replace some code which loaded an external image and triggered and function once completed with code that uses and embedded image. The relevant code looks like this.

Code:

[Embed(source='globe.png')]
public function Globe()
{
var imageLoader:Loader = new Loader();

[code]....

The commented out section is where it used to take the loaded image and apply it to a texturemap.I need to replace the lines of code in the first function with something that calls the second function correctly.

I have tried using function imageLoadComplete (e:Event = null)and calling it with imageLoadComplete(); in the first function but although it compile and runs without error, the program does not work properly. I suspect this is to do with the dispatchEvent(); line which I do not understand.

View 4 Replies

Php :: Sending Image Data From Flash To GD?

Oct 26, 2010

If i send bitmap data from Flash AS3, to PHP and then PHP turns the bitmap data into a image file and saves on server... Would it take too much resources?I mean, The Bitmap Data could contain too much pixels etc does that affect the resources? If 10-100 people send data simultaneously is it going to cause problems.

View 3 Replies

ActionScript 3.0 :: Sending Image Through Socket

Jan 15, 2009

I'm loading a small portion (rectangle), of a png file and extracting the ARGB (Alpha, Red, Green, Blue) values of the bitmapdata using C#. I then send this bytearray to the flash player (using sockets). The flash player receives this as a ByteArray. I then use LoadBytes but it gives me the error "unknown file type". I'm guessing that it could be because the data is not png encoded (I don't know how to do it), and loadBytes requires that.

View 6 Replies

Sending Image (Screenshot Of Stage) By Email

Sep 5, 2009

I would like to take a "screenshot" of the stage within flash and send it as an image by email. I have tried AMFPHP and the method described here - [URL]. This is saving a jpg of a movie on the server, but no email function. I know how to setup a very simple php email file but without attachment. So my problem is I have no idea how to "connect" all those parts together and make it so that when you click the button in flash it'll send the jpg by email directly.

View 2 Replies

Flex :: AIR: Sending Email With Embedded Image?

May 22, 2009

I'm making a Flex AIR application that will produce a giftcard from a webcam picture. This giftcard needs to be sent in an e-mail to a recipient provided in the program. Should I upload the picture to a server and use php to send the mail?

View 2 Replies

Asp.net :: Sending Captured Image From Flash To Page

Mar 27, 2012

I am using Asp.net/C# in my application , I am using a .swf file which is placed on my Default.aspx page to capture images from webcam, I have a requirement that the captured image should be sent to server or aspx page without storing it on the clients machine,

View 1 Replies

ActionScript 2.0 :: Sending Image To Server Using LoadVars

Oct 20, 2009

I need to send a image to PHP (server) and get it in my mail. Sending using LoadVars.
Code:
import flash.display.BitmapData;
var bmd:BitmapData = new BitmapData(20,20,false,0x00ffff);
var output:String = bmd.getPixel(1,1).toString(16);
trace(output);
while (output.length<6){
output = "0"+output;
[Code] .....

View 2 Replies

ActionScript 2.0 :: Christmas Postcard . Sending Dynamic Image By Mail?

Nov 21, 2009

doing one christmas postcard in flash that works this way:We drag some elements to a scenario and when we finish we send the image that we made to our friends and invite them to make one.This as been done hundred times but I can't find this tutorial online, I guess Im not making the right search.My problem is the part when you send the message with the dynamic image the user has done.

View 2 Replies

ActionScript 3.0 :: Christmas Postcard - Sending Dynamic Image By Mail

Nov 21, 2009

I'm doing one christmas postcard in flash that works this way: We drag some elements to a scenario and when we finish we send the image that we made to our friends and invite them to make one. This as been done hundred times but I can't find this tutorial online, I guess I'm not making the right search. My problem is the part when you send the message with the dynamic image the user has done. I'm posting this on AS2 and AS3 forums,

View 2 Replies

ActionScript 3.0 :: Sending Current Sprite To Loader Function For Image Gallery?

Nov 30, 2010

I have set up a functioning xml image gallery with simple left and right arrows. I am now trying to make it an infinite looping gallery swapping the first and last sprites in an array and + and - their x value so they "physically" move in the photos container.

All of this works fine except for the actual loaded image. The xml data, name description, and image to be loaded are set up in one function and all the data is added to the sPhotoSprite (sprite) in this function. This All works perfectly..

A second function is then called to add the current image:

var currentImage:Loader = Loader(evt.target.loader);
then currentSprite.addChild(currentImage); (the sprite is declared at the start)

The problem being that the sPhotosSprite is no longer reference-able. I've tried :

imageLoader.contentLoaderInfo.addEventListener(Eve nt.COMPLETE, function( evt:Event)
{ imageLoaded( evt, sPhotosSprite )
} );

But this only ever returns the final sprite. The same problem of only ever returning the final sprite occurs when I try setting an external sprite to hold the current sprite in it and then referencing it in the second function.

View 1 Replies

ActionScript 3.0 :: Verify Image File Path Before Sending It To URLRequest/URLLoader?

Feb 12, 2011

is there a way to verify that an image file exists at the stated URL before passing that URL to various URLmethods?

View 0 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

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

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

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

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

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

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

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







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