
September 2nd, 2001
06:00 PM
reply to zkriptcode
sorry i couldnt reply to ur other thread for some reason, so ill just reply here to ur question:
"How to?
Hi i will like to know how can I do add music to my site and add a on and off buttom for the music?
Anybody?"
go to www.flashkit.com they have good tutorials on adding sound with on and off buttons..

September 2nd, 2001
06:31 PM
I'm a Neverside Newbie?
Status: Offline!
u can use javascript:
document.embeds["name"].stop();
and
document.embeds["name"].play();

September 4th, 2001
04:38 PM
www.saucybard.com/shawn/shawnster.htm
Status: Offline!
It's all about striking a balance...
Flash and Javascipt will accomplish roughly the same thing in this instance, so it all depends on a few things for your site:
First of all, what's your target audience? Are you aiming for broadband users and those with a higher speed connection? Or will it mostly be people on dial-up that will be accessing your site?
And what sort of music do you want on your site? Do you mean a simple little tune, like a MIDI? Or maybe a sound clip? If it's a looping sound clip or song, I'd say flash woud be the way to go.
But if it's just a midi, then just a simple EMBED SRC="midiname.mid" will be fine. But please for the love of all that is good in the world, make sure to set AUTOPLAY to false. Some people may be listening to their own music while browsing the web, and will get annoyed if a MIDI just starts playing for no reason.
If it's essential for whatever site reason that your MIDI start automatically, don't hide the player. That's not annoying, that's rude.
It's a good rule of thumb, whether using using Flash or embedded MIDIs, to always offer the user a choice to turn the music off.
Also, if you're using Flash 5, the export to html feature also includes a script that checks to see if the user has flash plug-in installed before displaying the site or the flash content-- this is a very nice alternative if you don't want to be bothered with, or can't coneivably create, an HTML-based companion version.
___________________
<a href="http://www.saucybard.com/shawn/" border="0"> <img src="http://www.saucybard.com/shawn/justan.jpg" alt="Shawn David Struck: Just Another Pretty Face" />
</a>