ActionScript 3.0 :: Flash How To Ipad Flash App Save Data
Feb 22, 2011I'm planning to build an ipad flash game and would like to save some information, like user info like name and unlocked levels.
View 2 RepliesI'm planning to build an ipad flash game and would like to save some information, like user info like name and unlocked levels.
View 2 RepliesI 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 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??
View 3 RepliesI 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?
View 2 RepliesI 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...
View 2 RepliesI 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 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?
View 1 Repliesim 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??
View 1 RepliesI 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.
View 2 RepliesHow 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.
[Code]...
Years ago, when I was designing a game site, it was recommended to me to do what you pretty much suggested in your answer to a question about Flash sound: put my sound effects as Flash elements. This works great on every platform except the iPad.
View 2 RepliesI have a website that uses flash. I would like to convert the website so that iphone / ipad users can see my website. I understand that Iphone / Ipad can't render flash. What would be the best-practice to convert flash website to iphone / ipad compatible?
View 2 RepliesIs its currently possible to publish a Flash App to iPad? I see Flash CS5 has the ability to publish to iPhone/iPad - is Apple supporting this and will be able to be sold in the App store. It would be a lot simpler for me to code up my next project in flash as opposed to objective c and cocos2d.
View 1 RepliesIve just started messing around with flash cs5 and trying to make a simple app for the ipad and have it eventually on the app store. The thing that has me concerned is that the animations seem to be struggling on the ipad.
im running it at 24 fps and there is zero physics and very simple AS3 for touch to stop animations. But the animations are running so slowly and the sound layer is no longer in sync with the animation.
Does anyone have any experience with this that can advise me on what the issue may be? why would a simple flash cs5 animation struggle as an ipad app? would the file type of the sound files be an issue?
Has anyone succeeded in getting video to play in Flash published for the iPad? I have tried using both the Video and StageVideo classes, but even though they test successfully in the Flash IDE, they do not work on the iPad. I am using CS5.5.
View 1 RepliesWe have a ASP.net 3.5 website with a simple flash video that plays in a banner. What would be the easiest way to update this so that the video would play on an iPad?
View 1 RepliesI have created an iPad app using Flash cs5.5, how do I test on my iPad, I do have the developer cert and license.
View 1 RepliesIīve built an app for the iOs in flash.I successfully generated de .ipa package but on itunes connect the app shows for iphone and Ipad but i wanted distribute it exclusively on ipad.I think it has something to do with the flash builder options but I canīt seem to find that option on flash builder or on the internet to build exclusively for ipad.Does anyone know to build exclusively for the ipad in flash builder?
View 1 RepliesI just upgraded to Flash 5.5. When I compile for iOS my cursor disappears. I'm using the following code. It worked great when I compiled it on 5.0 but it stopped working with 5.5
player3.x = stage.mouseX;
player3.y = stage.mouseY;
Is there any SWF to HTML5 converter or any format which can run on the ipad? not smokescreen... other alternatives.......?
View 3 RepliesI'm trying to put a mp3 player on my web page and it should work on iPad. So, I learned iPad doesn't support Flash. However, apparently partly it does. I couldn't find the information on this. How is it possible: [URL]. That is a mp3 player working on iPad (when browsing on Safari). However, it uses audiojs.swf (1644 bytes) and without that it doesn't work at all. How can iPad use the swf if Flash is not supported? What is another good free mp3 audio player that works on iPad.
View 2 RepliesI have a website that has a Flash banner. For devices that do not support Flash (like iPads) I want to display an image instead. What is the best practice to deal with this situation? Should this be handled from the front-end with JavaScript?Should this rather be handled from the back-end? (I am using Java on the back-end)
View 1 RepliesHow to call flash file in ipad application. Is it possible or not? Is there any way to call flash file in iPad application?
View 2 RepliesI am Adobe Flash DesignerDeveloper and i ended AIR Application for desktop and need to know how to launch this app on iPad?
View 1 Replies