Solved

Coldfusion not running swf file

Posted on 2006-11-30
7
253 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
ID: 18049321
.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
ID: 18049327
try with the extension .cfm and it should work.
0
 

Author Comment

by:alateos
ID: 18049459
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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:alateos
ID: 18049509
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
ID: 18049883
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
ID: 18200101
PAQed with points refunded (250)

Computer101
EE Admin
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

770 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