homepage Welcome to WebmasterWorld Guest from 107.20.131.154
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderator: open

Site Graphics and Multimedia Design Forum

    
Using the Sound Object in Flash
It seems that "sound" is a reserved keyword in flash.
carmo




msg:853644
 12:23 pm on Dec 7, 2001 (gmt 0)

It seems that "sound" is a reserved keyword in flash. I made a sound movie clip and gave it the variable name "sound". BUT the object would never work when I called methods on it (EX : setVolume())....then I decided to rename the variable, and voila! the methods worked perfectly. Has anyone else ever experienced this problem?


 

knighty




msg:853645
 12:29 pm on Dec 7, 2001 (gmt 0)

Sound is a flash object

"The Sound object allows you to set and control sounds in a particular movie clip instance, or for the global Timeline, if you
do not specify a target when creating a new sound object. You must use the constructor new Sound to create an
instance of the Sound object before calling the methods of the Sound object.

The Sound object is only supported for the Flash 5 Player. "

- Taken From Flash 5 Actionscript Dictionary -

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved