I could never get the page to load, but the most obvious problem is:
missing the "(" in the line below
PreloadNetThingthe MoviePath & "second.cct")
should be:
PreloadNetThing (the MoviePath & "second.cct")
Also, you need a timeout loop to check for when the .cct is actually preloaded. You are trying to access is immediately,with no time for the streaming to occur.
1. Ken probably means 'for the download to occur' (casts don't stream) 2. you need to check for netDone() & NOT in a repeat loop (see technotes about 'preloadnetthing' @ MACR
hth -Buzz
Ken
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Igor Sent: Monday, November 03, 2003 9:59 AM To: [EMAIL PROTECTED] Subject: <lingo-l> Movie with linked cast
There is some code:
on mouseUp me
sprite(3).visible = false PreloadNetThingthe MoviePath & "second.cct") castlib(2).filename = the MoviePath & "second.cct" sprite(4).member.text = castlib(2).filename member("sp", 2).preload() sprite(3).puppet = true sprite(3).member = member("sp", 2) sprite(3).locH = 160 sprite(3).locV = 120 sprite(3).visible = true
end
You can see it here: http://directoronline.narod.ru/director/web/two/movie.htm
Unfortunately, this code doesn't work. Where is a mistake?
-- Best regards, Igor mailto:[EMAIL PROTECTED]
[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!]
[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!]
[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!]
