Groups | Blog | Home
all groups > flash (macromedia) > march 2005 >

flash (macromedia) : Newbie needing help....



debibrighthope
3/7/2005 11:51:36 PM
Hi, I need to create a Flash movie (I'm VERY new to Flash) but if someone
doesn't have Flash Player how do I get a static image to show in its place??
I've read a couple of articles but I can't seem to make it work. Can someone
make the instruction REALLY easy to follow?? Thanks in advance. Debi
a little ant
3/8/2005 5:25:52 PM
You can use the Flash Detection Kit from Macromedia. (free) from
http://www.macromedia.com/software/flash/download/detection_kit/ Otherwise
you need to understand that you cannot make an application in Flash itself to
do this because if the user doesn't have Flash installed then there is no way
for your flash thing to show up or work . Read about the Flash Detection Kit
and take it from there. Quite simple to follow. You will find that with the
detection kit - if they don't have flash, you can make the user get sent to a
place to get flash or to any page of your choice, which could be a page with
the picture you are talking about. Good luck.
Stat1124
6/16/2005 4:15:50 PM
Debibrighthope-

If you have a general knowledge of javascript this can be easily done
using the following script. Compliments to webwino for giving us a condense
verison of http://www.moock.org/webdesign/flash/detection/moockfpi/ dectector.

This Code is listed below.

Just swap out your content for the flash movie, dimensions, player verison and
alt image. If you have a good knowledge of flash you should use the moockfpi
link I gave above. It has more features for you to be able to redirect pages,
alt image and other lil goodies. Hope this helps.



<SCRIPT LANGUAGE=JavaScript1.1>
<!--
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"]) ?
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
var words = navigator.plugins["Shockwave Flash"].description.split(" ");
for (var i = 0; i < words.length; ++i)
{
if (isNaN(parseInt(words[i])))
continue;
var MM_PluginVersion = words[i];
}
var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
&& (navigator.appVersion.indexOf("Win") != -1)) {
document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from
IE4.5 Mac by splitting the tag
document.write('on error resume next \n');
document.write('MM_FlashCanPlay = (
IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." &
MM_contentVersion)))\n');
document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {
document.write('<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
document.write('
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=7,0,0,0" ');
document.write(' width="750" height="300" id="42005" align="middle">');
document.write(' <param name="allowScriptAccess" value="sameDomain" /> <param
name="movie" value="/Movies/42005/42005.swf" /> <param name="quality"
value="high" /> <param name="bgcolor" value="#4c1517" /> ');
document.write(' <embed src="/Movies/42005/42005.swf" quality="high"
bgcolor="#4c1517" ');
document.write(' width="750" height="300" name="42005" align="middle"
allowScriptAccess="sameDomain"');
document.write(' type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">');
document.write(' </EMBED>');
document.write(' </OBJECT>');
} else{
document.write('<IMG SRC="/images/main.jpg" WIDTH="750" HEIGHT="300"
usemap="#script" BORDER=0>');
}
//-->
</SCRIPT><NOSCRIPT><IMG SRC="/images/main.jpg" WIDTH="750" HEIGHT="300"
usemap="#script" BORDER=0>

</NOSCRIPT>
AddThis Social Bookmark Button