Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: using MIDI
From: John Croteau
Date: Mon, 14 Dec 1998 08:33:03 GMT

Hi Daniel,

> First off, I want to tell you what a great resource Flash Central is.
> The links are terrifically useful.
> Second, I'd like to ask how you used a MIDI file for your opening theme.
> I'm very interested in learning how to integrate MIDI with Flash, since
> MIDI files are so nice and small.

Set up a Invisible Frame in a Frameset:

<FRAMESET ROWS="100%,*" FRAMEBORDER="0" FRAMEBORDER="NO"
FRAMESPACING="0">
<FRAME SRC="Flash1.htm" NAME="Flash" MARGINWIDTH="0" MARGINHEIGHT="0"
BORDER="0" SCROLLING="NO">
<FRAME SRC="NoSound.htm" NAME="Sound" MARGINWIDTH="0" MARGINHEIGHT="0"
BORDER="0" SCROLLING="NO">
</FRAMESET>

NoSound.htm
<HTML>
<HEAD><TITLE>No Sound</TITLE></HEAD>
<BODY></BODY></HTML>

Sound.htm
<HTML>
<HEAD><TITLE>Midi Sound1</TITLE></HEAD>
<BODY>
<EMBED SRC="xmas.mid" HEIGHT="5" WIDTH="20" autostart="true"
loop="true">
</embed>
</BODY></HTML>

Use a getURL Action from Flash to turn the sound on and off by
alternately loading Nosound.htm or Sound.htm
~~~~~~~~~~~~~~~~~~~~~~~~~

My Christmas 97 Movie is a prime example of this Midi technique except
it is done with a 1% sound frame This is done for testing so that the
Sound frame appears as a red or green horizonal line at the bottom. Red
if there is the Midi sound is off and Green if Midi sound is turned on.
http://www.crownmall.com/flash/xmas/

You could also do this using JavaScript using
FSCommand techniques or
JavaScript: protocol (causes errors and doesn't work with IE3)

Neither JavaScript method work with all Flash capable browsers as does
the HTML method.

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
Need a PC ? -- Computer King --
http://www.crownmall.com/computers/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: using MIDI, mingo

Replies
  FLASH: using MIDI, Daniel J. O'Neil

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]