At 1:34 PM +0000 1/16/01, LYNN L. wrote:
>
>
>The two problems with this is that the sounds that won't play, don't
>play the first time I import them, and before I have even shared the
>cast with another movie much less played a second movie. I have
>tried the fix in my startMovie handler, and have gotten a Script
>error:
>
>Script error: Property not found
>the sampleSize of member "filename"
>#sampleSize
>
>Then when I test for the sampleSize via the message window, I get
>the same error. Even when I remove and re- iport the same file, I
>get the same problem. But if I change the name of the file from
>"filename" to "filename2" the sound works fine.
Mark has a good guess, but here's another quick thing to check. You
should make sure that there is not another cast member with the same
name "filename", either in the same castlib, or in a lower castlib.
You can do this easily by doing a Command (or control) semicolon and
entering the name. If you have another member named "filename", then
the puppetSound command (and any other commands that are trying to
use that member by name) could be referring to the wrong member -
e.g., your "Property not found" message above.
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!]