Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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
  • 667 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