im trying to use loader class to load a swf from a remote server, and FileReference.save() to save it on my hd. But i'm confused how to reference the loader obj that contains the swf as bytearray, and then write that bytearray out.
everytime I look for ways of sending back to XML changes produced in Flash, the tutorial always assume that we are using a server. Is there a way for having a Flash projector that everytime it starts 1-checks for data to load to the projector 2- lets us do changes to data (add, change and remove xml data) 3- and in the end we can save the changes made to the XML file that was initially loaded?
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'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 know that most of the media in web pages are temporarily stored to a temp folder or browser cache. Some are directly embedded in web pages so that we can see the source and can save them. But how to save images loaded using any other method? You can see what I am talking about here. Is there any solution to save images from this site's gallery?
I want to save a jpg of dynamically loaded swf's to the user's computer. Everything works great, except the loaded swf's don't appear in the jpg (everything on the stage renders fine). Any thoughts?
I'm using StageWebView to load mp4 & pdf files in my iPhone app (Adobe air 3.2 for iOS, in Flash CS5.5)
Below is the code I'm using to load the pdf file (same code to load an mp4 file).
I need to save the file on the iPhone, so the next time the user opens the app, i'll check if the file exist I'll load it using FileStream.open(filePath, FileMode.READ);Is there a way to save a file loaded using the StageWebView? [code]...
I'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.
Can we Bypass the save dialog box of FileRefernce.save()? If not, then Is there any workaround to save a file from web application in Flex without asking user where to save file?
i have movie clip with Images and button Save and class MyProject.as how save images with my MyProject.as, with help FileReference.save? what to write in code? how code should look like? tell me good people I want to write everything in a separate class
Is there a way to get rid of the save dialog box in filereference.save()?I want to specify the filename and location rather then letting the user do it.
At my college, they have CS4 (master suite) and at home I've got CS5 (design premium). I can save files in CS5 as CS4 so they can be read at college (by Flash) but I have to do it via the "save as" every time I save. After a couple of times, it get rather irritating. Is it possible for me to save in the usual way (as if it was a CS5 document) without the save as dialog every time I save my work?
Im new at actionscript, and I am making a very project. Basicly, I have some thing were there is a page you can get to by beating other parts of the 'game'. I want to add some sort of a password or save feature to people can type in the password of something at the opening screen and jump to that page.
Im working on a project that has a main swf file associated with the document class. It loads XML that provides the text content for the project, then it loads a swf that contains a font in its library, then it loads the first of several content module swfs. When the font swf has inited, I'm registering its library font with Font.registerFont(), and using it in a TextFormat object. After everything is done, I can add code to the document class to create a text field on the stage of the main swf and format it successfully with the TextFormat object, but when I try to do the same thing inside the loaded content module swf, the text doesn't show up there at all.
Long story short, I hit save and I got an error that gave me no other option but to close the program. That's great, it happens all the time - good thing I save frequently. But unfortunately its not that simple, I tried to re-open the .fla and I got an "Unexpected file format" error.
I searched adobe support forums for that error only to get the obvious replies(make sure you are opening the write file format...yadda ya). I know its the right file, I have been working on it for the past 3 months. I noticed adobe offers $40 over the phone support, which I would gladly pay if I knew they could fix it
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?
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 was wondering if there were any libraries which could be used to save a .xls spreadsheet file through php onto the server. The client seems to think that this is absolutely necessary but I have no idea how I'm going to do it.
I keep a copy of CS3 around just so I can be productive... CS4 takes 10 to 20 seconds between timeline edits for the screen to un-freeze.I had hoped CS5 would resolve this because I would like to and need to use the Flash Player 10 classes.But NO!, it is completely useless in a production environment because you can't even save your work without jumping through hoops!!!I work with aproximatly 20 designers and we have thousands of CS3 files that get updated in over 40 live sites. This product is not ready and it is very disappointing that Adobe would release it like this. The only way I can save any of these files is to save as a CS4. [url]...
I did an animation in Flash CS5 for my website that I'm creating in DWCS5. The animation size in flash is 7000x300pxls. When I was done I save it to my desktop. then I went file- publish. and get an option to save in SWF. and HTMl. I select both boxes . and I choose to save to my desktop too. but when I go to my desktop I don't see it. I dont understand why I can't save it in these two formats. do you think I m missing a plug-in. And if you can post it here or email
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?