homepage Welcome to WebmasterWorld Guest from 54.166.122.65
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

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

10+ Year Member



 
Msg#: 247 posted 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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 247 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved