A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: HOw do I add music to an html site?

  1. #1
    banned by dp
    Join Date
    Jun 2002
    Posts
    245

    HOw do I add music to an html site?

    I want to have a music track play in the background of an html site. But I'm a flash designer and have never done this. HOw do I do it? Could you explain it step by step for me?

    Thanks.

  2. #2
    Senior Member
    Join Date
    Mar 2004
    Posts
    179
    <bgsound src="soundfilename.wav">

  3. #3
    banned by dp
    Join Date
    Jun 2002
    Posts
    245
    and where do I put this code? In the index page?

    Where within the index page?

    Thanks.

  4. #4
    Senior Member khaos2004's Avatar
    Join Date
    Mar 2004
    Location
    Brooklyn, NY US
    Posts
    127
    You would have to put it on each page you want it to load on ( if not just the index ), and you generally put it in the body tag. So it would be:

    <body bgsound src="soundfilename.wav">

    Hopefully you are not trying to load a large wav file. Note that you can also use midi files, and other small music file types ( wma,mp3,and so on.. ) if you want:
    <body bgsound src="midifilename.mid">

  5. #5
    Senior Member Adam14's Avatar
    Join Date
    Feb 2004
    Location
    Ontario Canada
    Posts
    1,116
    Nice of you to reply, khaos2004, but that loser has been banned from FlashKit for being a moron!

  6. #6
    Senior Member khaos2004's Avatar
    Join Date
    Mar 2004
    Location
    Brooklyn, NY US
    Posts
    127
    Yeah I noticed the "banned" under his name after words and decide to investigate. I found his last post, and it seems like he was really asking for it. That sucks this forum could have helped him out...

  7. #7
    Senior Member Adam14's Avatar
    Join Date
    Feb 2004
    Location
    Ontario Canada
    Posts
    1,116
    So you saw the post that got him "evicted"?

    http://www.flashkit.com/board/showt...450#post2851450

    man!....

  8. #8
    Senior Member khaos2004's Avatar
    Join Date
    Mar 2004
    Location
    Brooklyn, NY US
    Posts
    127
    Yeah I saw it... and by clicking on that link, it seems like it was deleted. What was he thinking?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center