I did small program on which the user will type some data into array which should be later on saved onto server or to local machine as an xml file. Now I know that flash cannot save files on its own and it would probably need some php script or something. I've never worked with php and to tell the truth i couldn't fine any articles about this topic. Are there some examples that you can show me the way with??
I have an AS3 document with roughly 200 individual elements I'm trying to save to the database. I just need to saved information about their physical properties on the stage.There are many ways to do this, but what is the recommended approach?
I m in between of my flash application. Actually its a MP3 player where MP3 files are dynamically loading in flash. I have to put a counter (total no. of times mp3 has played).
Can u please guide me how can I store this dynamic value in xml or atleast tell me how to save data in xml through flash actionscript.
I want to save data my computer, that i got from playing my flash movie.
i'd prefer it if i'd be able to save the data on the computers of other people aswel, but i mainly need to save it on my own comp while developing the flash movie.
So want to be able to dynamically save/load data from actionscript.
I'm working in AS3 using Flash CS3 in the Mac OSX Leopard environment and would like to save data, to be later retrieved, in text files (probably xml). The data will be the result of the user interaction with the swf and the ideal location will be the directory (local or website) in which the swf file is located.
I know I could achieve the same effect using a database backend but want to make the swf file more portable, and don't really want to dedicate a database to this function. I've read a bundle of website comments on this but none seem to tidily do what I want, and I am not a whole lot wiser on the subject. The data will be user details and variables (e.g. scores) to carryover to when the user next accesses the game. What are my options (FileReference.save, SharedObjects, URLLoader, other )
im doing a level editor for my game and i need to save the tilemap data (120x120 uint array) and character data (character type, position, rotation, stats, etc) to a .bin file. How can i do it? I know i can do it by using XMLs but it is not good for saving tilemaps...
I am making a desktop Flash application (AS3). It provides to users an opportunity to save and open their projects.I've used FileReference to open project file
var fileRef:FileReference = new FileReference(); var ourTypes:Array=new Array(new FileFilter("Map Editor type (*.xml)", "*.xml")); fileRef.browse(ourTypes);
and use file content by using fileRef.data.
var mainXml:XML; mainXml=new XML(fileRef.data);
User must have an opportunity to add some data in this file (not only read). How can I save new data in the same file?
I'm a complete newbie to SharePoint and I've been tasked to develop a SharePoint site with Flash content (Flash CS3 or CS5). I've done some quick research on this and I understand there are different ways to query SharePoint. I must say it's been a long process for me to try to piece different bits of information to achieve what I'm asked to do.
So here it is. Develop a site using SharePoint 2007 with Flash content.User input in the Flash objects will be stored.Previous user input will be retrieved and displayed in the Flash objects for reviewing purpose.User input will later be processed/manipulated for reporting purposes.Embed FLV videos on certain pages. I understand data can be saved as lists in SharePoint and you can create custom ASPX to get the lists and parse it as XML input for a Flash object. Can I reverse this process when it comes to saving data?
What would be the best approach to implement the above requirements in SharePoint 2007 environment?
Or, should I consider saving data in an external DB, say MSSQL, and having custom ASPX query that DB and generate XML for Flash objects? Or maybe any APIs that can make this process easier?
I am making a budgeting program, partly because I need one, and I want to learn more about flash. My main question is this - because I will need to track data over many months, how do I make sure it is saved by flash? Do I have to host it as a website so it is 'always running'? I would hate to think what would happen if the host were to go down, I would lose everything.
Its seems like there would be a way to export the data (via a save button) to xml or some other format after I have finished my session.
I have an xml file (externally saved) that is similar to the following:
[root] [main] [title]...[/title]
[Code]....
What I like to do is to get what's in [title] tag using HTTPservice, import it into Flex, and save it as array objects, and do the same thing for [content]. This way I can later refer the array object saying title[0] or content[2].
I have an Access Database (doesn't need to be Access, I can phpAdmin or mysql, whatever will work) that has a list of names. I want the user to open a Flash form and have the names load up into seperate input boxes for each name. The user can then change the names, move them, whatever, and then save the record. I want it to just overwrite the record. I donlt want create a new record. I cannot, for the life of me, figure this out. I have tried to find some tutorials but nothing makes sense. Is ASP a good way to go? I have been struggling with this for a week now.
I have a camera attached to a video object that is displayed on stage. When a user comes to the site they see themselves, but I want to be able to save the video and take a snapshot. How would I go about getting the data out of flash to the server?
im using fms to save datas like rdbms. Im using shared object for this. But I cant save more than one row of data into flash media server. What can I do for this purpose??
I just started doing AS3 for Flash and I'm trying to create a flash app that has 2 things inside. An InputTextBox which is called txt_userinput and a Button called btn_submit.Bascially, the user just need to type in some word in the InputTextBox and press btn_submit. The data will then be sent to a testing.TXT in my DESKTOP. My .FLA file is in MY DOCUMENTS while the testing.TXT is in my DESKTOP.
Question 1: Question is, how do I make the data from txt_userinput to be sent to the .TXT in my DESKTOP?For example, the user typed "Hello, how are you?" in the InputTextBox. In the .TXT file, I want it to show "Hello, how are you?".
PS: testing.TXT file is already created in the desktop, just waiting for flash to write the data in and keeps on adding more data in the future in the following format.
I have a Flash AS 3.0 swf-based browser game. It's hosted on my site and communicates with a MySQL database via PHP using Flash's URLVariables. Everything works fine. The problem is, I want to be able to save the player's game after he leaves the webpage or closes his browser. How is this usually handled?
Is there a reliable event that fires when a swf is terminated? Is so, what is it? If not, what's the solution? Should I simply save the player's data every x seconds? That seems like it will bog down my server. I could have 10,000 people playing and I don't want to save each of their games every x seconds.
I want a user running a Flash game on his machine (not from a server) to be able to save some game data locally.From what I've read, there still isn't any way to do this, but I thought I'd throw it out there in case anyone knows a sneaky xml or php work around.
How do we save file locally in Flash (ActionScript 3) without displaying dialog. I know we can use the following code to save file locally but it prompts Save dialog. I don't want this dialog while saving file locally.
I am planning an eLearning project for an AS3 version of a family health history diagram (pedigree/genogram). A major consideration would be whether the diagram (created by the user by their inserting square, circle, other symbols, connecting lines, text labels, etc.) can be saved and re-opened for editing, so the user can build their family health history diagram, edit, change/add to it over time.
I've seen XML mentioned as a possible method for saving data and wondered if it (maybe by adding a server-side script-ASP, PHP) can save/re-open for editing, x,y positions of shapes, line positions, angles, length, type, etc. An SO could also work, but I'm not sure if 100 kb is enough for this data (if the Max storage is not changed in player settings, by each user).
I am planning an eLearning project for an AS3 version of a family health history diagram(pedigree/genogram). A major consideration would be whether the diagram (created by the user by their inserting square, circle, other symbols, connecting lines, text labels, etc.) can be saved and re-opened for editing, so the user can build their family health history diagram, edit, change/add to it over time.I've seen XML mentioned as a possible method for saving data and wondered if it (maybe by adding a server-side script-ASP, PHP) can save/re-open for editing, x,y positions of shapes, line positions, angles, length, type, etc. An SO could also work, but I'm not sure if 100 kb is enough for this data (if the Max storage is not changed in player settings, by each user)
I plan to create a level editor for the game I currenty work on. Thats no problem at all, but I have no idea, how i could save data for the maps into a server from the .swf and get them back at a later point.And I also would like to know, what kind of a server I would need. Are free ftp servers enough for stuff like this, or are they useless?
How do I save data from an AIR app to a .db file? I'm learning how to do an AIR app to take the strings from the user inputs textfield and generate a .db file that will be saved in 'My Documents' in the user's computer when the user clicked on the 'Save' button in the AIR app.
I am working on a flash applicaton and the final required output is of .exe and .app format.In this application. I need to save some text data on the system but as the file operation are not allowed in the .exe and .app files.I am unable to save this data.Is there any othere way to save the data on the system through exe application.
I create an area within the site where a user can manually create something from a list of objects, if I, say, wanted to save this data as a number of variables to the server ie- a new row containing all the data unique to that saved item, does anyone know the best method of doing this, I'd figure it'd be XML but resource seems a bit sparse in this area.
I am trying to save user data and I keep on coming up with the same problem. The problem code is highlighted red in the ITEM.as file. The problem is that when I update the variable it updates the savefile also, when it should not! I do not have a clue what is wrong because I am putting the traces for the savefile in one right after the other so the code can't be executing elsewhere right?
SAVE.as
ActionScript Code: class Save_mc extends MovieClip { var nSaveAnim:Number = 0; function onEnterFrame() {