[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

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>
0
alateos
Asked:
alateos
  • 3
  • 2
1 Solution
 
pigmentartsCommented:
.cfml is not a coldfusion extensions, well not as far as i know. a couldfusion page extension is .cfm
0
 
pigmentartsCommented:
try with the extension .cfm and it should work.
0
 
alateosAuthor Commented:
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.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
alateosAuthor Commented:
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.
0
 
alateosAuthor Commented:
Nevermind I figured it out... all the files should've been in the same directory.
0
 
Computer101Commented:
PAQed with points refunded (250)

Computer101
EE Admin
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now