Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








How To Save Text To A File ?


Last edited by Cadillac57 : 2002-07-31 at 20:28.
























hello, i dont know how to save a txt file of something, i have a place with input text and a variable named title, now i need anything that i write in that field that haves input text, to be saved to a TXT file, is there any way to do so in actionscript coded for flash 5?
it must save to an online place in the server
not clients HD




Ultrashock Forums > Flash > ActionScript
Posted on: 2002-07-31


View Complete Forum Thread with Replies

Sponsored Links:

Save My Swf App's Text Field To A Text File Or Open It In A Browser Window
How would I go about creating a button in my flash application (swf) to simply save the contents of a single text field (plain text) to a text file in the location of the user's choice?

Or, even better, could I have it open up in a new browser window?

Also, is there an easy way to print that same text field--nothing else, just the text. This actionscripting is still hard to grasp. I'm not having any luck making the print dialog even show up. Here's my script:

printpage_btn.onRelease = function(){
var my_pj = new PrintJob();
var myResult = printJob.start();
if(myResult){
myResult = my_pj.addPage ("AminoAcids_txt", {xMin: 0, xMax: 540, yMin: 0, yMax: 720});
myResult = my_pj.addPage ("AminoAcids_txt", {xMin: 0, xMax: 540, yMin: 720, yMax: 1440});
my_pj.send();
}
delete my_pj;
}

View Replies !    View Related
How Can You Save To A Text File?
I know that Flash doesn't let you save variable data to a text file, but what I want to know is if there is any way using a different language combined with Flash, and if so how do you pass variable data from Flash to the other language??

View Replies !    View Related
Save To Text File.
is there any way to save information from text box in flash to text file? so then it can be used to load it up into the text box on the next frame

View Replies !    View Related
Save To A Text File?
Okay, we all know that it's possible to load variables from an external textfile. But my question is: How can we store variables into a textfile using flash? What action/command should i use for this?

View Replies !    View Related
How To Save To Text File
I have some variables...lets say this:

dude = 3;

I would like it to work with this code:

this.sendBtn.onPress = function()
{
//here would be code that would save "dude" to a text file.
}

I'm making a video game that saves and loads variables. I think I read something about ".as" files but can't quite grasp how to use them. I would very much appreciate it if someone could help me out with this thank you.

View Replies !    View Related
How To Save As Text File?
I am New Here.
I am Create Phone book on the Flash 8.
In the Phone Book You can save your phone number and name.
I am save phone number and name in the Local Storage System.
See below.
Link:Phone book.
How to save a phone number and name in to Text file(txt).
I am tried to save as text file through PHP,but it failed.
Please help me.
Thanks anybody help me.

View Replies !    View Related
Save To Text File
Is it possible to save to a text file with Flash MX, without using any other form of code such as PHP?

It does not need to create a text file, just to modify it.

The text file will already be in the same directory as the .swf, it just needs to be able to send one line of text to it.

View Replies !    View Related
How To Save A Textfield Text To An External Text File
I have an application that combines words introduced by the user to create new words. I would like to be able to save the resulting combinations into an external txt file. Do any of you know how this could be done with actionscript?

View Replies !    View Related
How To Save A Textfield Text To An External Text File
I have an application that combines words introduced by the user to create new words. I would like to be able to save the resulting combinations into an external txt file. Do any of you know how this could be done with actionscript?

View Replies !    View Related
I Am Trying To Save To A Text File From My Movie. Is This Possible?
Hello,
I am trying to save some dynamic objects from my flash movie to the local drive, so that a user can access and modify them the next time that they start the movie. I am not sure if Flash will let me write to the hard drive; From everything that I have studied, I am starting to think that it can't. Can any one help me please?

View Replies !    View Related
Save Variables To Text File
I have a presentation done in Flash. The user can go into a control panel like section in the presentation and can edit a lot of the various name values for the presentation so that the presentation can be customized. I want the variables that the user enters to be saved to a text file so that they can be loaded later. Does anyone have any ideas how to do this?

View Replies !    View Related
How Do I Save A Text Value To File Without Nasty Dos Box?
thanks to help here i can successfully control a movie using a text variable in an external text file. (ie if text1=scene2 goto scene2)
however at the completion of a scene or animation i need to append this same text file with a changed value.

i am accessing this txt file locally, not using any web server protocols. i have looked through a stack of tutorials and they all have web server details. Others use a little dos program to write the file, resulting in a nasty pop-up window.

the text that i need to write to file is not determined by user input to a field or anything, it will simply be something like "text=finished" and will be fixed.

can anyone point me in the right direction on this one?
thanks
clint

View Replies !    View Related
Is It Possible To SAVE Variables Into A Text File?
Is it possible to SAVE variables into a text file? Rather than using PHP, PERL, ASP etc? It is for a game where i want to save highscores to be used simply on the desktop. Thanks!

James

View Replies !    View Related
Can Save Variable To Text File?
I design go-moku game, and want save data to text file
can use script to do that???
help me!
thanks

View Replies !    View Related
Save A Text File From Flash
I am looking for a way to let my customer update the text in their website (a flash site I made) by going to a flash file that would let them enter text that would then be saved to a txt file on the web server (Windows 2000 Server). Then I could load that text on each page within their site.

It would work as a simple text file, or if there was a way they could program the links (without having to know how to do <p> or <br> in straight up html format) that would be killer.

Thanks in advance!

View Replies !    View Related
Flash Save To Text File
Does anyone know how to save text from a text box in flash on to the server? I know how to read from a text file, but not save...

View Replies !    View Related
Can JavaScript API Save Text File?
Hi Guys,

Can anyone know about saving a text file or xml file in the local system without the support of browser (that means for standalone application)?

Can anyone know how to script for Javascript API?

Can Javascript API be implemented for a standalone application developed using Flash MX 2004?

Can javascript API works for both PC & Mac?


Looking for your help!

-Kannan

View Replies !    View Related
Save Dunamic Text To Txt File Please Help
can anyone tell me how to save text from my flash movie file to a text file on my harddrive at the click of a button "link save to disk" the text i want to save is dynamic and named text

thanks for any help you can give me
stephen

View Replies !    View Related
Save HTML Text To File
I have some code to load text from as HTML text and display it in a dynamic text frame. Now i want to be able to load it, alter it and then save it again.

code: //load html text
l = new LoadVars();
l.onData = function(r) {
_root.load_txt.htmlText = r;
};
l.load("news.txt");

Any help would be really appreciated!

View Replies !    View Related
Save The Input Text To A Txt File
How can I get Flash to save the input text to a txt file on my local drive?

Please can someone help me!

This will all take place on a local drive in the same folder, no server nonsense to worry about.

I have tried using php but it dosn't work. But i dont think i have php installed on my computer will this matter?

I do understand that flash can't save exernal files.

Thankyou in advance!

flash_joker

View Replies !    View Related
Using Flash To Save Text Into A .txt File
Explanation:

While in high school I realized that when two students logged into the same account, one could type a message in a .txt doc, save it, and the other could read it and then respond the same way. I want to make a flash chat app that will add a GUI to process. What I am thinking is that when a user types text into a field and hits "send" it will save the text into a txt file. The flash app will have a script that loads the text in the file every few seconds so that it updates when a new message is typed.

My question:

How can I get flash to take text from an input text field and save it in a txt doc? I thought of variables, but since each user will be running a different version of the chat app the variables would be different. I figured loading the text from a txt file would be the best way.

View Replies !    View Related
How To Save/load From Text File ?
hi
How to save/load from text file without php?
with Fscommand or FLFile

View Replies !    View Related
How To Save/load From Text File
Hi
How to save/load from text file in flash 8 without using php?
with FScommand or FLfile class
tnx

View Replies !    View Related
Create And Save Text File
I've been looking around and at this point I'm not even sure this is possible with actionscript.

I need to create a text file in actionscript, then write to it.

The info to be written is one variable, or one line (a very long line).

This will be writing to a server as well where the swf will reside.

Or better yet, save this info to a database!

Thanks,

View Replies !    View Related
How Can I Save Variables In A Text File?
Can I save variables in a text file only using Flash? I know that in Flash 5 you could use fscommand("save","text.txt"), but it doesn't work in Flash 8...
Any suggestions are welcome...
Thanks!

View Replies !    View Related
Save Variables To A Text File?
I am aware that flash cannot inherently save variables to a text file. I found an old post with an example (attached) where the author used javascript as a medium to save text to a logfile locally. This basically does what I need it to except I need to save the text file in a folder with the .swf server side. I think the javascript file can simply be edited to save server side, but I don't know javascript. Any solution would be appreciated.

View Replies !    View Related
How To Save A Text File In The Server?
hello

i just want to save an text file in the server.

My idea is to load an xml text file maybe make some changes and then save it back to the server, so i can avoid all the database/php work because i know nothing about it.
thank you

View Replies !    View Related
Save The Text File. It's Very Urgent Pls Help Me
Dear All,

I am developing the Flash Application in the Flash MX2004 Professional.

I need save the text file '.txt' formate the local system like C: or D: other wise user selected directry. Its possible or not. Pls help me

Regards

Flash groups

View Replies !    View Related
Save An Array In A Text File
I have 4 dragable object which I need to save their x and y in an array. Do you know how to do it?

View Replies !    View Related
Can Flash Save To A Local Text File?
I was reading in one of my many books in flash, it was late, I was tired, but I came across a sentence that said it was possible on a windows system to write to a text file. Now I have spent a week pouring through my texts trying to find that reference, but it remains elusive. Does some guru out there have the answer to my quest, or did I fall asleep studying and dream the whole thing...
-John

View Replies !    View Related
I Want Actionscript To Save To An External Text File
I have a button and i want to make it so when I click that button, whatever is typed into a dynamic text box (called "speech"), will be saved to a document called "data.txt" . Could somebody show me the code? Thanks!
-WLM

View Replies !    View Related
How To Save Stuff To A Text File With Actionscript
How do you make actionscript write to a text file that can be loaded by a dynamic text box?? (I know how to do the loading..)


I basically want to learn how to have an input box (Admin section basically) that I can go to my website select a text file from a drop down menu, the text file will get loaded into the input box, Then I be able to save the changes that I've made.

If anybody knows how to do this, I'd greatly appreciate it!!

View Replies !    View Related
How Do I Load/save Varibles From A Text File?
(i did a search and didn't find anything useful, but if you can, direct me there.)

I want to first figure out how to load in varibles from a text file that is on my computer, not from a url. Then after I get the hang of that I want to save varibles to a text file.

I was browsing through the help, and I seen something called LoadVariblesNum and LoadVaribles, but I couldn't get them to work right. It may just be the way I have the varibles stored in the text file. Here's a look:

&var1=10
&var2="v2"
&var3="20"

I think thats the way I'm supposed to do it, with all the "&" symbols. But not sure. If someone could help me out, that would be great.

Thanks in advance,
Underworld1020

View Replies !    View Related
[MX04] Save A String As A Text File
Hi,

What is the easiest way to save the content of a String into a text file on the server side ?

I've read the forums, and it doesn't seem too difficult to do it using php. Unfortunately, my webhost doesn't support anything like php (and for a contract reason, I can't change it at the moment).

Is there any other way to achieve it ?
Many thanks for your help!!
kz.

View Replies !    View Related
I Want To Save To A Text File, Need General Info
When the user clicks export I want as3 to let the user choose a folder and filename to save a simple text file, then import lets them select a file and load its text contents.

Which classes should I research to make this possible as far as the file opening / saving is concerned? There will be no interaction with the server. If you paste the link to an example or a google search that has examples that would help too.

SharedObject class?
FileReferenceList?

View Replies !    View Related
Save Input Text In The Text File
what can i do for this??
i want when enter a text in the text filed and press button then the text save in the external text file (txt) .with var.
to use it in other swf file.

View Replies !    View Related
PHP File To Save To A Text File
any one got a PHP file that saves text to a text file from flash.
ive looked all over the web can not find one

any help thanks
brian

View Replies !    View Related
Save Text File Or XML File To HDD?
Hi,

Can anyone tell me if it is possible to save a text/XML file locally to the hard drive in flash 8. It would be really handy as I am trying to make a level editor, but need to save the level somehow. the level data is XML although I could spit it out as a text file. I've looked around but can't find anything relating to this directly.

TIA

Homer

View Replies !    View Related
Can I Save Variables To A Text File On My Local Harddrive?
Can I save variables in a text file on my local harddrive?
I want to use a swf (with a Form) to save addresses to a txt-File.
Is there a way doing that without installing a virtual server on my notebook and using a script?

I heard there is a way doing that with fscommand, but I have no clue how.
Hope someone can help.
Thanks.
David.

View Replies !    View Related
Can't We Save A Text File From An Swf Running In Browser Window
Is it necessary to make a projector to save a txt file. i am unable to save it from simple swf. Can anybody help
Regards
Dabz

View Replies !    View Related
Save As Flash Text To Word Or Notepad File?
Can variables in a text field be saved into a Word and or Notepad, doesn't really matter long as it's able to save it down to there PC harddrive?

So it would be like, what ever is in the input text field, ie your typing an email then a flash button pops up a thing so you can save it into a notepad.

View Replies !    View Related
Save Log Text File Of Each Click In Flash Site.
Hi

Can anyone please tell me how to log each link click in the flash site menu, and save the value concurrently in a text file numerically.

Features.
Specs.
Interests.

Text file :

For example each click for Features would maintain log in a text file Features = 20 clicks.
Each click for Specs would maintain log in a text file Specs = 22 clicks.

Any help would be appreciated.

Thanks
Fahad.

View Replies !    View Related
How To Save Values From Flash To External Text File ?
I am able to load values from a text file into Flash using LoadVars.
But how to do the reverse process

i.e to save value from Flash into a text file

View Replies !    View Related
Save Text File Via Flash-send Variables To Apps
Hi everybody:

I want ot know if its possible to save a text file using flash.
also if its possible to send a variable to another application from flash.
Thanks

View Replies !    View Related
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!!

View Replies !    View Related
Weird .as Bug -- When Saving .as File, Flash Forces 'save As', Then Creates .TMP File
has anybody seen this???

when trying to save an .as file (the file already existed), instead of it being saved, i get a 'save as' dialog from Flash

if i click 'save', i get a prompt saying the .as file already exists and do i want to overwrite it...

if i click 'yes', the file is saved and then in the directory where the .as file is saved i get something like this, Trace.as~RF11025e.TMP

the .as file in question, Trace.as, i had first saved on my PC (windows 2000), i had then saved the file to a borrowed laptop (windows xp), and now saved back to my PC...

this is when i started getting this weird bug

does anybody know what's going on???

View Replies !    View Related
Weird .as Bug, When Saving .as File Flash Forces 'save As', Creates .TMP File
has anybody seen this???

when trying to save an .as file (the file already existed), instead of it being saved, i get a 'save as' dialog from Flash

if i click 'save', i get a prompt saying the .as file already exists and do i want to overwrite it...

if i click 'yes', the file is saved and then in the directory where the .as file is saved i get something like this, Trace.as~RF11025e.TMP

the .as file in question, Trace.as, i had first saved on my PC (windows 2000), i had then saved the file to a borrowed laptop (windows xp), and now saved back to my PC...

this is when i started getting this weird bug

does anybody know what's going on???

View Replies !    View Related
Weird .as Bug, When Saving .as File Flash Forces 'save As', Creates .TMP File
has anybody seen this???

when trying to save an .as file (the file already existed), instead of it being saved, i get a 'save as' dialog from Flash

if i click 'save', i get a prompt saying the .as file already exists and do i want to overwrite it...

if i click 'yes', the file is saved and then in the directory where the .as file is saved i get something like this, Trace.as~RF11025e.TMP

the .as file in question, Trace.as, i had first saved on my PC (windows 2000), i had then saved the file to a borrowed laptop (windows xp), and now saved back to my PC...

this is when i started getting this weird bug

does anybody know what's going on???

View Replies !    View Related
How To Reveal A .swf Server Directory Behind A Host Html Index File To Save A Flash File To HD?
I FIND YOUR FLASH FORMAT EXTREMELY USER-UNFRIENDLY.
I spent two weeks to figure out how to save a complete .swf file to my local drive.
Finding 48 files behind a main html doc hosting those .swf's took 48 hours.
(Now I can't move my arm anymore due to RSI!)

No application to save a Flash file, seems to be able to do that in 1,2,3 convenient steps.
I always get bits and pieces or individual graphics.

I NEVER GET THE ENTIRE MANUAL the way I can browse the Flash file in my browser.
I am seriously thinking of never browsing a Flash file again if there is no solution to download e.g. a manual of my digital camera. I have the right to browse such a file at my convenience either on or offline! Online it's just impossible due to server overload.

Now I only get the desadvantages of the format to deal with (e.g. tons of spamming advertising) whereas I should be able to enjoy the benefits. Eventhough I gave the manufacturer the right to fill up 10 MB on my drive, I never got a file on my PC. And even when I did, I wouldnt know where to find it...
I hope Adobe would listen to the user more often...

WHY DON'T YOU BUILD SOLUTIONS AS EASY AS A RIGHT MOUSE CLICK
ALLOWING FOR SAVING A FLASH FILE!
That can't be rocket science, is it?

Thank you for paying attention to your customers.





























Edited: 10/29/2007 at 11:45:18 AM by VOGAN

View Replies !    View Related
Save Vector File File From Online Flash Tool
I am creating logo designing flash tool, user can come to the site and select symbol, add a name and create logo,
I did that part ,

but I need user to save the logo as a vector file. Is this possible? Any software for this

Regards!
Nalinda

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved