ActionScript 3.0 :: Capture An Image And Save It?
Jun 16, 2009I need to know if is posible to capture an image or a screen region and save it using action scrip.
View 2 RepliesI need to know if is posible to capture an image or a screen region and save it using action scrip.
View 2 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 an ongoing project something like this [URL], same concept, upload image and the template sits above the uploaded image then save to the server. The problem is it only saves the template and without the uploaded image. So how can i save the template with the uploaded image? something like a screenshot on a specified width and height? Im still exploring actionscript specially as3.
Code:
var jpgSource:BitmapData = new BitmapData (container_mc.width , container_mc.height);
jpgSource.draw(container_mc);
[Code]....
image_mc is the container for the uploaded image since i want to edit the image then save the image with the template as my border or something like a picture frame (container_mc). Yeah i know you've seen this code in some tutorial, i just want to tweak it so that i can learn to manipulate the actionscript.
I need to capture whats currently shown in my app and save it as a image, is a flash app running locally, without apache, just a flash app with AS3, is it possible?
View 3 Replieswhat I'm looking for is a tutorial on how to save a MC directly to my server. So let me explain this. The user will click on a button inside my flash application and it will save the MC straight into a folder on my server (as a jpeg), so it can be accessed later on.Is this even possible?
View 1 Repliescapture video and save to database,, i am trying to build an online aplication in flash to capture video (from the users camera ) and pass it to mysql or a folder in site root.
View 3 RepliesI'm currently working on a project - an online education system, and I need to make it possible for studs to introduce themselves in a 30 sec audioclip. I need to implement it with Adobe Flash. The problem is that I have no idea how the Flash + Red5 duo work together. There aren't that many helpful recourses online, at least for me since I'm a beginner at Flash. (I do mostly PHP stuff.)
1) When you connect to the server, how do you make it record audio from flash client? 2) After 30 secs, how do you stop recording and save file in a specific folder on a server?
I am trying to create a Flash movie that allows me to click a button and capture a specific moment in the movie, convert it to a JPG and send it by email.
View 7 RepliesIs there a tool, any type of programming library, or a way to capture live feed of Flash video and save it? I don't want to capture the screen but rather like to capture the actual feed.
View 1 RepliesIs it possible to capture the image loading event like when the image is fully loaded and such when it is assigned to the htmlText of the textFiel???
I have a scrollPane that contains a textField which is loading an image via img tag where there is no scrollbars initially because the textField is not large enough in the beginning, but it is larger than the scrollPane after the image is fully loaded.. and I am trying to update the scrollPane once the image is fully loaded..
we have the below code and it captured the video but not the actual video which displayed in the webcam. It only captured one third of the image like from x 100 and y 40 something how to capture the whole image displayed in the webcam like 320*250 below is the code
[Code]...
I'm making an online drawing application and I want to give my users a number of ways of uploading a picture to it.Is there a way I can capture a single image from a client web camera. Basically there would just be a video of the web camera input, (ie what they want to take the picture of) and a button that when they click it it captures the image. The image is then displayed in a movie clip in another frame.I was looking up stuff about this and saw flash communication server. I know nothing about this though, do I need it?Do I/Can I need to capture the picture, save it to the server and then load it into the clip?
View 3 Repliesi am trying to create a code that will use the local webcam (inbuild) to capture the users pic and use it, lets say, attach it to a movieclip..
View 7 Repliesi have an image, on that image is a box moving with the mouse, i need to pretty much capture a region of the image with a mouse click - kinda like a snapshot.
View 9 RepliesI am trying to capture the image using ActionScript through the webcam attached with the PC.
I have written following code..
protected var myCam:CameraUI;
protected function view1_viewActivateHandler(event:ViewNavigatorEvent):void
{
[Code]....
But the camera is not getting detected.. currentsState is always unsupported... Is there anything wrong...
Any other way to capture image/video for mobile devices using FlexMobileProject..?
I 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].....
how 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 RepliesI 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.
Through 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?