Solved

IE5.5 - embedding SWF file in HTML code

Posted on 2002-05-20
2
328 Views
Last Modified: 2006-11-17
I'm no flash expert - but I have a prog. that writes some very simple swf files.
If I run the swf file - my browser replays it fine. I do have some more experience in writing HTML code - I would like to run the swf within a cell of a table. What code do I need to write to do this please?
Thanks

0
Comment
Question by:capital052798
2 Comments
 
LVL 23

Accepted Solution

by:
Zeffer earned 50 total points
ID: 7022714
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="111" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="110" height="40">
        <param name=movie value="file:///C|/THE PATH TO YOUR FILE/movie.swf">
        <param name=quality value=high>
        <embed src="file:///C|/THE PATH TO YOUR FILE/movie.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="110" height="40">
        </embed>
      </object></td>
  </tr>
</table>
</body>
</html>
'
Where...'movie'...is the name of your file..

Z
0
 

Author Comment

by:capital052798
ID: 7029176
Thanks Zeffer the code worked fine. I was able to strip it down to just
<embed src="file:///C|/THE PATH TO YOUR FILE/movie.swf">
</embed>
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I change text in a Flash (FLA, SWF) file? 3 980
Failed download 57 551
Virus or Outlook 2007 problem, how to tell? 8 76
flash in chrome 4 85
This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

920 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

11 Experts available now in Live!

Get 1:1 Help Now