|
-
Using Adobe Flash Player Detection Kit
I'm pretty new to flash and java script, I'm trying to turn the adobe flash kit script in to a <div
but I don't know what settings need to be customized. I'm trying to put this....
<div class="flash">
<object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,24" width="980" height="162">
<param name="movie" value="flash/menu_v8nologo.swf?button=1" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="menu" value="false" />
<!--[if !IE]> <-->
<object data="flash/menu_v8nologo.swf?button=1"
width="980" height="162" type="application/x-shockwave-flash">
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="menu" value="false" />
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object>
</div>
..........into this....
<script language="JavaScript" type="text/javascript">
<!--
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if (hasReqestedVersion) {
AC_FL_RunContent(
"src", "example",
"width", "980",
"height", "162",
"id", "detectionExample",
"wmode", "transparent",
"menu", "false",
"quality", "high",
"name", "detectionExample",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
);
} else {
var alternateContent = 'site/index.html.<BR>';
document.write(alternateContent);
}
// -->
</script>
I've modified it somewhat already to the variable I understand, but my question are:
is the "src" the full name of the file? in this case "flash/menu_v8nologo.swf?button=1" or something else?
where do I get the Id and name from?
Thanks in advance for any help at all!
Phenz
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|