ActionScript 3.0 :: Make A Save Button?
Sep 26, 2011I've managed to make a snapshot and have it display on my stage.
View 3 RepliesI've managed to make a snapshot and have it display on my stage.
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 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 RepliesThe 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].....
how to make a swf to take snapshot and save it as jpg?
View 3 RepliesI 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'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 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'm really really stuck with this. I have a flash paint application, and I want to add a button that saves the picture that has been drawn as a jpg using a PHP script. I've done the drawing bit and the PHP bit, I just can't get the button to work. This is my code:
[Code]...
Whats wrong with the following code,There is an error at
saveButton.visible = false;
discardButton.visible = false;
[code].....
I have a game and I used Flash cs5 ActionScript3. I want to create a save button for the game. When the player loads the game, the saved game will open
View 1 Repliesi m developing facebook app in which user can set background wallpaper and from friend selector also add friend's album images to board and than click save to create jpg, my problem is all things are perfectly running on locally, but on the server when i add wallpaper and click save the jpg is created fine, but when i add friend album image to the board and click save button the code not working properly it seems to happen nothing but when i delete image from board and than click save the button is working properly,ovide code if necessary ,[url]....click on create poster button and it goes to flash file
View 0 RepliesI need to create a button to save a part of a swf(or a the whole swf) into jpg.
View 1 Repliesthere are source files of a function which save the files on mouse drag, i just want that this function will start working on button click?
I am uploading the all source files for you!
the all functions are working very fine, but i want to know is it possible to capture the stage area when we click on a ENABLE button?
I just want that Snapshot functions will start working on button click, when we click enable button it should drag and save images, and when we click disable button it should stop the function.
i'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 RepliesI have use for button Save this function:
Code:
private function btnSaveHandler(e:MouseEvent):void{
dispatchEvent(new ControlPanelEvent(ControlPanelEvent.CLICK, ControlPanelEvent.SAVE));
But this not work, why?
I used FileReference to save a wav file, so a window saving popup window will appear. Is there a script in actionscript 3 that can detect if the user accidentally pressed the cancel button of the popup window? because if the user pressed cancel the name of the file after he save another time will not changed? How do I do that?
View 4 RepliesThere is a div in my project, and this project is on-line. Inside this div there is a space that is made in flash (actionscript 3), inside this space we have to sign a contract with the mouse. How can I save this signature without an options window to choose where I want to save this signature?
(The button to save the signature is made in flash too).
I'd like to get the input text in the SWF to save on exiting the SWF without pushing a button. Here's what I have so far that incorporates pushing a button
Code:
var savedstuff:SharedObject = SharedObject.getLocal("Cookie");
btnSave.addEventListener(MouseEvent.CLICK, SaveData);
function SaveData(MouseEvent) {
[Code]....
i want to create some 1 button for save and 1 button for load all shared object in my projectthis is my code for save and load and i want to create 1 button for save and 1 button for load last check point
ActionScript Code:
import com.dVyper.utils.Alert;
import flash.events.MouseEvent;
[code].....
I have a game made by Flash CS5 ActionScript3. I want to create a button in the game where I can save the current timeline of the game. For example, I stopped at frame 5 and save the game. So when I load it, I should instantly return to frame 5.
View 2 RepliesWill there ever be the ability to add a 'Record' button to a player such as those used with Ustream, Justin.tv and other similar players? I run a live stream and would love for the viewers to have a 'Record' button so they may capture the video to their local hard drives for later playback.
View 1 Replies