Mr. Vulcano
Jan 18 2005, 09:48 AM
This script i have modified. With this script you can check if Flash is installed.
CODE <script language="javascript" type="text/javascript">
<!--
var flashinstalled = 0;
var flashversion = 0;
MSDetect = "false";
if (navigator.plugins && navigator.plugins.length)
{
x = navigator.plugins["Shockwave Flash"];
if (x)
{
flashinstalled = 2;
if (x.description)
{
y = x.description;
flashversion = y.charAt(y.indexOf('.')-1);
}
}
else
flashinstalled = 1;
if (navigator.plugins["Shockwave Flash 2.0"])
{
flashinstalled = 2;
flashversion = 2;
}
}
else if (navigator.mimeTypes && navigator.mimeTypes.length)
{
x = navigator.mimeTypes['application/x-shockwave-flash'];
if (x && x.enabledPlugin)
flashinstalled = 2;
else
flashinstalled = 1;
}
else
MSDetect = "true";
// -->
</script>
<script language="vbscript" type="text/vbscript">
on error resume next
If MSDetect = "true" Then
For i = 2 to 6
If Not(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & i))) Then
Else
flashinstalled = 2
flashversion = i
End If
Next
If flashinstalled = 0 Then
flashinstalled = 1
End If
End If
</script>
<script language="javascript" type="text/javascript">
<!--
if (flashinstalled == 2)
{
if (flashversion)
document.write("You have Flash version " + flashversion + " installed.");
else
document.write("You have Flash installed, but I can't detect the version.");
}
else if (flashinstalled == 1) document.write("You don't have Flash installed.");
else document.write("I can't find out if you have Flash installed.");
// -->
</script>
Comment/Reply (w/o sign-up)
Recent Queries:--
check for flash javascript - 5.98 hr back. (1)
-
check flash version javascript - 13.39 hr back. (1)
-
javascript check for flash - 16.16 hr back. (1)
-
check flash by javascript - 17.28 hr back. (1)
-
javascript check if flash - 19.44 hr back. (1)
-
javascript to check for flash - 31.12 hr back. (1)
-
how to put a javascript link in a flash website - 34.92 hr back. (1)
-
javascript flash check - 35.50 hr back. (2)
-
determine flash version on windows javascript - 37.34 hr back. (1)
-
javascript flash version check - 3.96 hr back. (2)
-
check flash in javascript - 42.98 hr back. (1)
-
javascript check flash isntalled - 54.26 hr back. (1)
-
check for flash compatibility javascript - 65.75 hr back. (1)
-
javascript check flash onload - 66.61 hr back. (1)
Similar Topics
Keywords : javascript, check, flash
- Will There Be A free Image, File, Video And Flash Host?
(5)
Flash Coding
(1) what type of codes or code does flash work with?? the stuff would put into the actions section...i
guessing its javascript....for the people who use flash... do you usually make your own codes or do
you usually look them up?? how did you learn about them...through a class?? or by yourself?? ive
been tryin to learn them byself by looking up tutorials on the sites but they are very hard to
remember or memorize how the codes should be arranged but i can just about understand what the codes
mean most of the time.......
Flash 8 Is Coming!
Macromedia has released a new Studio (7) Hey guys, I got an email from Macromedia 2 weeks ago, and the good news has been spreading around,
the new Studio 8 has been completed and will be released in September. Some of the new features in
the Flash 8 are: - Built-in FTP options for direct uploading Flash content to the Web - Brand new
filters, and efffects such as dropshadows, blurs, and bevels. - Advanced Video importing tools,
and Video Encoders, with tools such as cropping, trimming, resizing ... - Advanced
presentation of content for mobile devices such as Mobiles, PDA's .... allows ....
Flash Site
Baisic Flash Tutorial (0) Does anyone know of any baisic quick flash tutorials that teach you a bit? I want to build a flash
site but don't know weather to go with php or flash.....
A Moving Flash Tv
moving... (4) hey,there is a moving flash TV in my site i uploaded just now,which was drawn and written by BUhUA a
Chinese author.to introduce the movie,about two cats one is a great mother another is brave
child...generally,describe the brave child to save his mother...really and sincerely the movie is
moving... T_T welcome to watch the flash ....
Flash
(0) Is Flash MX the only program to make flash movies and such?....
my flash site doesn't work
(0) My site doesn't work.
Is it because it was made in flash?
if you go to www.capitanroca.tk you
will be able to get in. I have the same html index and flash movies in
www.capitanroca.vaio-hosting.com but my computer crashes or do nothing when attempting to run it.
have an idea??....
Simple Flash Customisation Required!!!
(4) Hey guys, im a noob with flash but really need this logo for my website. Can you just change the
word from x-mod to Nokia Galaxy please. Thanks in advance. the fla files are attached. You can send
it to me at emgage@gmail.com
Files
http://www.nokiagalaxy.hostingzero.com/hogan/lara4.fla
http://www.nokiagalaxy.hostingzero.com/hog...ogan/lara4.html ....
PHP in Flash
(2) Hi there, im just trying to use php in macromedia flash. to start easy, ive defined a variable in
php
CODE $Hello="Hello";
Then I wrote
CODE echo "&variable=$Hello&";
when i
try the php file, it prints on the screen : "&variable=Hello&" which is fine.
on my flash file,
ive written:
CODE c= new loadVars(); c.onLoad = function () { v = this ; } c.load ( my php
file );
v being a dynamic text field.
but it writes in my textbox: $Hello and not Hello.
Anyone could help?
Thanx!
....
Iframe External Link (Javascript)
(0) This code will allow people who use iframes to link to there page, then load the iframe so that they
can give external links to people that will link directly to the iframe page they want to see.
now this first part has to be in the head of your document
CODE window.onload = function
setIframe() { var url = window.location.href; var i = url.indexOf("?i="); if( i>-1 ) {
url = url.substr(i+3); document.getElementById("body").src = url; } }
now this is
about how your iframe tag should look
CODE
of course replace th....
Flash intro
(11) Hey guys
I've make a website intro (that's my first flash creation)
www.alexus-studio.be.cx
I must add some sound....
Flash Tutorials Anyone?
(2) Does anyone know where I can find some VERY BEGINNER macromida flash tutorials to start learning
from?
(Didn't know quite where ta ask this so I asked here if a mod wants they can move it to the
right spot i guess /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> )
Tim :twisted:....
Flash Games
(1) MiniClip
Above is my favorite, but I also like the below
Games in a flash ....
Flash disign
(2) need flash disign for Condition-Zero
some one can give me and i change for what i need?....
Javascript/HTML form submissions On a Mac
(1) My hope is that someone out there can help me with this problem. I have some javascript that will go
thru (on a PC that is) a HTML page looking for a specifc word submitted via an onclick function.
Orginally it was a form submission with an onsubmit that ran the function. But in trying to
trouble shoot it I thought the mac was submitting the form differently than the PC versions (maybe
the DOM) so I created a button with an onclick command. Again it works for the PC but not for the
MAC.
I am at my wits end. If someone can help; below is the code I am using. I....
Javascript loading iframes
(1) Im getting this message
CODE Line: 14 Char: 3 Error: 'document.getElementByID(...)' is null
or not an object Code: 0 URL: http://www.stoneddevilinc.com?i=full_site_part_1.html
when i
try to run this code
CODE function setIframe() { var url = window.location.href;
var i = url.indexOf("?i="); if( i>-1 ) { url = url.substr(i+3);
document.getElementById("content").src = url; } } window.onload = setIframe();
with this url
CODE http://www.stoneddevilinc.com/?i=full_site_part_1.html
to pull up
this ifra....
some one can help me with flash mx
(7) soneone have giude or somthing that can help me....
JavaScript PHP redirecting
(2) Hi there! /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' />
Is
there a way to use JS to change a form's submit target based on which submit button was pressed?
Eg.
CODE Register Login
Thank you!!
Added code tags--CodeFX ....
FLASH GAMES
(0) here is one.....
A = left
D = Right
M1 = shoot
http://www.minijuegos.com/juegos/jugar.php?id=2816 ....
javascript
(3) some nice javascript to add in your site CODE cell bg changer .tditem { font-size:
12px; font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: gray; }
Item 1 | Item 2 | Item 3
....
Flash Reload (Helpppppppppppppppp)
(3) can someone help to create flash reload.....
My first flash site
(18) This is the first site i've done in flash,just got it up so there isnt any content yet . If you dont
have dsl or cable it may not load for you right
http://mytechnews.net/ ....
This is an image gallery made in flash
(2) MR10 is one of the best image gallery systems ever made. Simple and totally scriptable. You can
download it from here:
http://www.mr10.net/components/gallery/
**Removed all caps --CodeFX ....
Excellent site for Javascript Tools
(1) This is the best source for Javascript tools.
http://www.codebrain.com/
**Removed all caps
--CodeFX ....
Flash Menu Generator
(3) Hi does anyone have or know of a Free Flash Menu Generator?
Daniel....
Browser Redirection Javascript code.
(1) Hi does anyone have a browser direction code( so if someone went to my site with IE it would forward
to a site telling you to download Firefox).
If so could you email it to me : daniel dot maxson at
gmail dot com
Thanks
Daniel....
Flash games
(4) Does anyone here make flash games?
If you do would you be willing to make some for my site?....
So many Cooollll Flash Templates
(9) So may to chose:
http://flash.jztele.com/yunhe/template/60nmt.rar
http://flash.jztele.com/yunhe/template/56ftrt.rar
http://flash.jztele.com/yunhe/template/55bnfr.rar
http://flash.jztele.com/yunhe/template/54gnf.rar
http://flash.jztele.com/yunhe/template/52gfrt.rar
http://flash.jztele.com/yunhe/template/52ju.rar
http://flash.jztele.com/yunhe/template/53fcvdf.rar
http://flash.jztele.com/yunhe/template/49cvbtr.rar
http://flash.jztele.com/yunhe/template/50fghtr.rar
http://flash.jztele.com/yunhe/template/51dfer.rar
http:....
JavaScript--A snow storm
(13) A snow storm: after or
QUOTE
N = 40; Y = new Array();
X = new Array();
S =
new Array();
A = new Array();
B = new Array();
M = new Array();
V = (document.layers)?1:0;
iH=(document.layers)?window.innerHeight:window.document.body.clientHeight;
iW=(document.layers)?window.innerWidth:window.document.body.clientWidth;
for (i=0; i Y
=Math.round(Math.random()*iH);
X =Math.round(Math.random()*iW);
S
=Math.round(Math.random()*5+2);
A =0;
B =Math.random()*0.1+0.1;
M
=Math.round(Math.random()*1+1);
}
if (V){
for (i = 0; i {document.wr....
sweet flash games
sweet flash games (21) oh i found a sweet game; Cykram Airtos I would definatly play that if i had a job...of
nothingness and boredom.... /unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0"
alt="unsure.gif" />....
Looking for javascript, check, flash
|
Searching Video's for javascript, check, flash
|
advertisement
|
|