| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: May 2002
Posts: 2
|
I've started a game at:
http://texasmedia.cocomm.utexas.edu/...en/fred/4.html My idea is have the player drag the pieces over onto the stage and arragne them as they wish. Once arranged, they click a button and mouse over the pieces, and each piece will play a musical note. If they are in the correct order, they will hear Mary Had a Little Lamb. I do not want them to hear any of the sounds until they hit a button to turn the sound on. Right now they hear the sounds at every stage. The sounds are currently imbeded in a movieclip, and the sound plays regardless. Do you know of a way to code this to work like I've described? Let me know what you think! Fred |
|
|
|
|
|
#2 |
|
The Placid Casual
Join Date: Oct 2001
Location: Malta
Posts: 1,026
|
You can use a variable like sound = on or off and have an if statement on rollover to see if it should play or not.
SFA |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kenny Bellew Sound Object Tutorial Updated | Kennyb | ActionScript 2.0 | 23 | 05-09-2007 09:38 PM |
| How can I play sound exactly on event without gap ? | sces99 | ActionScript 2.0 | 0 | 07-21-2004 08:34 AM |
| mozilla sound problem | spacether | ActionScript 1.0 (and below) | 0 | 07-03-2004 07:53 PM |
| Sound and Websites | spazmaster | General Chat | 7 | 05-13-2004 08:06 PM |
| Control Sound Object | puthisorn | ActionScript 2.0 | 9 | 05-06-2004 05:20 AM |