Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-29-2006, 05:42 PM   #1
aniWiz
Registered User
 
Join Date: May 2006
Posts: 7
Default Write text to file

Can somebody please help me, I want to write text in txt file, and I found FLfile object. But, I want to know can I use it in swf files or it needs to be in windowSWF folder? I want to write text from any swf file!!! If not like that is there any way to write to file from swf?

Thanks!!!
aniWiz is offline   Reply With Quote
Old 05-29-2006, 06:29 PM   #2
Xeef
Off-Line
 
Xeef's Avatar
 
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
Default

hi and welcome to As.Org

Quote:
I use it in swf files or it needs to be in windowSWF folder?
in will NOT work in an SWF

Quote:
If not like that is there any way to write to file from swf?
NO !

the only way is to send the content (text or what ever you wana write)
to a server and then send it back as a download (wich you then can save)
__________________

test your self -->http://www.actionscript.org/forums/s...86&postcount=8
Xeef is offline   Reply With Quote
Old 05-29-2006, 06:35 PM   #3
aniWiz
Registered User
 
Join Date: May 2006
Posts: 7
Default

Damn, thanks for quick answer!!!
aniWiz is offline   Reply With Quote
Old 06-08-2006, 04:49 PM   #4
androo_animator
Registered User
 
Join Date: Sep 2005
Posts: 32
Default

Er...not sure if this applies to this discussion, but I made a swf panel extension that writes to a file.

The code is like this:

Code:
MMExecute('var myFileURI = fl.configURI +"Commands/myFile.txt";myText="hello";FLfile.write(myFileURI, myText);');
androo_animator is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write a text file in flash nischal Projectors and CDs 6 08-24-2007 09:06 AM
Import text directly into Actionscript from a Text file? waynedoz ActionScript 1.0 (and below) 1 03-12-2006 01:00 AM
External Text File Slideshow flashboulder ActionScript 2.0 2 03-14-2005 03:23 AM
XML/ActionScript help pleeeeeeese....... witchking ActionScript 2.0 3 01-21-2005 06:42 AM
Write to Text or XML File JoElAtHaN Server-Side Scripting 2 05-06-2004 06:39 AM


All times are GMT. The time now is 02:13 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.