Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Saving variable to a text file.... multiple variables.
From: ComposiMo
Date: Mon, 24 Jul 2000 04:52:57 +0100

Ok folks, hopfully someone out there can help me... I have a "mini program"
that i am building to strictly make my life easier with creating a BUNCH of
txt files... I have 8 fields that need to be sent to a txt file, and then
have the txt file be named by whatever is entered into the first field... the
first field is a product number, and its field name is "ProdIdent", and every
field after that is text1, text2, etc... How would i write the following
script to enter in the information into a txt file that would represent a
format that Flash can read (ProdIdent=2345&text1=gidget etc...) I have
gotten the script to create the file, but it is named "prodident.txt", and i
do not not know how to make it save as whatever is entered into the
"prodident" field... Also, it is only saving whatever is written in the first
text field (prodident).

On (Press)
fs command
("exec","command.com"&Chr(9)&"/c"&Chr(9)&"echo"&Chr(9)&"text1="&TypeVar&">c:\w
indows\desktop\products\prodident.txt")
End On

Any help with this will be greatly appreciated, i am just trying to save a
bit of time when the time comes to actually build all of these files. Also, i
remember a tutorial that was mentioned a while back about "tabbing" between
text fields... does anyone recall where this tutorial was, or could tell me
what i need to do to make this happen correctly?

Regards,

John Ward
www.DigitalRodder.com

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Saving variable to a text fil, Brian Mackern
  FLASH: Flash 5 unveiled, St.Parker

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]