Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Flash 5 Publish Code, esp for MAC IE5

Status
Not open for further replies.

pindky

Programmer
Apr 26, 2002
101
US
Apparently, my Flash site is not viewable on an IMAC with IE5. I don't know why. I published with the Flash 5 setting.

The results of my HTML check in NetMechanic are below, with the warnings included.

What is the correct code for cross browser compatabilty for Flash 5 and is there a fix to correct the code generated by the Flash publishing templates?

Code: --------------
0001:<HTML>
0002:<HEAD>
0003:<TITLE>photo</TITLE>
0004:</HEAD>
0005:<BODY bgcolor=&quot;#FFFFFF&quot;>
0006:<!-- URL's used in the movie-->
0007:<!-- text used in the movie-->
0008:<!--jimmybittker.com --><OBJECT [1]^classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
----:[1]^Error: unsupported attribute &quot;classid&quot; for tag <object>. Click here to learn more
----:[1]^NOTE: &quot;classid&quot; with <object> is NOT compatible with all selected browsers. Click here for Browser Compatibility report
0009: [2]^codebase=&quot;----:[2]^Error: unsupported attribute &quot;codebase&quot; for tag <object>. Click here to learn more
----:[2]^NOTE: &quot;codebase&quot; with <object> is NOT compatible with all selected browsers. Click here for Browser Compatibility report
0010: [3]^WIDTH=800 [4]^HEIGHT=600>
----:[3]^Error: unsupported attribute &quot;width&quot; for tag <object>. Click here to learn more
----:[3]^NOTE: &quot;width&quot; with <object> is NOT compatible with all selected browsers. Click here for Browser Compatibility report
----:[4]^Error: unsupported attribute &quot;height&quot; for tag <object>. Click here to learn more
----:[4]^NOTE: &quot;height&quot; with <object> is NOT compatible with all selected browsers. Click here for Browser Compatibility report
0011: <PARAM NAME=movie VALUE=&quot;photo.swf&quot;> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> [5]^<EMBED src=&quot;photo.swf&quot; quality=high bgcolor=#FFFFFF WIDTH=800 HEIGHT=600 TYPE=&quot;application/x-shockwave-flash&quot; PLUGINSPAGE=&quot;[6]^[7]^</EMBED>
----:[5]^Warning: <embed> is NOT approved by W3C. Click here to learn more
----:[5]^NOTE: <embed> is NOT compatible with all selected browsers. Click here for Browser Compatibility report
----:[5]^Hint: <embed> tag is supported by major browsers
----:[6]^Error: unnecessary </embed> end tag
----:[6]^Hint: the <embed> element does not require an end tag
----:[7]^Repair: discarding unnecessary </embed> tag
0012:</OBJECT>
0013:</BODY>
0014:</HTML>

Site:
 
I might be on my own here, but some of these comments seem to be a little anal. For example:

----:[5]^Warning: <embed> is NOT approved by W3C. Click here to learn more

So it's not WC3 approved - big fat hairy deal. <embed> is required by Netscape (I think), that's why it's in the code.

Have you tested this code in a number of browsers? I'd just be interested to see how many browsers it fails in. I have used the Published HTML in quite a few browsers, on both PC and mac, and I haven't encountered any major problems yet.
 
Hmmm. As far as I remember IE 5.0 for the mac was the most bug-ridden to date. What about creating HTML by placing the SWF in Dreamweaver?
 
That's actually what did. I have since heard back from NetMechanic that the problem is that IMAC w/ IE5 ships without the plug-in. They are installing the plug-in on their test systems and then I can determine if that was the problem.
 
Cool - let us know what the outcome is. Your code worked all right out of Dreamweaver, though?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top