OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Sound in flash not playing...

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Sound in flash not playing...
Page: [1]
 
Jordan

 

Posts: 127
Joined: 1/8/2002
Status: offline

 
Sound in flash not playing... - 7/24/2009 20:04:46   
I have a flash jukebox I want to insert into my page. The code is generated straight from SWISH Jukebox.

I've got two test pages up.
In this page generated by SWISH Jukebox, the music plays.
<html>
<head>
<title></title>
</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="60" height="15">
  <param name="movie" value="music-home.swf">
  <param name="quality" value="high">
  <param name="bgcolor" value="#ffffff">
     <embed src="music-home.swf"      quality="high"
      type="application/x-shockwave-flash"
      width="60" height="15"
      bgcolor="#ffffff"
     >
    </embed>
</object>
</body>
</html>



When I insert the code into my Expression Web page like this, the flash is visible, but there is no sound. I've tried inserting the flash with Expression Web into my W3C page by using the insert>media>flash function and that did not work either.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
</head>

<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="15" width="60">
  <param name="movie" value="music-home.swf" />
  <param name="quality" value="high" />
  <param name="bgcolor" value="#ffffff" />
     <embed bgcolor="#ffffff" height="15" quality="high" src="music-home.swf" type="application/x-shockwave-flash" width="60">
    </embed>
</object>

</body>

</html>


Does this lack of sound have something to do with the W3C doc type? I'm at a loss. Thanks in advance.

themekings

 

Posts: 33
Joined: 6/25/2007
Status: offline

 
RE: Sound in flash not playing... - 7/25/2009 9:41:36   
Try this code:



<object id="flash1" data="music-home.swf" style="width: 15px; height: 60px" type="application/x-shockwave-flash">
					<param name="movie" value="music-home.swf" />
					<param name="quality" value="Best" />
					<param name="wmode" value="transparent" />
</object>



BE SURE TO double click on the flash object under the design view of your page once you place the code to open the flash properties (or right click the flash object and select properties) and then select the "General" tab . Under the general tab you'll find the "Name" field. Rename the object to "flash1" then close the properties box. Save, then preview. (F12)

This is also assuming the .swf file is located in the same root directory as the page your flash file is located on.

Also you may need to create a DIV code to place the object accordingly on your page. But for test purposes this should work for now.....

< Message edited by themekings -- 7/25/2009 9:55:30 >

(in reply to Jordan)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Sound in flash not playing...
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts