Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

object needs to be supported in html page


  • Please log in to reply

#1
promoter

promoter

    Member

  • Member
  • PipPip
  • 31 posts
I have an SWF file that uses the EMBED tag to define certain attributes. But when I had this page validated by www.w3schools.com, it said that none of the attributes I had listed existed. Here is my code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="600" height="100">
	<param name="movie" value="images/opening.swf">
	<param name="quality" value="high">
	<embed src="images/opening.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="100"></embed>
  </object>

It told me for example, "there is no attribute SRC" and it did that for every attribute within the embed tags shown above (quality, pluginspage, etc.). My questions are: Is there a type of page that will support these attributes? Also, I am using Flash MX 2004 to make the SWF file; is there something I should be doing in flash to make my EMBED tags valid in html pages?
  • 0

Advertisements


#2
thenotch

thenotch

    Member

  • Retired Staff
  • 668 posts
Try using the following format when embedding Flash:

<object type="application/x-shockwave-flash" data="filename.swf"
width="200" height="200" id="movie1">
<param name="movie" value="filename.swf">
<p>You need the Flash plugin.</p>
<p<a href="http://www.macromedia.com/go/getflashplayer/">Download Macromedia Flash Player</a></p>
</object>

That should validate...
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP