Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > to show image or to show flash

Reply
Thread Tools

to show image or to show flash

 
 
Disco Octopus
Guest
Posts: n/a
 
      05-13-2004
Hi,

I would like to know if there is the ability to have a flash embeded, but
when the flash is not available on the browser, then i want to show an
image.

Thanks


 
Reply With Quote
 
 
 
 
j
Guest
Posts: n/a
 
      05-13-2004
In article <Z6Foc.2094$>, Disco Octopus
<> wrote:

> Hi,
>
> I would like to know if there is the ability to have a flash embeded, but
> when the flash is not available on the browser, then i want to show an
> image.
>
> Thanks


might be using the object tag, or you could do some flash detect in php
and load either image or swf based on that

//pseudo code:
if $flashpresent{
$htmlsource="emded/object\"my.swf\" etc"
} else {
$htmlsource="imgscr=\"blahblah.jpg\"" etc
}


j
 
Reply With Quote
 
 
 
 
SpaceGirl
Guest
Posts: n/a
 
      05-13-2004

"Disco Octopus" <> wrote in message
news:Z6Foc.2094$...
> Hi,
>
> I would like to know if there is the ability to have a flash embeded, but
> when the flash is not available on the browser, then i want to show an
> image.
>
> Thanks


Yes. Use META REFRESH in the head of your page (google for it).

Create an HTML page that contain a tiny flash movie, and meta refresh with a
5 second delay. The flash movie contains a redirect to the "flash version"
of your site, while the meta refresh contains a redirect to a non-flash
version of your site. So, if the little flash movie containing a refresh
manages to load and redirects, obviously the user has Flash installed. If,
after 5 seconds, the flash movie has not managed to redirect the user,
either they are on a massively slow connection or dont have Flash installed;
in both cases a non-flash site would be better anyway.


 
Reply With Quote
 
Whitecrest
Guest
Posts: n/a
 
      05-13-2004
In article <Z6Foc.2094$>,
says...

> I would like to know if there is the ability to have a flash embeded, but
> when the flash is not available on the browser, then i want to show an
> image.


http://livedocs.macromedia.com/flash...himpl/common/h
tml/wwhelp.htm?context=Flash_MX_2004_Documentation&fil e=15_publ4.htm

mind the URL wrapping
--
Whitecrest Entertainment
www.whitecrestent.com
 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      05-13-2004
Disco Octopus wrote:

> I would like to know if there is the ability to have a flash embeded, but
> when the flash is not available on the browser, then i want to show an
> image.


<object data="flash.swf">
<img src="image.png" alt="text">
</object>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
Foofy (formerly known as Spaghetti)
Guest
Posts: n/a
 
      05-14-2004
On Thu, 13 May 2004 07:05:29 GMT, Disco Octopus
<> wrote:

> I would like to know if there is the ability to have a flash embeded, but
> when the flash is not available on the browser, then i want to show an
> image.


Here's something that works. You can use an image or whatever you want to
show when Flash isn't installed. Also, your HTML will be compliant and all
that.

<http://www.alistapart.com/articles/flashsatay/?

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
 
Reply With Quote
 
Disco Octopus
Guest
Posts: n/a
 
      05-14-2004
Disco Octopus wrote:
> Hi,
>
> I would like to know if there is the ability to have a flash embeded,
> but when the flash is not available on the browser, then i want to
> show an image.
>
> Thanks


I have craeted the following page, but it is not doing what I expect...

http://mycoolfish.com/t/cow.html

In IE 5.5 I am seeing the <object> - this is cool.
In operar 7.x I am seeing the <embed> - this is cool too.
In Netscape Communicator 4.79 I see the cow.gif - this is cool too.
In Lynx I am not seeing anything - I expect (well, was hoping) to see at
least one of the alt= texts. (dunno which one, was trying to guess)
In the new-ish mozillas (firfox 0.7, 0.8, netscape 7.1, 7.0, mozilla 1.4,
1.5, 1.6) I am not seeing anything. I would at least like to see the
"cow.gif" if not the flash files.

Any ideas?
Thanks


 
Reply With Quote
 
Toby A Inkster
Guest
Posts: n/a
 
      05-14-2004
Disco Octopus wrote:

> I have craeted the following page, but it is not doing what I expect...
>
> http://mycoolfish.com/t/cow.html


As per my other post, get rid of the <embed> tag altogether. It's only
needed by NN4 and below and it's not part of any HTML standard. Secondly
add the attribute 'data="file.swf"' to the <object> tag. This will load
the flash file in Opera and Mozilla-based browsers.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image recovery: Recovering fragmented image files from flash memorycards Tonny Iversen Digital Photography 26 09-10-2007 02:54 PM
how to read image from sql server to show in a image =?Utf-8?B?am9l?= ASP .Net 2 07-24-2006 01:33 PM
clicking small image to show a big image handersonVA Javascript 6 12-01-2005 10:40 PM
Show image from SQL Image Field ? Bob ASP General 2 08-22-2003 07:02 PM
image map link to show image underneath? Joe HTML 0 08-01-2003 05:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57