Hi Brian
The operation you are wanting to perform is preloadNetThing
example
global gPreloadID
on mPreloadNextMovie
gPreloadID = preloadNetThing("@:somedcr.dcr")
end mPreloadNextMovie
call the above handler from a movie script at some designated point along
the path, generally once the current movie is completely downloaded. Then
when you reach the end point of the movie you can do something like this
on mouseUp -- assuming a next button or the like
global gPreloadID, gLoopTillDoneFlag
if netDone(gPreloadID) then
goToNetMovie("@:somedcr.dcr")
else
gLoopTillReady = ("@:somedcr.dcr")
end if
end mouseUp
on ExitFrame
if gLoopTillReady <> void then
if netDone(gPreloadID) then
goToNetMovie("@:somedcr.dcr")
else
go the frame
end if
else
go the frame
end if
end exitFrame
or you could simply reassign the netID to the goToNetMovie and it will auto
enter the next movie when enough has downloaded to allow entry based on your
settings on the number of frames to download:
gPreloadID = GoToNetMovie("@:somedcr.dcr")
This way, assigning it to a different global netID, you can track the
completion of the movie after entering it and then start the next movie
preloading as soon as the current movie is completed. Gets a little more
complicated. This function above would go in place of the if
netDone(gPreloadID) in the on mouseUp handler and you would loose the
exitframe stuff etc..
hope this gives you some ideas.
Sincerely
Mark
--------------------------------------------
Mark R. Jonkman
Mark R. Jonkman Consulting
ADDRESS: 20 Windermere Crt., Guelph, ON, CANADA N1E 3L4
PHONE: 519-837-8509
EMAIL: [EMAIL PROTECTED]
--------------------------------------------
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Bradshaw, Brian
> Sent: September 6, 2000 4:15 PM
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> Shockwave download Q
>
>
> Another Question!!!! Oh boy!!!
>
> Anyway, I was wondering, can I preload a DCR movie. Say, have a
> current DCR
> preload the next DCR and show a progress bar or something as opposed to
> watching blank space while the DCR to switch to is downloaded?
> Then the user
> can go straight to the next movie without an obvious pause?
>
> Any ideas on how to proceed with this would be appreciated. Thanks.
>
> Brian Bradshaw
> Systems Engineer
> McGraw-Hill Education
> McGraw-Hill Companies
> 860-409-2603
> [EMAIL PROTECTED]
>
>
>
> [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!]
>
[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!]