ActionScript 3.0 :: Capture Image And Save It To The Server?
Jun 2, 2009
i 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.
what 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?
In 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.
I'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 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?
as3corelib 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 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.
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:
I've a problem when save area flash to image on server (both Win or Linux), but on local (OS: Window) it allaway runs well. I try to find this bug, when user "loadMovie" function it's bug, but i don't use "loadMovie" function it runs well (on Sever)
Im working on a project where i need to create a webpage that the end user can upload an image (gif, jpg, png) that is then transformed and mapped to a perspective shape, then saved to the server, and linked in the mysql DB.Has anyone done something like this before?Id like to do this in flash, if possible, if not, I guess shockwave is the next optionbecause you cant distort flash movie clips to create a "perspective" im gonna need to use something like this:
Im working on a project where i need to create a webpage that the end user can upload an image (gif, jpg, png) that is then transformed and mapped to a perspective shape, then saved to the server, and linked in the mysql DBId like to do this in flash, if possible, if not, I guess shockwave is the next option[URL]Am I crazy trying to do it this way?
capture 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.
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.
Is 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.
Is 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..
I'm making a small flash app that's going to have a data capture form at the end. The problem is that it's going to be hosted on someone else's server and we need to capture the data ourselves. Our server is ASP and I really need the data from the form to be sent to us where it will be written to a database. - Is this possible at all? I've been looking into URLLoader and URLVariables but our tests aren't working so far.
Here is the AS3 code I'm using in the flash file..
My Requirements 1. First requirement is to broadcast a live event through a website. So I need to develop an application to capture the event using a cam (I don't want to use Media Encoder) and I need to create a player for the web site.2. Second requirement is, in a webpage need to display the same live streaming event, also need to display another 8 live videos (which capture the webcam of 8 different users). Basically can I do multiple streaming how can I handle
Questions:a. Can I use Flash Media Server to meet the above requirements?b. I have a dedicated server for FMS and I have webhost for hosting the website. Since FMS and the web hosting are different server, will FMS communicate with the hosting server?c. What is the minimum config for the hosting server? Is it better to go for some Unmetered Servers?
I am developing video conference application in flash with FMS4.5 and integrating StageVideo API for rendering video on hardware and it's working very nice but, I am not able to capture picture from StageVideo.
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
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?
im looking for a script that can record audio from a mic and save it to a fms server i came across a video email script but would like to have just a audio one that can do the samething as the video email with out the video part.
I need to take the some stream which is coming from firewire on mac, and then transcode/encode it to perticular bitrates, then stream.I think from firewire to FMLE, its straight forward. How can i stream? How can i give my clients ( say from mobile, or from any player as a http url streaming) stream? Do i need to use Flash media server, if yes can anybody point out the steps to set-up the same.
I want to make an auto-play for some flash-based web-game, but I don't know how to capture and monitor the request from the flash client to the server.
I'd like to capture the audio data from an RTMFP stream to which the client is subscribed (so I get a bytearray of audio samples).The presence of the audioSampleAccess propery on the NetStream class certainly makes that sounds possibe: For RTMFP connections, specifies whether peer-to-peer subscribers on this NetStream are allowed to capture the audio stream. When FALSE, subscriber attempts to capture the audio stream show permission errors.[code]But in the case of audio, I dont know how to address the audio data to get it into a bytearray.My instinct said this wasnt possible, but the presence of the 'audioSampleAccess' property makes me think it might be..