Hi,
has anyone experienced problems using evalscript to pass a string through to
shockwave?
I'm uploading a file via http: through a normal html page. Once the file is
uploaded, I'm calling evalscript to check the url of the file just passed
through:
*********
on evalScript args
-- this moviescript takes a result from the browser and uses it to load an
image
Userupload = args
if Userupload = "Upload Cancelled" or Userupload = "error:noimage" then
alert("Userupload:error = " & Userupload)
go to frame gfocus
else if UserUpload = "error:size" or UserUpload = "error:type" then
go to frame "uploaderror"
else
alert ("OK. Importing: " & Userupload)
go to frame "import"
end if
end evalScript
*********
"Upload Cancelled" and "error:noimage" are only passed through from
javascript if the user clicks cancel in the html upload dialog box or tries
to leave the upload field blank.
Even when the file is being passed through (stuck an alert in javascript to
show the url of the file to be passed), sometimes, just sometimes, Shockwave
is reporting that no file is coming through.
Could this be a timing problem?
Regards,
IanMJ
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]