Professional :: Save Data Inside The SWF File?

Aug 28, 2010

As part of a project I am working on, I would like to know if it would be possible to store some data in the actual flash file.
 
Let me make this clear now... I DO NOT WANT TO USE COOKIES!
 
I need to be able to save some data to the SWF itself, NOT to the local computer.
 
To be more specific, I need to store a set of URL's, but they also need to be added by the file, so...
 
Lets say i have a button that when you click, will make a text box appear, and you type in some urls such as:
 
[URL]
 
I then have a button that says "Save" and this will save these 3 URL's. I then would have the SAME SWF display these URL's (these will be URLs of Images). The important part is, these 3 URLs MUST BE READ by everyone who views the swf afterwards, so if I were to enter some URLS of Images, when someone else views the page, they will see the images that i entered. This is why it cannot be a cookie, as their computer will not see my cookie.
 
Even if the data cant be stored in the SWF itself, i will need some way to load this information where ever the swf is viewed.

View 2 Replies


Similar Posts:


Xml :: (Flex 3) Get Data From A File Using HTTPservice And Save The Return Data As An Array?

Oct 15, 2009

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].

View 1 Replies

ActionScript 2.0 :: Swf File Save Data To Xml File While Running?

Aug 1, 2009

can an an swf file save data to an xml file while running?

View 4 Replies

[AS3] Save Data To A Txt File?

Mar 27, 2009

I have a text file that I'm loading in, and that works just fine, but I want data to be saved to the file and I can't figure out how to.

This is what I have so far:

[code]....

View 4 Replies

ActionScript 3.0 :: How To Save Data To .db File

Jul 4, 2011

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.

View 4 Replies

Flash8 :: Save Variable Data Is Swf Or Other File?

Jul 5, 2011

there are 2 items on stage, one is the "button" with instance name myButton and a dynamic text field.so the action script goes this way...

myVar=0;
myButton.onRelease=function(){
myVar++;
trace("click");
}

the dynamic text is initially zero (0) and when i click the button it counts the clicks up to here every thing works right but...when .swf file previewed in html after clicks if refresh is pressed the number is going back to zero.i want to upload this file and use on webpage.

View 5 Replies

Data Integration :: Save A Xml File From A Swf - Write Into XML

May 27, 2008

I have a big dout running in my mind that can we save a xml file from an swf., that is i have done so many projects from which you can read contents from xml but can we write in to xml that is all is my dout.

View 5 Replies

ActionScript 3.0 :: Save Data In JSON File?

Jun 18, 2011

I have a table which contains 3 columns, "itemid, xcordinate, ycordinate", in this different records are saved, now i want to have these records on a JSON file, when use click save button, all records present in the table(2d array) save in JSON file.

View 1 Replies

ActionScript 3.0 :: Save Data Remotely - String In A Txt File?

Aug 14, 2009

I've made a little game in Flash, and I want it to have an online leaderboard. But after looking into it, it seems it's complicated saving a simple .txt file because of security, and the tutorials I have tried to use, using PHP to do it, have not worked, not even the excercise files. So I was wondering if anyone have either a working tutorial or code to save a simple string in a txt file, or know another way of saving data remotely?

View 13 Replies

ActionScript 3.0 :: Save Data To A Text File Without Browser?

Mar 20, 2009

I have a stand alone application that would run without a browser on desktop. I would like to write data to a text or database (MYSQL/PHP). Would it be possible for me to extend this functionality to a AS3 Stand Alone Application which would be strictly running on desktop?

View 1 Replies

ActionScript 2.0 :: Enter Data To Txt File / Save And Retrieve?

Oct 22, 2004

What must be done to allow a user to input information into a flash form, have it permanently saved to a .txt file and then have the data returned to another location within the same flash document?

"First time posting and this site is awesome."

View 1 Replies

ActionScript 2.0 :: Physically Save A File With Text Data

Mar 28, 2008

I have a desktop app build in AS2

It kind of functions like a shopping cart / product calculator.

I want to be able to physically save a file with text data (to be reloaded later) in a directory on the computer. the app is running form a projector on windows.

View 4 Replies

ActionScript 2.0 :: Save Data From The Game(like Variables) To A File?

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

ActionScript 2.0 :: Enter Data To Txt File /save And Retrieve?

Oct 22, 2004

What must be done to allow a user to input information into a flash form, have it permanently saved to a .txt file and then have the data returned to another location within the same flash document? "First time posting and this site is awesome."

View 1 Replies

Professional :: When Save The File As A .swf File To View It In Browser The Video Gets Really Big?

Apr 15, 2011

When i save the file as an .swf file to view it in my browser the video gets really big (sized the flash document 250x240 px) . How can i easily control my flash video sizes?
 
another thing: When im doing a video and work with things that are outside of my white document (in the gray area) for instance things that are to be faded into the document and so on. These things also show up in outside of my video when i view it in my browser.

View 1 Replies

ActionScript 3.0 :: Save Drawing Data To A File On A Hard Drive

Feb 27, 2010

I'm still relatively new to the actionscript 3.0 world. I have been given an assignment to make a drawing program that allows me to do many different things. One of the big things that it needs to do is be able to save a file with the drawing information and still be editable. After much searching I see that you can't just write sprites to a file and then they come back cleanly, obviously returns null. I also don't think that registerClassAlias won't work because I don't think it will allow me to convert things back to a sprite. I keep an array of sprites that allows me to undo/redo, and I originally figured I could either write the arrays or the individual sprites to the file, but that is not allowed either. Does anyone have any idea how I can possibly accomplish saving my drawing document and loading my document with keeping all of my sprites in my array separate from each other?

View 6 Replies

Actionscript 3 :: Audio - Combine Multiple Raw Sound Data And Save Them Into One File?

Jun 7, 2011

i built and application that load multiple sound files play it in a sequence as the user order them but i wonder is there a way to save this sequence into one mp3 or wav file

View 1 Replies

Professional :: Save .fla File As Animated Gif?

Jan 15, 2010

still have the button link work? And to keep the file size low?...from .fla file to anim gif.....[URL]

View 1 Replies

Professional :: Why Cant Save A Cs4 File As Cs5 In Adobe Flash Cs5

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

Professional :: Cannot Save CS4 File As Macromedia Flash 8

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

Professional :: Save A File As A Clickable Image ?

Oct 18, 2011

I'm new to Flash (CS5.5) but have self taught quite a bit. I created a simple "slide show" model of images which fade in and out to other images—it's a holiday greeting card. How do I save/export/publish (not sure of the correct terminology) this .fla file so that my end result is an image that I can insert (as an image) into an email (outlook) and send. The recipient should be able to click on the image and activate the movie.

View 3 Replies

Professional :: Shared Objects - Save The SOL File To Desktop

Dec 28, 2011

I am a psychology student and have the need to edit a flash game for use in a project. Having no programming experience, this is proving to be an issue! Basically I contacted the authors of a study for a copy of a driving game that records data to an external file (I think this is where shared objects come in?). Unfortunately, I cannot find the output file anywhere on my machine (I am running Windows 7 - have looked in the appropriate directories). After downloading a trial version of CS3, I have edited the screens I needed but have not been able to understand the code. I have located the code for the shared object and was wondering if anyone know how to make it save the SOL file to my desktop. Here is the code I think is appropriate:

[Code]...

View 30 Replies

Professional :: Can't Save Document, Or Copy Layers To New File

Feb 14, 2012

I'm having an odd problem that I can't seem to resolve. I'm updating some old animations (created around 2004-2005). Most have gone without a hitch, however one file has been a problem.
 
First the specs: Windows 7 64bit, Master Collection CS5.5. All updated.
 
The problem with the file:
 
I can open it just fine, test the movie, etc. If I try to save the document, it fails, saying "Unable to save the document as...". I can save the file as a CS4 document, which seems to work OK. However, I need to move the contents into a new document. If I try to Copy the laters, Flash immediately crashes.

View 4 Replies

Professional :: Save And Load The Swf-file To A Local Disk Of Any User?

Sep 28, 2010

I am a developer in Web Flash Game.(I use AS3.0) I want to save and load the swf-file to a local disk of any user,Because I want to decrease the time for loading a flash movie from site.Is it possible?If it is possible, I hope the swf-file has only one loading from site and it will be loaded from a local disk of any user after that. (I know a concept of Internet temporary file. I want to know the other techniques of only using AS3.0.)

View 3 Replies

Professional :: Flash 'Unexpected File Format' Save Corruption?

Sep 7, 2011

We recently upgraded to Windows 7 64Bit from Windows XP here at work, and since the upgrade i've discovered a very scary issue with Flash.When going to save one of my large projects, often Adobe simply crashes outright, freezing up and displaying a standard error message."Adobe Flash CS5 has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available." - with an option for "Close program"I hit close program, and Flash disappears. If I try and open that same FLA file again, I get the error messageUnfortunately it seems since Flash is crashing in the middle of saving, it is corrupting my FLA file. This is extremely worrying, since it corrupts my entire source file.Here's the details of my computer:OS: Windows 7 - Recently upgraded from 32bit Windows XPThe Flash CS5 version is 11.0.0.485The FLA in question is 10MB, and contains some large map files (gifs), lots of small JPG's as well as a fair chunk of code as well as importing of external classes. I've tried replicating the issue on smaller files, and haven't been able to do so.

View 27 Replies

Professional :: Put A Video Player Swf File Inside A Flash File?

Aug 17, 2010

i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial [URL] that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf. how i can do that?

View 1 Replies

Professional :: Save Stock Footage As Flash File With Transparent Background?

Mar 8, 2010

I have some stock footage of smoke on a black background (.mov format) that I would like to convert to a flash file with a transparent background, which I will be overlaying over a PNG image on a webpage.
 
I have managed to remove the black background in After Effects using a plugin called UnMult, but when I try to render as a FLV file in AE, even though I check the option to preserve the alpha channel and encode using the On2 VP6 codec, I still get a black background.
 
So I am wondering what else to try, whether it be with AE or Flash CS4.  Is there a way of achieving this effect by directly importing the MOV file into Flash CS4 and removing the black background there, or do I have to use AE, and if so, how to achieve the effect I am looking for?

View 1 Replies

Professional :: Flash Main Application Toolbar Disappears When I Save A File In Cs4?

Apr 5, 2010

When I save a .fla on my macbook (snow leopard OS) the main Flash CS4 application toolbar (the one with the minimize, maximize, hide buttons on it) disappears after the save dialogue has gone.To get it back I have to re-launch the app.I have checked for software updates but nothing seems to be addressing this issue.

View 3 Replies

Professional :: Find And Save The Background Music File Of Flash Site?

Sep 19, 2010

I see that the background music in my Flash site is located in a symbol called muz When I click the properties of this symbol, the sound file's location is listed as.flashsoundmuz.wav I couldn't find that sound sub-folder in the flash folder nor could I find the file. I tried doing a search to look for the muz.wav file in my computer but it could not be found. Does anyone know how I can find and save this file?

View 3 Replies

ActionScript 3.0 :: Flash Create A Flash App To Put Data In A .txt File And Save It?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved