Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Code for offering a JPEG if flash not installed

Always wanted to know this



11:24 pm on Jun 25, 2001 (gmt 0)

10+ Year Member

Hi folks

I have always wondered how to code a page in such a way that a flash animation/graphic, (say, a banner) is substituted for a jpeg if the users browser does not have flash installed??

Can't wait to put this one to bed - Once I have the answer, I shall be having a stab at Flash - always envied those pesky flash sites :)

Though very much of the opinion that too much flash is not always a good thing ;)

Regards, Stavs


3:27 am on Jun 26, 2001 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

The MacroMedia website's Flash support section [macromedia.com] covers most of the ins and outs of embedding Flash in a page.

There is an HTML template that comes with Flash as part of the Publish Settings. The choices offered are "Flash 3 with image" and "Flash 4 with image". This automatically creates javascript and/or vbscript code to check for Flash 3 or Flash 4 — and then substitute a gif or jpg if the required plug-in is not found.


Featured Threads

Hot Threads This Week

Hot Threads This Month