Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-08-2008, 08:26 PM   #1
Flux101
Registered User
 
Join Date: May 2008
Posts: 7
Default Saving to a text file from offline project exe

Hi
Is it possible to save directly to a text file offline using the standalone player? I've seen on these forums about using fscommand ("save", path); ... but this doesn't seem to work, and the post is 6 years out of date, and I suspect they were using Flash 5, which appears to allow this function to work.

Have they allowed it to work in projector .exe files? I just need to get it to configure the settings for another application, and would like to do it in Flash for a nice interface. I don't mind using AS2 or AS3, although I'm more comfortable with AS2... that's if it's at all possible, of course.

Thanks
Flux101 is offline   Reply With Quote
Old 09-09-2008, 12:36 AM   #2
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
Default

http://www.northcode.com/
atomic is offline   Reply With Quote
Old 09-09-2008, 12:57 PM   #3
Flux101
Registered User
 
Join Date: May 2008
Posts: 7
Default

Thanks for that. So there's no way to do it locally without external programs? I don't fancy paying $300 for something I'll only use once, I guess I'll have to find another way if it can't be done sensibly.
Flux101 is offline   Reply With Quote
Old 09-09-2008, 03:02 PM   #4
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
Default

Ask someone that has it, to do it for you?
atomic is offline   Reply With Quote
Old 09-09-2008, 03:25 PM   #5
asf8
Senior Member
 
Join Date: Apr 2007
Posts: 4,772
Default

Quote:
Originally Posted by Flux101 View Post
I guess I'll have to find another way if it can't be done sensibly.
You really do not have many options... Flash alone can not do it. (After Flash 5 I think?)

Q] How to Save Text File in Flash???
http://www.actionscripts.org/forums/....php3?p=579584

There is also this which is somewhat cheaper. (Never used it but it seems to do what you want also.)

Flash Jsave
http://www.flashjester.com/?section=tricks_jtools_jsave

Like Atomic mentioned, maybe with one of the various 3rd party add-ons for Flash files, you will have the ability since they offer extended features.

http://www.chameleonflash.com/index.html
http://www.multidmedia.com/
http://www.northcode.com/
http://www.flashjester.com/
http://www.screentime.com/software/mprojector/
Etc....

or Adobe Air should be able to do it (but thats AS3)
http://www.adobe.com/products/air/

Quote:
Originally Posted by Flux101 View Post
I just need to get it to configure the settings for another application, and would like to do it in Flash for a nice interface.
Also what about Shared Objects, you could save and then load your config/settings that way.

Last edited by asf8; 09-09-2008 at 03:31 PM.
asf8 is offline   Reply With Quote
Old 09-09-2008, 09:04 PM   #6
Flux101
Registered User
 
Join Date: May 2008
Posts: 7
Default

Thanks for the help, it does look as though a 3rd party app is the best way to do this. I tried the one you posted at http://www.actionscripts.org/forums/....php3?p=579584, but if I recall correctly, it was asking for permission to use it, or it just didn't work with more recent versions of Flash (or I was being dumb and not being able to get it to work somehow).

I also tried Adobe Air, but clearly I didn't read it properly, I was trying to do it with AS2, which will be why nothing was happening!

I've ended up doing it in C++, it doesn't look as pretty, but it works and I still have some hair left to pull out in future. Thanks anyway.
Flux101 is offline   Reply With Quote
Old 09-09-2008, 09:35 PM   #7
asf8
Senior Member
 
Join Date: Apr 2007
Posts: 4,772
Default

Quote:
Originally Posted by Flux101 View Post
Thanks for the help, it does look as though a 3rd party app is the best way to do this. I tried the one you posted at http://www.actionscripts.org/forums/....php3?p=579584, but if I recall correctly, it was asking for permission to use it, or it just didn't work with more recent versions of Flash (or I was being dumb and not being able to get it to work somehow).
That link was just a good overview of the subject by CyanBlue, I do not know if vinayakk's post works or not (kind of weird that vinayakk posted once then never again ;-)

This was my suggestion that might have been an option... (I am not sure if it even works anymore either with constant updates to the player security etc... http://www.flashjester.com/?section=tricks_jtools_jsave

Quote:
Originally Posted by Flux101 View Post
I also tried Adobe Air, but clearly I didn't read it properly, I was trying to do it with AS2, which will be why nothing was happening!
;-)

Quote:
Originally Posted by Flux101 View Post
I've ended up doing it in C++, it doesn't look as pretty, but it works and I still have some hair left to pull out in future. Thanks anyway.
Glad you came up with a solution that works for you.
asf8 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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
saving info to a text file ridinglowest Projectors and CDs 10 03-01-2007 03:29 PM
Import text directly into Actionscript from a Text file? waynedoz ActionScript 1.0 (and below) 1 03-12-2006 01:00 AM
Import text directly into Actionscript from a Text file? waynedoz ActionScript 1.0 (and below) 2 03-11-2006 10:49 PM
please have mercy on my poor brain...saving to text file on HD??? eyedea ActionScript 1.0 (and below) 3 05-26-2004 06:10 PM
saving a text file ScratUAD ActionScript 1.0 (and below) 10 09-26-2002 06:27 PM


All times are GMT. The time now is 05:25 PM.

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