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?
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.