At 1:16 PM +0200 10/10/00, Yariv Rosenstein wrote:
><snip>
>
>the method I'm using:
>
>netID=preloadNetThing(file_url)
> repeat while(netDone(netID)=false)
> put getStreamStatus(netID)
>end repeat
>
>any ideas?
>
Yariv,
Checking in a repeat loop doesn't give Lingo enough time to actually
do the download - it's to busy checking. Instead, change your code
to check on exitFrame. Something like this frame script:
property netID
on enterFrame me
-- define file_url
netID=preloadNetThing(file_url)
end
on exitFrame
put getStreamStatus(netID)
if netDone(netID) then
go to the frame + 1
else
go to the frame
end if
end
Irv
--
Lingo / Director / Shockwave development for all occasions.
(Over two millions lines of Lingo code served!)
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]