Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Will this loop work? |
From: | Nigel Randsley-Pena |
Date: | Sat, 28 Aug 1999 01:53:42 +0100 |
Mike,
Correction to the last post. I thought it was so strange that I had
altered an original without leaving a comment with the changes that I
read the asp code and discovered I hadn't committed the changes to he
code.
So the error goes like this.
The Form sample that comes with Flash has a small coding error. One of
the forms fields is Total, this holds a running total of the amount you
are purchasing. The calculation routine that updates this value at one
step converts it from a value into a string so as to format it as a
dollar amount. So when the value is sent to the asp an type mismatch
error occurs and nothing is sent back resulting in a situation where the
Flash movie just hangs waiting for a value that will never return, this
by the way is a good example of why you should pay attention to proper
error trapping routines. To correct the error and maintain the dollar
formatting for the Total value go to line 12 of Form.asp and change
If total = 0 Then
to
If total = "0" Then
Rerun the sample and all will go well.
I remember posting this to Flasher some time ago along with some other
error corrections, like the error in the FSCommand publish template.
This last one is now a tech tip on Macromedia's site. But you heard
about it here first ;).
Also if you haven't done so lately surf over there. I was pleasantly
surprised to see an update for Scripting with Flash4 that finally lists
the FS Commands. Good work...at last ;).
Nigel
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: FLASH: Will this loop work?, Mike Yrabedra
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]