This content has been marked as final. Show 4 replies
Your behavior works for me in Director. except that...
... causes a script error since tsrt.char.count is not a string. The script error informs me that 97229 characters have been downloaded. Here's my rewrite of your behavior, which might give you more information as to what may be going wrong at your end:
on beginsprite me
phpRoot = " http://www.pbs.org/pov/borders/2004/sas21/flowers.php?"
pID = getNetText(phproot)
on exitFrame me
if not pID then
-- The net operation has been completed
else if netDone(pID) then
vStatus = netError(pID)
if vStatus = "OK" then
tsrt = netTextResult(pID)
-- Something went wrong
alert "Error: "&vStatus
-- Stop polling for the end of the net operation
pID = 0
go the frame
when i try your script in shockwave in the browser i get an error...
4836 Download stopped for an unknown reason. May have been a network error, or the download may have been abandoned.
why does it work in author or projector but not in shockwave, never had that problem befor !?
and this project worked fine till 6 month ago...
When I try my behavior in a movie published to Shockwave, I get Error: 4836, which
Technote 12131 helpfully describes as:
Download stopped for an unknown reason. May have been a
network error, or the download may have been abandoned.
Can you post the string as a *.txt document and try downloading that, to see if the problem is with php in particular or the file size in general?
it works with a txt file with the same data ...
so it has something to do with the php ...