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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start & Stop Music??

Status
Not open for further replies.

ProWannabe

Technical User
Aug 5, 2003
6
AU
Hi again, I was just wondering how to make a link in Director (with appropriate 'Play' and 'Stop' icons) which can enable me to play and stop music whilst in a particular section of the project.
The user clicks on 'Play' to hear some music playing... and can click on 'stop' to stop the music from playing...

If anyone could please help me out with this, it will be greatly appreciated. I've consulted some Director Manuals, but all to no avail.

Thank You.
 
Hi,
Maybe like this:
Code:
------------------
on mouseUp me
  if sound(1).status = 3 then
    puppetSound 1,0
  else
    puppetSound "soundName"
  end if
end
------------------
Also, look for the sound feature under Lingo Help.
Everything you need is there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top