Enter Data To Txt File /save And Retrieve
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."
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 10-22-2004, 02:11 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Enter Data To Txt File /save And Retrieve
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."
Could V Save & Retrieve Data From Local Text Files
Plz help me 2 save & retieve files from a text or excel file located in my computer itself using flash 5 since i am more familiar with it. My intention is 2 control a database that can be updated edited or deleted
plz help me out 2 do it in simple terms since i am a new commer
hopefully Jiks
Retrieve Data From Asp File
Hi flash gurus
I creating banner that it retrieve message from text file, its working fine. But right now i need to access variables from asp file. I really getting struggle to access file and load.
Any one help me, i hope u'll
Thx
sathish
Write And Retrieve Data From A Text File On A PocketPC
My apologies, I posted this in general Help too, not sure where it fits best...
Anyone have any ideas on how I can write and retrieve data from a text file on a PocketPC using Flash? There are several solutions on a local computer such as the exec command or a middleware app using geturl, but most of these require the Flash file to be played as a standalone, and wouldn't work on PPC anyways. I've tried using javascript to set the variables in a cookie, but I can't get the data back out. The javascript function and actionscript I use successfully creates the cookie data, but it doesn't parse it the way it does on a desktop system and puts the data in one large string. I can get it to show values as: "variableA=dataA" by using 'variableA and "=" and dataA', but I'm not too familiar with parsing cookie data so I'm having a little trouble pulling it out. Any ideas or other solutions anyone can offer??
Save Data To A File
Using flash to create a stand alone application, and we need to export data to a file. I looked into this previously and I thought there was some sort of 3rd party app, or maybe it could be "printed" to a text file? I can't remember.
Anyone?
Thanks in advance!
-Dave
How To Save Data To XML File?
Is there any body know how to save the XMLList object save to a .xml file locally?
Also, how could I modify the an existing .xml file locally?
Could anybody give me a sample?
Thanks
How To Save Data In A Xml File?
I want to save variable in a XML file I could load the
variable since a xml file but I could not change them
ActionScript Code:
// load xml, doc is the xml in flash, MyFile is the xml File
doc = new XML();
doc.load ("MyFile.xml");
Please help me!
How Do You Save Data Into Txt File ?
hi,
i need help in saving data.
may i ask the data is store in the swf file itself or could it be saved into a normal text file?
where can i get sources related to saving datas?
Data Save In Projector File ?
I am using Flash MX to produce an interactive .exe file to run at shows, and would like to save data to the host machine. Any ideas please ?
Can I Use Flash To Save Data As A CSV File?
Can I use Flash to save data as a CSV file?
I want to build a desktop application that reads in a CSV file and outputs a CSV file.
Can I do the writing in Flash?
(I've read that I can do the reading in.)
Or do I need a 3rd party tool?
If so: which one?
I haven't looked into Flex properly yet, but it allow me to do what I want to do?
Thanks.
OM
Save And Load Data Into A .txt File
hi, i know about loadvars and how to get data from a .txt file, but what i want to know is there any way to either create a new .txt file in flash, or to save data into an existing one to be loaded back later???
any help greatly appreciated.
Best Way To Save Data To A File On The Server
I'm a noob at server side code, I've only used client side. I'm developing an application where the user will fill out a form and I need their input to be saved to an XML file on the server.
I assume that I can create an ASP or PHP page to take the POST from Flash (using loadvars) and write it out, is this right?
Is there a size limit on the data that I can pass? I know that it'll be much larger than 255 chars - maybe in excess of 10,000 chars in cases.
My Flash app would know where the file should be saved to and would format the XML - so the server would just take the text and save it as "page.xml" (or whatever else I tell it to).
Would this work, or is there a better way?
Can I Save Data From Flash To XML File Without Asp Files
i want to make application which need to save data in XML. The same application will run without any IIS so i cant use any asp file. anybody can suggest for same. I can read fields from XmL file, But i cant save fields in XML. pls anybody knows reply ASAP.
Save Data To External Txt File And Reload
Hi dears,
I want to save my variables to txt or doc files.
and then I want to load datas from external txt files.
If anyone get solution to this thread, Please help to me.
Note;
This is for standalone player not for web use
thanks in advance,
Regards,
Suresh J
SAVE And RETRIEVE ... Diary .....
I've been foolin around the site ...
and i had an idea ... well am not pretty sure how can i do this .. or if it is possible , but you might help ...
can we save variables to a text file , then we retrieve them back ...
like i wanna create a diary ... with dates and titles .. and comments for sure ...
can anyone help ...
Save And Retrieve Shared Object On Linux
Hi,
I am using flash shared object to save certain user information on the Linux platform and using the same data whenever the same user re-login into the application. I have observed that as the number of users (i.e. shared objects) increase in number (approx 15-20 users) the application is no longer able to retrieve the already saved shared object for that user. However, the same application works perfectly on the Windows platform (I have created atleast 30-40 users on win but application does work fine.)
I am using the following code for the SO save functionality:
Code:
var objRecordSO:SharedObject = SharedObject.getLocal("record", "/");
objRecordSO.data.username = "Komal";
objRecordSO.data.score = 30;
var bSuccess = objRecordSO.flush(1024 * 100);
Please advice.
Save And Retrieve Shared Object On Linux
Hi,
I am saving certain user information using flash shared object and using the same data whenever the same user re-login into the application. I have observed that, on the Linux platform, as the number of users (i.e. shared objects) increases (approx 15-20 users) the application is no longer able to retrieve the already saved data of the user. Which means that if the same user logins into the application, the application get closed automatically instead of redirecting him to his page.
However, the same application works perfectly on the Windows platform. I have created atleast 30-40 users on windows but application does work fine.
I am using the following code for the SO save functionality:
Code:
var objRecordSO:SharedObject = SharedObject.getLocal("record", "/");
objRecordSO.data.username = "Komal";
objRecordSO.data.score = 30;
var bSuccess = objRecordSO.flush(1024 * 100);
Can anyone provide me a reliable solution for Linux as well...
About Retrieve Data From PHP
Hope it is not Off Topic. I am a database newbie, would like to ask a question on retrieving data.
Let's say I have a column "Name" (rs["Name"]) in database. I want to use Flash to load this column of data. How can I write the php ECHO statement so that it can be easily recognised by Flash?
eg.
Name
-----
May
-----
Jane
-----
Patrick
-----
....
Eric
-----
Shall i write it likes: echo name=May&Jane&Patrick&....
Thanks
How Do I Retrieve My Data From My Xml
i've trying to retrieve data from my xml file using an "on release" handler attached to a button but with no luck. what i actually want to do is create 30 buttons in flash (10 x 3) using thumbnails, then at the click of each, data will be extracted from the xml (texts and pix) and load it into specified textfields and a movieclip. please help me because i don't know how to achieve this. All the tutorials i've seen places their code on a frame and infact, the code is used to generate the buttons and associated actions.
pls i'll be grateful if you can help me !!!!! also if there are any resources i can use to improve my xml/flash knoeledge, i'll be glad
How To Retrieve Data From Datagrid?
Hi
To add the data to DataGrid i used the following code:
Code:
var my_dg:mx.controls.DataGrid;
my_dg.addColumn("name");
my_dg.addColumn("score");
//
myData="name1,35,name2,50,name3,75,name4,100,name5,125,name6,150,name7,175,name8,200,name9,225,name10,250"
var myDP_array:Array = new Array();
function addData():Void {
var my_array:Array = myData.split(",");
for (var i = 0; i<my_array.length; i++) {
myDP_array.push({name:my_array[i], score:parseInt(my_array[i+1])});
i++;
}
my_dg.dataProvider = myDP_array;
}
//
addData()
If i click on button i want to retrieve the data from data grid. The retrieved data should be the same order the data i have provided to the DataGrid.
Can any one help
Thanks in advance
Retrieve Data From POST
Seems like it should be pretty straight forward, but I'm having some trouble. I have an HTML form on an admin page that POSTs variables r1,r2,r3...,rN that have intergers as values. The action page for the form is a review page (so administrator can confirm input before committing to a DB) that I'd like to simulate the actual user accessible page. The user page has a flash piece which draws it's data from the DB. So I want the administrator's review page to draw it's data from the form's POSTDATA, not the DB, since the DB isn't actually updated yet when viewing the review page. Can a .swf load from it's own pages existing POSTDATA. If so how.
Thanks for your input.
_b
Retrieve Data From SQL To Flash
Using Flash CS3 I need a search to go and find a licence plate and retrieve the data connected with that plate to back to Flash,
Data Base: in MYSQL (database name= cars / Table name= GPS
ID | Licence Plate | Brand | Year | Color |
How can connect, and run the query using PHP and send the results back to flash ??????
I will really appreciate your help whit this issue.
Best Regards
Gian
Retrieve Data From Database
ok so I have a login system working but I need flash to load variables from the database thru php. For exaple I want flash to load the characters level from the "level" field in the database. If anyone could type up some actionscript and a php page it would be great.
Thanks in advance!
Retrieve Data From Excel Into Fla....
Hi,
I am doing some VBA programming and would like to present some of my data in an embedded swf file in that VBA program.
How do you retrieve data from an excel file into fla/ swf ?
I have no idea whatsoever as how to do this thus any input on this is much appreciated.........
best regards
Retrieve Data From Excel Into Fla....
Hi,
I am doing some VBA programming and would like to present some of my data in an embedded swf file in that VBA program.
How do you retrieve data from an excel file into fla/ swf ?
I have no idea whatsoever as how to do this thus any input on this is much appreciated.........
best regards
Send And Retrieve Data From EXE Using ActionScript
Hi All,
Urgent Help Needed
Using actionscript, how can flash mx call an external application(.exe) and pass some variable name, so that the external application reads a data(.dat) file and returns the corresponding data back to flash for further processing and display.
Something like this:
FLASH ------varname-------> EXE ---locate varname in ----> DAT FILE
FLASH <----required data---- EXE <----data for varname---- DAT FILE
Since the external application is already available, I only need the ActionScript
to complete.
Thanks & Regards
New Comer Needs Help To Store Data And Retrieve
I'm having problems developing a code to store data I retrieve from radio buttons. It's meant to be a multichoice questionnaire with fifty sets of radiobutton groups five in each. I want to be able to retrieve the data for say question one, two , three go to question eight and on the click of a button retrieve all the data from the groups I've answered.
I tried using arrays in a code a little similar to this
x=1; i=1
function answer()
getanswer = new array(i)
if (myradiogroup.getvalue() !==undefined){
getanswer[x] = myradiogroup.getvalue()}
in an on handler get my x and i to increase by 1 each
when I trace the out put I would see the value of my radiobutton group at the current value of x but if I trace eg trace(getanswer[2]) when the current value of X is 4 I get undefined
please I need help and sorry for the length of this post
Flash Caching My Data Retrieve
Hello.
I have a Flash file that calls every certain time to check data from a MySQL table in order to update the display in the flash movie.
The problem is that Flash always shows the old data...is caching them...
The only solution i have at this moment is to erase temporary files at the browser....
Anyone has a good solution for this???
(This is the actionascript code i put in the update frame) :
data=new LoadVars();
data.onLoad=function(success){
if(success){
for(j=1; j<36; j++){
if (this["status"+j]==1){
table["mode"+j]=1;
} else {
table["mode"+j]=0;
}
}
gotoAndStop("showdata");
}
}
data.load("get_data.php");
stop();
Retrieve Data, Discard Code
i am currently having problems with code that is in child swf's. when main movie loads movies with no code everything is fine, when any code is placed in same movie file fails to load. as a work around is there a way to use the drawing api to render information yet somehow retrieve that data to be used in swf with no code just the rendered data. for instance use the lineTo, curveTo to get a shape, grab the shape send to another movie with no code.
Retrieve Data From Databases For Combo Box In Flash
Dears,
Now I have to build a Combo Box in Flash so that users
can select data from a pop-up list (that would be an
array). The contents of this array should come from a
database.
I have the idea:
First, I have to yield data from the database and then
store them in the array within a (.jsp) file.
Second, Flash then retrieve data from the (.jsp) file.
I have the concept to make combo box in flash.
My questions are:
(1) Can Flash read data from (.jsp) file instead of read data from a text file?
(2) if yes, how to make the (.fla) file retrieve data from the database?
Actually, I have to thank Gareth's suggestions.
Anyone can give me some more suggestions?
Thank you.
adawwm
How To Retrieve Data From DataSet Returned By A Webservice.
Hi all,
I am using Flash 8. I have written action script to call a .Net web service which is returning a DataSet. I can able to call that web service.But i cannot able to retrieve the data from the DataSet. Pls anybody help me to resolve this issue.Pls send me the sample code to fix this issue.
Regards,
Kiran.
Embed And Retrieve Meta Data In JPGs (?)
I’d like to know if there is a way to embed and retrieve meta data in JPGs. I know this type of information can be pulled from Mp3 files using the ID3 tags. I’m hoping to extract date, time and comment information from digital pictures without having to create a separate XML file.
Thank you.
Scripting A Button To Retrieve Data From Combo Box
I have a Combo Box in frame 1 of a test and Final Score button in frame 10, on same time line. I have tried :-
[as] _root.COMBO1.getValue();
if(_root.COMBO1.getValue()=="1"){
ANS1="1";
}else{
ANS1="0";
}[a/s]
but it retturns undefined.
How should I write the code?
Thanks
kethrobo
Retrieve Data From MySQL And Show In Flash
Hi.
Before I start, I will say that I have searched these forums, Flash Kit and Google, but every tutorial I get is really complicated. I have done this before, but cannot remember how.
I have a database, and I just want flash to connect up to it and retrieve 4 values [id, date, venue & city]. I then want these shown in a flash movie. There is more than 1 record in the DB, but I will be limiting the results to 1 that is = or > than todays date.
Can anyone tell me how to do this, or point me somewhere that will.
I do not need the flash movie to insert info to the datbase.
Thanks
Günter
List Component - Multi-select Retrieve Data
Hey there,
I'm having trouble retrieving the value of a multi-select list component. It always traces the last value selected, but I need to trace all values to parse the data.
I've been using trace(myList.value);
thanks!
Billy
Save File In Server And Save File In Clients Hd
i dont know how to do that using actionscript 5
i need 2 codes
one to write to the server a txt file
and other to write to clients hd
someone told me that you can do that, but i cant find it
if anyone can help, thank you!!
Using The Enter Key To Post Data
I am trying to make the chat post to the variable when the user press's enter, but sadly it isn't working.
The script is currently in the Chat button.
Retrieve File From Dir
is it possible to give a loadMovie command and jusr specify a directory to look in? and let the script load an swf movie?
How To Retrieve A Document Or Zip File?
How do I have a button go to a zip file and/or a document? I am creating a flash site for an intranet. I know how to import a jpeg, but I do not know how to retrieve a document or zip. Basically what I want the availability to do is to link to a zip file and have it to open and/or download to the end user.
Is It Possible To Retrieve Message From External File
Hi i've doubt, pls. clear me
I've created flash banner that messages retrieval from xml file. But i uploaded this two files in different domain name mean different servers [ locations ]. Is it possible to retrive message from different location and display in the flash web page.
Pls, reply for my doubt.
Thx
sathish
|