Link to home
Start Free TrialLog in
Avatar of alateos
alateos

asked on

Coldfusion not running swf file

I have some code that works fine in an html file. Rename it to cfml and it won't work. Can someone tell me why? Below is the code.

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>video_pod</title>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<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="360"

height="240" id="video_pod" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="video_pod.swf" /><param name="quality" value="high" /><param name="bgcolor"

value="#ffffff" /><embed src="video_pod.swf" quality="high" bgcolor="#ffffff" width="360" height="240"

name="video_pod" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"

pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
Avatar of pigmentarts
pigmentarts
Flag of United Kingdom of Great Britain and Northern Ireland image

.cfml is not a coldfusion extensions, well not as far as i know. a couldfusion page extension is .cfm
try with the extension .cfm and it should work.
Avatar of alateos
alateos

ASKER

that's not the issue... the problem is that the control is there but it says "click here to activate control" and never does anything.
Avatar of alateos

ASKER

Also note that when i double click on the html file, it runs just fine. Only when I access it through my web server does it give me the weird stuff.
Avatar of alateos

ASKER

Nevermind I figured it out... all the files should've been in the same directory.
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial