Click to See Complete Forum and Search --> : displaying .jpg as default


gavin26er
11-24-2005, 07:36 AM
hi

i have a flash banner made for my site and i want a .jpg to display as default if the person doen't have flash? i'm not sure how to do this but i know its possible becuase i seen it around b 4. below is my code. in html. where would it go to? somewhere in this code below or in a totally different place?


<tr>
<td width="1" bgcolor="#000000" rowspan="4" valign="top"><img src="spacer.gif" width="1" height="100" valign="top"></td>
<td height="120" colspan="4"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="760" height="120">
<param name="movie" value="../menus_logos/logo.swf">
<param name="quality" value="high">
<embed src="../menus_logos/logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="760" height="120"></embed></object></td>
<td width="1" bgcolor="#000000" rowspan="4" valign="top"><img src="spacer.gif" width="1" height="100" valign="top"></td>
</tr>

Robert Wellock
11-24-2005, 10:32 AM
<OBJECT data="logo.swf"> <!-- MM Flash Stuff Here -->
<!-- Fallback -->
<OBJECT data="http://www.example.com/zog.jpg" type="image/jpg">
</OBJECT>
<!-- End Fallback -->
</OBJECT>

LJK
11-26-2005, 10:58 PM
Hi -
I've done something like this where I just put an image similar to the first
one of the flash animation as the background of a div using css styles -
the object/embed tags are within that div. Worked really well.

El

Sir Jake
11-29-2005, 05:25 PM
Why not just put a "Get a Flash Player" button on the page.

Flash is everywhere, anyway.

I think only a newbee wouldn't have one and might glad you enlightened them and they may even return to your site one day.....maybe :)

Robert Wellock
11-30-2005, 07:29 AM
Flash has about 90% penetration and many devices cannot use it plus most ad blockers sensibly disable it and if you don't provide an alternative you defeat the objective of an <object> element and accessibly to some extent. Many Gurus I know shun Flash.

Sir Jake
11-30-2005, 03:53 PM
If you really wanna see what's on the web it's best not to shun anything...javascript, pop ups,(some can be very useful) or even flash. If you do then you'll never know what you're missing. Many headers, ads, games even whole sites are done in flash.

A default image is a good idea but does the veiwer know it's a default? Do they know what they could be seeing instead? If not that's why a 'get flash button' would be useful.

90%? Wow, that's amazingly good.

Robert Wellock
12-02-2005, 05:20 AM
I believe 99% of the Flash online is for adverts so it is not surprising they disable Flash completely; by all means offer download, what I said was make sure there is a fallback if the user decided against installing the plug-in of the UA cannot display Flash.

Sir Jake
12-02-2005, 02:46 PM
Cool, you're right.

Sorry about that , I just get worried when gurus say anything, they seem to forget there are a thousand ways to do almost anything on a computer so when they run into trouble they start shunning things instead of looking for an alternative or even asking someone on here.

LJK
12-03-2005, 07:04 PM
Hi -
But what would life be like without Gurus?! ;-)

Yeah, it's all about making sure you've got the most up-to-date tag and attribute info. for what you're using, then supplying alternatives so that more people can access the art / info. [Like having regular text links when using Flash for animation - in addition to a plug-in link.]

Shame what ads have done to Flash's rep,
El

Sir Jake
12-04-2005, 02:59 PM
"What would life be like without Gurus" - C. Manson

Hee hee, I had to.

All movie maker now love flash since it's the only media that can justify their ads...apart from trailers that is. Flash could the the future of the web depending on the author's imagination. The whole Doc type deal is only good for text sites really when compared to the elements of flash, that's why it is used to make games not just sites.