Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sound clips

Status
Not open for further replies.

pmoorey

Technical User
Mar 19, 2007
144
GB
Is there a more efficient way of adding sounds to movie clips than

Code:
var mySound = new Sound();
mySound.attachSound("sound");


if there are a lot of different movie clips?

Peter
CCNA, Cisco Qualified Specialist
 
Does that still apply if you have a different sound for each of the movie clips?


Peter
CCNA, Cisco Qualified Specialist
 
Basically scripting is the only way, so it's more the question of how you script.

If you have sound symbols with the same name as the MovieClips they will be attached, for example, would make this job much easier.

Or you can have an XML contains the list of sounds and MovieClips.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top