PDA

View Full Version : Creating batch in flash


joethedementoid
03-25-2008, 11:11 PM
Hello, everyone.
I've just uncovered my old flash 8 disc and decided to play around with it. I remember flash not having many practical uses, but I thought of some. Does anyone know if there's any way to create a batch file (or text file) using ActionScript 2.0?
If so, that'd be great.
Thanks,
joethedementoid:confused:

asf8
03-25-2008, 11:39 PM
Hello, everyone. I've just uncovered my old flash 8 disc and decided to play around with it. I remember flash not having many practical uses, but I thought of some. Does anyone know if there's any way to create a batch file (or text file) using ActionScript 2.0?
If so, that'd be great. Thanks,

Can you explain what you mean by Batch ?

I remember flash not having many practical uses, but I thought of some.

:o:eek::confused: That is funny ;)

asf8
03-25-2008, 11:57 PM
If you mean Batch publish a bunch of FLA's then this post in this thread might help

http://www.actionscript.org/forums/showpost.php3?p=711046&postcount=4

If you mean something else by "Batch", then again please advise and perhaps someone will be able to help you out.

joethedementoid
03-26-2008, 01:07 AM
Sorry on my unclarity, as batch I meant a .bat file the windows command prompt executes. I don't know if anyone is familiar with it. All I really need to know is how to create a plaintext file using flash and then storing data to it. Using the fscommand(save,"soandso.txt"); wouldn't work because A) that saves all the variables, B) it wouldn't work because it adds the variable names/other stuff.

asf8
03-26-2008, 01:17 AM
Sorry on my unclarity, as batch I meant a .bat file the windows command prompt executes.

Hopefully someone else will help you then, as I would just be guessing ;)

atomic
03-26-2008, 01:22 AM
The fscommand's save command was an undocumented action that worked in Flash 5 only... No longer works anyways...

As for a .bat file they're used in local projector files, not in an online .swf.

desighforce
03-26-2008, 01:23 AM
You can use .bat files if you want to open programs, pdf's etc.

Northcode has some free utilities which you can get here:
http://www.extendingflash.com/utilities/index.html

You will have to publish as a .exe projector to take advantage of these utilities.

Hope this helps.

atomic
03-26-2008, 01:24 AM
An echo! :o

joethedementoid
03-26-2008, 10:06 PM
Thanks for the help, guys.
I don't think i'll be able to
find what i'm looking for
anywhere.
:D:D:D:D