ActionScript 3.0 :: Make A Swf To Take Snapshot And Save It As Jpg?
Sep 2, 2003how to make a swf to take snapshot and save it as jpg?
View 3 Replieshow to make a swf to take snapshot and save it as jpg?
View 3 RepliesI've designed a painter program where the user can select different colours and 'paint' a custom design on screen. What I would like to do is incorporate a 'Save' button which takes a snapshot of their drawing which they can then save to their computer.
View 0 RepliesI need to create a button to save a part of a swf(or a the whole swf) into jpg.
View 1 Repliesi'd like for user to be able to save a snapshot of the swf by clicking a btn. for example, i have a piece of paper that the user has typed on. is there a way to save an img of the swf?
View 1 Repliesis there a way for flash AS3 to take a snapshot of the frame and then save it as jpeg with out using classes
View 1 RepliesHow to generate the bytes from the video objectHow to submit the bytes to remote server?I found these classes are missing in AS2:flash.net.URLRequest,flash.net.URLLoader Are the above possible in AS2?
View 1 RepliesHow to generate the bytes from the video object
How to submit the bytes to remote server? I found these classes are missing in[url]...
I want to take a snapshot of a movieclip and add the snapshot to the stage on every frame.
Does anyone know how to do this?
I'm trying to achieve a reflection effect...
The swf posts the content to save.php but i dont have a save.php I need to create one but i donno what do put in the save.php as code to get it posted there. Here is the code that requires the save.php to post:
Code:
loc3 = new flash.net.URLRequestHeader("Content-type", "application/x-www-form-urlencoded");
(loc4 = new flash.net.URLRequest(p.rooturl + "/save.php?name=" + arg2 + "&type=" +
[code].....
I want to create a clip dynamically (for example with createEmptyMovieClip) and after assign object and motion to it, save or export it as a .swf file.
View 1 RepliesI've managed to make a snapshot and have it display on my stage.
View 3 RepliesI'm using my dynamic library to load all the photos & descriptions from an XML file. The photo upload is being done by a PHP page that edits the XML every time I upload/change/delete any data. The problem is, the *.swf seems to get saved, and doesn't check the XML after the edit is being done. (it works fine if i load the page again from another PC). How do I make my swf not getting saved with the loaded content? I just want the applet to load + check the xml + load everything written in there every time any PC loads it.
Here is the *.fla.
album.zip
The XML looks like this...
Code:
<photos><image><addr>
*photo name textnode*
</addr><desc>
*photo description textnode*
</desc></image></photos>
I want to make a save the position of a movieclip. I have a dragable movie clip, and I want to drag it and when I play the movie again, the movie clip is where I drag it for last.
View 3 Replieshow do i make flash save to my .txt files, i'd like this in asp, php annoys me. Okay just use the example: my variable i want send is a impute box (instance box1, var box2). So... if you could just attach it (fla, txt and asp files)
View 3 RepliesWhat actionscript would you use to make an save/load button?
View 1 RepliesWhat actionscript would you write to make a save/load button?
View 1 RepliesHow to make s:VideoDisplay not to save all data it played?
View 1 RepliesI want to download a file in flex. Here is my desired flow User clicks "view" Code goes to backend and get the file as an array of bytes bytes sent from java to flex via a callback flex then opens dialog and user decides where to save the file Unfortunately the last part is not on a user event but on the callback from the server. When I call new FileReference().save(...) it tells me this. An alternative could be
User clicks "view" Flex shows user the dialog and user chooses where to save file Flex goes to backend requesting bytes of file bytes sent to flex and data is saved. For this approach I am unsure how I can make the save asynchronous from the dialog. I want the user to save a file but the data but come from an array of bytes from the backend
how can i make a shared object save a user name for a scoreboard it works like this i made a mc that is the scoreboard and the scoreboard has text boxes in it and the game gets a popup when it starts with a editeble text i want that text to save on to a text box in the scoreboard mc how can i do that?
View 3 RepliesI'm trying to make a flash game have save files using shared objects and I'd like to keep all the data in one file with several children.
The three things I'd like to do are:Check whether the file exists (create a new file if it doesn't), then check whether to child named with text in an imput box exists, and if it doesn't create a new file (using the text in an imput box), and then set the value of that node to 0.
Then later I'd like to change that node to another number (the easy part).I'd also like there to be a way to disable the shared objects (incase the user doesn't allow shared objects).I've tried to do this myself using a few tutorials, but I could get it to work.I couldn't use the text in the input box to name the child,and I couldn't check the size of the child node to see whether it existed or not.
i want to make a line with mouse movement and with bnlur effect i also want to save those point to reproduce that, i know how to make simple line with mouse and also able to reproduce it with the save point but not able to do blur effect with it
View 1 RepliesDoes anyone know how to make a save/load menu like in Line Rider to work?
View 7 RepliesI am developing a website in php hosted on a shared linux server.I need to allow the users of my site to upload and play flv videos with flowplayer.It would be fantastic to show a snapshot of the video before it starts, something like these: http:[url]...My server doesn't support pseudostreaming and it has no ffmpeg/mplayer support (it's a shared host after all...)
I am guessing how can I take a snapshot of the nth frame of the video with only php or javascript or action script.I read something about bitmapdata class in flash >= 8, but i don't know how to do all the work automatically without the user's input.
I am in search of a "simple" way to implement the generation of a JPG from a Flash SWF housed within an HTML page. DETAILS: Once a visitor has assembled draggable objects within the SWF, and to their liking, I would like for them to have the ability to click a button that would render a JPG version of their layout. Hope this makes sense. I have found source codes online, in conjunction with PHP scripting, but am struggling to make this work.
View 1 RepliesCannot convert the stage as a bitmapData and draw it. Is there any way,
View 1 RepliesCurrently working on a school project that requires me to use AS3 to display a webcam, and create a button that will take a snapshot and place it beside the video display.[code]...
View 2 RepliesI'm making a video gallery in AS3 and using PHP on server. How can I get snapshot of an instant in a video to display it as that video's thumbnail (like YouTube)? I'm not sure if this is an AS3 question or a PHP question.
View 0 Repliesi'm creating a visual editor in flex and need to let users export thier projects into Image format. But i have one problem: size of the canvas is fixed and when user add element which is out of these sizes some scroll bars added. And user continue working on the project. but when he want to take snapshot of the canvas he just get the visible part ot the canvas with scrollbars. how to get image of the fullsize canvas?
The only solution i found is to check the positions and sizes of canvas child objects and rezise it to fit them. then take snap and resize back. But it hmmmm... too complicated i think. Is there some "easy methods"?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Script>
[Code].....
var is:ImageSnapshot = myImagesnapshot;
var str:String = ImageSnapshot.encodeImageAsBase64(is);
As of now, I am sending my jpeg data to the server with the code above. The problem is that it almost doubles the size of the data. Is there a way to send the image data directly without using any encoding.
Using Flex, what is the recommended way of taking a webcam snapshot picture? Something along the lines of:
var camera:Camera = Camera.getCamera();
var image:Image = /* magic goes here */