Flasher Archive

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


Subject: Re: FLASH: Flash and ASP: writing text files from Flash???
From: Helen Triolo
Date: Fri, 6 Oct 2000 19:21:53 +0100

Paul Willoughby wrote:
>
> Like I touched on in my first mail, i was hoping to do all the concatenation
> to create a 'load variables friendly' string in Flash before I passed the
> variable to the ASP, that way I can sort the info client-side with
> ActionScript rather than server-side, which will save me having to learn a
> load more ASP (it's going to be a top 10 high scores). Any obvious reasons
> not to do this?

I have to admit that I don't understand this, so let me just say what I
would do and you can ignore whatever's not helpful.

To pass the score from Flash to ASP, I'll assume you've got variable
Score in a textfield or variable in the timeline from which you're doing
the LoadVariables. So you do LoadVariables("writer.asp", 0, "POST"),
which calls writer.asp to save that value into myfile.txt, as outlined
in your initial message [I would save it with that writeln statement as
"Score=" & request.form("Score"), as I mentioned previously].

Then when I want to get the score from the text file, I'd do another
LoadVariables("myfile.txt", 0-or-moviecliptarget), which will read the
value of Score saved in the text file right into your Score textfield or
variable in Flash, add a wait loop, and you're set.

That's the most straightforward way I can think of to accomplish what I
think you're trying to do, but if I've missed something crucial, you can
of course ignore all this!

Regards,
Helen
---------------------------------------------------
Flash 5 Journal: http://i-technica.com/flash5
Flash Q&A archive: http://i-technica.com/flashlist
Helen Triolo � http://i-Technica.com � 301-424-6037

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: Flash and ASP: writing text f, Paul Willoughby

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