ActionScript 2.0 :: Save File From Flash Game And External Flash Subgames?
May 4, 2010
how to create save files for flash games. So far, so good. But here's the problem: To improve game loading performance, I was thinking of loading external flash files. Instead of building everything inside the same .fla file, I have one main .fla file, and one or two other .fla files loaded when needed.
The flash I want to load happens to be this mini computer used for puzzle solving and can unlock new applications. And this is my problem: I want to create a save file for the game -and- for this mini computer, which is an external flash file, so it keeps track on many apps have been unlocked. Save the progress from both the main game and the mini-computer. Is it possible? Or is it better to make everything inside the same .fla instead of multiple .flas?
TL;DR: Is it possible to create a save game for a flash game AND its external flash files being loaded in the same game? If so, how can I make it happen?
View 1 Replies
Similar Posts:
Jan 31, 2010
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.
[Code]...
View 3 Replies
Apr 24, 2011
I'm making a game that populates user-designed cards into the game using an external xml file. My main class loads the xml file and then calls to the "Card" class, which wants to use the xml file. I've tried using this.parent and it just gives me a null object reference error. This is what I have so far: Main.as
[Code]...
View 2 Replies
Jul 9, 2011
Can I play Desktop Tower Defense without being connected to the Internet?
I can load the page and then disconnect from the net but my question is if I can download the game and play any time without connecting to the net.
View 1 Replies
Mar 22, 2011
how can i save data from the game(like variables) to a file that is in my folder and read the variables from it when i open the game it will read the data from the file(save/load data to a helper file in the game's folder)is there a way to do it?(even with shared objects,as long as it use a file that is in the game's folder)
View 6 Replies
Dec 13, 2009
I'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.
View 2 Replies
May 6, 2011
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.
View 7 Replies
May 21, 2011
We used Flex to build the web app below. It lets the user build an interactive activity and click "Publish as Flash" to save a SWF file on their local computer.[url]...
Problem:When saving the file, the "Save As Filetype" drop down is empty and end users can accidentally delete the swf file extension in the filename.How can we lock down the extension so it will always have SWF in the extension?
Technique 1? Set "Save As Filetype" to SWF by default.
Technique 2? Click "Publish as Flash". User specifies the filename. File is saved on the server. User presented with prompt to download file. File is downloaded from the server using the traditional browser windows explorer dialog box (the same dialog box if I downloaded a program from cnet's downloads.com)
View 2 Replies
Jan 2, 2012
I created a flash banner with flash pro CS5 using windows 7. Can I save the file so my client can open it with a Mac OS?
View 1 Replies
Apr 12, 2009
I have a number of different swf files that all have a score variable. I was wondering is it possible to save this variable into an external file and be able to load these variables in a different swf?
View 3 Replies
Jan 9, 2009
Are there any tools or plugins or techniques to save to Flash 8 file in CS4 without going to CS3??
View 1 Replies
Mar 1, 2009
I have file in CS3 which is working with classes. The problem is that I have to save it to lower version. I go to 'Save As' and choose Flash 8 document, but if i try to run the file it is not working. How can I save my CS3 + AS 3.0 file to Flash 8?
View 4 Replies
Dec 14, 2009
Is there any way to save text files via flash without php or javascript ?
View 1 Replies
Sep 1, 2009
I have 2 files one that says it is a flash document with the extension .swf the other says Shockwave Flash Document also with the extension .swf.
How do I save my .fla file as a flash document (.swf)? I dont think I want it to be a shockwave flash document.
What is the difference between the two?
View 1 Replies
Oct 10, 2010
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 Replies
Mar 14, 2011
I have some swf files (games) which I play using Swiff player...
Is there any way to save the state of the swf file ?
View 3 Replies
Aug 10, 2009
How do you dynamically save an input text to a .txt file which can be read to another file in Flash CS3? And how do i retrieve the data from the txt file if i want to call it from another file?
View 3 Replies
Dec 22, 2010
When ever I try to save a cs4 file as CS5 the adobe flash cs5 will stop responding for no reasons
also, some times and only for some files when I save the cs4 file as uncompressed cs5 and then save that uncompressed cs5 to normal cs5 the conversion works and some times not.
ofcourse any of the cs5 files cannot be saved as cs3 or cs2 for no reasons..
p/s: microsoft office can be saved to any previous versions..
View 1 Replies
Mar 10, 2011
Is it possible to save a cs4 or cs5 file in the format of Flash 8. If so how, and can someone possibly do that for me if I send them the file.
View 1 Replies
Feb 7, 2010
I have added a button in flash I want this button to save a mp3 file from the server when a user clicks on it inside a browser.One way to do this is:
import flash.net.FileReference;
import flash.utils.ByteArray;
var fileReference:FileReference = new FileReference();
[code].....
View 1 Replies
Aug 16, 2011
I have a swf page that I would like to convert to a png file. Before I convert the file, I would like to zoom in to the swf file so that I have a larger image. I try swftools to convert, but the png image quality is not good enough: Zoomed-in png image looks too blurry.
I should do to capture/use a zoomed-in version of a swf file. A linux compatible command line tool would be great as I am thinking of converting hundreds of images.
View 1 Replies
Mar 24, 2012
i made a flash air application for android and i need to download file and save to application local directory
View 1 Replies
Oct 27, 2007
How to save to a text file from flash
View 5 Replies
May 5, 2010
What methods could I use to save a xml generated in flash into the same directory as the swf file?
I know I can use "FileReference.save()" for flash player 10. But this has prompt window that appears and lets the user choose where to save. I just want it to automatically save in the directory of the flash file.
View 4 Replies
Mar 14, 2011
need save a MovieClip in XML format, then i wrote this code below:
private function getDegrafaData(e:MouseEvent):void {
var xml:XML = _canvas.getObjectData(FormatType.DEGRAFA);
_saveFileRef.save(xml.toString(), "My_Sketch.xml");
[code].....
View 6 Replies
Mar 27, 2010
How to edit the .fla file code and save it in the .swf format? I downloaded the trial version of adobe flash.I am able to see the output frame but not source code.
View 3 Replies
Jan 15, 2011
I know that there is no implementation of File Save Dialog in JavaScript as of now, but it can be done with Flash. I am looking for a lib or source code in Flash that could do it for me so that I can call it via JavaScript. JavaScript knows the data and filename, I just want to open a file save dialog.
View 1 Replies
Feb 16, 2010
how to save and load .txt files using flash? like let's say i want to make my program so that when the user(s) get onto my website that they can save a .txt msg. and then they want, they can re-load this value from the .txt (it doesn't have to be a .txt file, i just figured that would be trhe easiest way) also i need this information to be saved onto the server. how can i do this? Like do i need Side Script? (and if i do what is that?)
View 3 Replies
Jun 18, 2010
I'm using FileReference.save() method for Flash10 to save a file. It looks like this:
Code:
fr.save(BytesArray, "default.xml");
When I use default name - everything is ok. But when I change file's name in "Save Dialog
[code].....
View 2 Replies
Mar 7, 2011
I've created a flash banner and I need to send it by email as a flv file. Does any one knows how to convert from swf or fla files to flv?
View 6 Replies