homepage Welcome to WebmasterWorld Guest from 50.17.66.61
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Object code doesn't work
can call directly from server, works with iframe
chasmcg

5+ Year Member



 
Msg#: 3665691 posted 12:54 pm on Jun 3, 2008 (gmt 0)

I'm trying to call an SWF audio file from within an htm file with the code below. I have a program that converts a wav file to a SWF file. It also outputs a player.XML file, player.SWF and a player.HTML file. And it outputs the code below but it doesn't work.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="62" height="28">
<param name="movie" value="player.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<embed src="player.swf"
quality="high"
type="application/x-shockwave-flash"
WMODE="transparent"
width="62"
height="28"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

I can code an iFrame and have src="player.swf" and it works great. I can call the file directly from the server..www.website.com/player.swf... and it works fine. Or call the audio file...www.website.com/ccr-rttj.swf and it works fine. I just can't call it by placing the code above in an htm file. Anybody know what is happening? Thanks for any assistance.

 

ahajdu

5+ Year Member



 
Msg#: 3665691 posted 3:21 pm on Jun 13, 2008 (gmt 0)

try this way

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="258" height="196">
<param name="movie" value=" [yourdomain.com...] />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<embed src=" [yourdomain.com...] "
quality="high"
type="application/x-shockwave-flash"
WMODE="transparent"
width="258"
height="196"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

If its doesnt work, get rid of this: <param name="wmode" value="transparent">

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved