ActionScript 3.0 :: Save A Png Image?
Mar 21, 2010how can i save a png image with actionscript? i usualy generate jpgs, but this time it has to be transparent, how can i do this?
View 1 Replieshow can i save a png image with actionscript? i usualy generate jpgs, but this time it has to be transparent, how can i do this?
View 1 RepliesIn AIR/AS3 Flex Mobile for Android project.How can I capture an "image" of whats visible on the view then just save that image as anything like jpg/pdf to the SD card?Basically a screenshot on Android using AS3.
View 1 RepliesI have been developing a dress up game and would like to add a feature where the player can save hi/her creation as a image from the swf file.
View 1 RepliesI want to save an image using PHP. Everything seems to work fine, but when I try to open the picture, I get an error message: "it is not possible to open the file, the jpg file may be corrupted".
ActionScript Code:
var myBitmapData = new BitmapData(myLogo.width, myLogo.height,true,0x00FFFFFF)
myBitmapData.draw(myLogo)
// initialize the quality of jpeg and encode "bitmapdata"
[code].....
I wanted to create a flash application like this [url]...but the only difference is I want to save my image into the default folder with different names. I don't need for prompting to save the image but instead it will automatically saved in the default folder when you click the save icon
View 1 Repliesas3corelib functionality is awesome and I have used the great tutorial at Henry Jones.com to create an example with a quick interface...
[URL]
Now this is a bit wierd here because it works on 70% of location tests but seems to be dependant on the internet provider allowing uploads. It doesn't work at my mates house but works at work and my house etc...
The second thing is that I need to know what the as is to save the mask to the server instead of downloading it to your machine.
I need to know if is posible to capture an image or a screen region and save it using action scrip.
View 2 RepliesThrough FMS streaming I am receiving a stream from other user attached camera which I am playing in my file through video component in flash.
When the other user stops the streaming by closing his attached camera then last captured video image picture is saved in video component.
I want that to remove and place a graphic instead.
Have also tried seek(0),video.clear(),pause() etc.
In my Flex application I load an image into the Image control. After loading the image I can apply filters like color transform or grayscale etc and then I want to save the image with the filter applied. I am having trouble saving the image with the filters applied. With the following code the Image gets saved without the filters.However, if I use [code]...
View 1 RepliesHow to save flash images that we can view as a slideshow in jpg format?
View 1 RepliesI have created a customized dress up avatar using flash. Now I have to do that a registered user can make his avatar. After user creates his/her avatar how can I save the customized avatar in a database?
View 1 RepliesNow Im saving to text format, and I got a error: TypeError: Error #1009: Cannot access a property or method of a null object reference.[code]
View 1 RepliesI have a Flash Application that sends an image (using as3corelib) to a PHP script that previews it in the browser, which works! But, I would actually like it to permanently save it the a server folder (uploads, etc.) instead of temporarily saving it. I can't find the right variable in the PHP that actually sends the image to a server so it could save it.
<?php
switch ($_POST["format"]) {
case 'jpg':
[code].....
I'm trying to make a character creator application using flash actionscript 2. I'm quite done with the character's moveable parts, however my main concern is on how to save the image as jpeg/png. Is there any way that I can save an image without the use of php? I would like to save my characters image using a button, and save it directly to my pc.
View 1 RepliesI have a flash where users drag and drop icons around a matrix to indicate their opinions. I would like to have an option for them to save the positions of the movie clips that they have dragged and dropped so the next time they open it, they are where they left them.
View 5 RepliesIm using the load movie method to load in an image to another movie clip. This image is stored in the same directory as my flaash file. Would it be possible to save this image after certain 'modifications' have been done to it?? Im not familiar if there is any way to save out this image that has been loaded in using loadMovie?
View 4 RepliesHow to save the image in server?
how to save the image in server?Do we required PHP to save or can we save directly?
I have an application I'm building. It a sort of diagram builder. Now how can I get it to save a bitmap of it locally (not sharedobject). Or even a xml file for saving or something?Program is preferably run on local client's computer.
View 2 RepliesI want to save an image using PHP. Everything seems to work fine, but when I try to open the picture, I get an error message: "it is not possible to open the file, the jpg file may be corrupted".
[Code]...
You can see here a simple palette i made for a kids' site where they will be able to color some "ready to paint" templates.Is there any suggestions on how to save the image after coloring it?The lines are made in flash and the coloring is done by setting the rgb on movieClips which have the shape of the gaps.One suggestion, from me, is to "save" the rgb values each time someone clicks on the image and then by knowing the shapes, "background" colorizing them and saving them.But how am i going to do that saving thing?P.S. The page will be on a ColdFusion Server.
View 4 RepliesI'm creating a flash fun thing where you dress up a character by just dragging and dropping little images, everything is working fine.
I want to add an option to save the image you have created, I can do this but the problem is you have to set a movie clip to capture, the thing i want to capture is a few movie clips layered on top of each other(the finished character).[code]...
I am struggling to encode and then save a png image onto the server. The file 'myImage.png' gets saved onto the server but it is 0kb. My actionscript is:
[Code]....
how to save my drawing (image or movieclips) to my local sytem without any server side script . i m using player 10.
View 1 RepliesIn standalone flash player, can we save a flash form (that the user inputed some texts at the runtime) into an image using Action Script 2.0?
View 2 RepliesIs there a way to automatically save an image from the webcam to a folder without having to click a button, or can you make the button take the image and save it to a folder as well, without a pop up saying "choose the folder to save to"?
View 1 RepliesI'm new to Flash (CS5.5) but have self taught quite a bit. I created a simple "slide show" model of images which fade in and out to other images—it's a holiday greeting card. How do I save/export/publish (not sure of the correct terminology) this .fla file so that my end result is an image that I can insert (as an image) into an email (outlook) and send. The recipient should be able to click on the image and activate the movie.
View 3 RepliesI have written enough code to preview the webcam video in Flash.Now, I want to capture images at 10 second intervals.
Here's my code:
import flash.display.BitmapData
import flash.geom.Matrix
[code].....
In Flex, I am using graphics.codec.JPEGEncoder to save image files that are edited inside application (normal manipulations like brightness etc.) I am able to save files perfectly. What I want to know is that is there any way I can save the image with a better dpi? Say, for instance the image that is loaded and manipulated was originally of 72dpi, now can I save it with a dpi of 150 or 300 ? If so, how to do it.
Doesn't have to be using the JPEGEncoder, if there's any way to do it at all, like using any library etc, I am okay with it.
Note: If it matters, I am using Bitmapdata to store the image and manipulations and saving the image with JPEGEncoder by supplying it's data as bytearray like below.
var imageBytes:ByteArray = encoder.encode(myBitmapData);
I was trying to save an imagefile to a directory in applicationStorageDirectory of my air project. Created the directory first.[code]Is there a way that i can store the image in my "vispics" directory?
View 1 RepliesI am looking for the script to save image or pdf from swf in real-time.
View 0 Replies