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

music types

Status
Not open for further replies.

martinb7

Programmer
Jan 5, 2003
235
GB
I know you can import sound types like .mid into flash (can you?). I was wondering is there anyway of getting flash to play these .mid files when a button was pressed?

Thanx Martin

 
flash wont play midi files..the format is not supported.

however you could convert them to .wav using quicktime and then import to flash.

as a workaround though you could use the midi as background music. The trick is to have a "framed" website: a top frame just a couple of pixel high has the midi music f.i.: midiOn.html (in html - javascript) and the bottom frame flashIndex.html with your Flash site. If you like to control the midi music on and off just create another blank html page for your top frame and call it midiOff.html. This way your Flash movie can GET URL midiOn.html or midiOff.html on your _top frame and toggle the sound off and on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top