I have a problem concerning sound files in Director 7.0.2. I am running on a Mac G3, and have imported sound files into external casts for use in multiple movies. I have edited my sound files in SoundEdit 16 v2. The files range from 37K to 120K with measurements of 16 bit, mono; 22.050kHz.Most of these sounds are rollovers. My problem is, sometimes a sound just won't work through the puppetSound command. If I go to the properties, It seems to work fine when I play it. If I change the sound member's name to anything else, it seems to work. But it won't work under the name for which I imported it. I have been to the the technotes of Macromedia and have found an article (ID 3188) which seems to address this problem. It says that when a sound is shared between two movies, it will sometimes not play and that it will show a bit depth of 0. Therefore you should unload the member before trying to play the sound again, via this script: -- on mouseUp -- if the sampleSize of member "mysound" = 0 then unloadMember "mysound" -- puppetSound "mysound" -- updateStage -- end 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. I am not above doing this, I just want to make sure that this will fix the problem when I burn for distribution. Also, some sounds I use multiple times in multiple movies, "quit" for example, so, I don't think just renaming "quit" to "quit2" or "quit3", or "quit4" etc. will be a feasible plan. So there's my problem, I hope someone may have some information concerning this problem and will help me. I thank you ahead of time, Sincerely, six_shadow9 _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com [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!]
