Wrox Programmer Forums
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 18th, 2005, 11:27 AM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your help.

My original code for embedding flash was taken from a Jeffrey Feldman book. Following the tips
given my code now looks like this and validates:

Code:
<object type="application/x-shockwave-flash" data="flash/myload.swf?path=flash/solace-logo.swf" 
width="670" height="115">
<param name="movie" value="flash/myload.swf?path=flash/solace-logo.swf" />
<img src="images/logo.jpg" width="670" height="115" alt="" />
Having done this, it would appear it still doesnt work on my friends PC running IE on Win98.

It now displays a small yellow and blue box that when you put your mouse over it
says click here for more info.

When you do (he tells me) it comes up with a message box called "Error locating object handler"
It's telling him he doesnt have the viewer available for the type of object he is trying to open.

Now is this because IE doesnt recognise the HTML being used or I made an error? or from what it sounds like to me
that my friend has a work computer out of the arc - and has a VERY old flash player installed?


Gaz
 
Old October 18th, 2005, 11:39 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Does it work with the old HTML? If it does, then you know it isn't his flash player. If it doesn't, then it probably is his Flash player.

I'd probably avoid the hacking and just selectively generate the HTML (with server-side coding or javascript) based on the browser's user agent string. Something like, if the browser is IE, give it the object tag with IE-specific attributes, otherwise use the standard object syntax supported by every other modern browser.

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
 
Old October 20th, 2005, 07:22 AM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your help.

It turned out the reason why the Flash animation wouldnt display was because
my friend's work PC had a VERY old flash player installed. However, having changed the Flash
code to what you recommended his PC now displays an error prompts stating that he doesnt have the required
media plug-in to run the given flash player.

Having developed the Flash animation in MX 2004 Professional I think I will regenerate it so it runs
on players as low as 5 or 6.

Gaz





Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS problem stuartlittle ASP.NET 2.0 Professional 1 March 11th, 2008 02:28 PM
Link Display Prob using CSS in IE6 / Firefox socoolbrewster CSS Cascading Style Sheets 3 September 7th, 2005 11:07 AM
CSS Float error socoolbrewster CSS Cascading Style Sheets 3 July 18th, 2005 09:25 AM
Display table in CSS via XSLT Bozmeister XSLT 1 April 8th, 2005 07:46 AM
CSS Problem Ben Horne HTML Code Clinic 2 November 10th, 2003 05:31 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.