Solved

Coldfusion not running swf file

Posted on 2006-11-30
7
247 Views
Last Modified: 2013-12-16
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
Comment
Question by:alateos
  • 3
  • 2
7 Comments
 
LVL 12

Expert Comment

by:pigmentarts
Comment Utility
.cfml is not a coldfusion extensions, well not as far as i know. a couldfusion page extension is .cfm
0
 
LVL 12

Expert Comment

by:pigmentarts
Comment Utility
try with the extension .cfm and it should work.
0
 

Author Comment

by:alateos
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:alateos
Comment Utility
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
 

Author Comment

by:alateos
Comment Utility
Nevermind I figured it out... all the files should've been in the same directory.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
Comment Utility
PAQed with points refunded (250)

Computer101
EE Admin
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Read about why website design really matters in today's demanding market.
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now