Flash detection kit - How ?
Can i anyone give me the code to get the flash detection kit
to work, i just dont get it
JosBVG,
> Can i anyone give me the code to get the flash detection
> kit to work, i just dont get it
Unless there's a reason you need to use that particular
solution, I
recommend SWFObject. It's free, it's in wide use, and its
Google Code
website includes an AIR app that writes all the code for you.
You just fill
in a form of the SWF's name, width and height, etc., and the
thing generates
all the JavaScript code you need. Just copy and paste into
your HTML page.
http://code.google.com/p/swfobject/
There's also really good documentation here:
http://code.google.com/p/swfobject/wiki/documentation
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."
Similar Messages
-
Using the Flash detection kit from adobe
Question:
I want to use the flash detection kit, which is downloadable
at abobe site.
But the actionscript example that is provided uses a
subdirectory (which is called flash_content) to play the content
when the detection has been done. I've altered the
'flash_detection.as" file, but still it only seems to work if my
content is in the subdirectory flash_content.
But I do not want my content in a subdirectory (also to do
with search robots).
I can't seem to make it work, has anybody got any idea?
thanksAnyone have any ideas?
-
Flash Detection Kit - Express Install - Without Internet
Im interested in finding out if its possible to configure the Flash Detection Kit to download the plugins from a network-local location instead of the adobe site. Im working on a system that will be accessed in a closed network environment, and I need to have the plugins available in-house for machines that may not have them installed.
Does anyone have any advice on the best way of solving this?
thank you!Anyone have any ideas?
-
I try to use, I runs ok but I don�t know where I put
information to go after
installation. Where? And where I can put a image during
installation?
<head><meta http-equiv="Content-Type"
content="text/html;
charset=iso-8859-1" />
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<script src="AC_OETags.js"
language="javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
// Globals
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 0;
// -->
</script>
<title>Kaikyo - Culinária
Japonesa</title>
<META NAME="title" CONTENT="Kaikyo - Culin�ria
Japonesa" />
<META NAME="description" CONTENT="Kaikyo - Site do
restaurante de comida
japonesa situado em Botafogo, no Rio de Janeiro. " />
<META NAME="keywords" CONTENT="***�o, comida,
restaurante, comida japonesa,
culin�ria japonesa, sushi, salm�o, cultura
japonesa, cultura, cozinha
japonesa, japan, pauzinho, shoyo, sashimi, banana caramelada"
/>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<style type="text/css">
html{height:100%}
html,body {margin:0;padding:0;}
body{
text-align:center;
min-width:650px;
#flashvertical{
position:absolute;
top:50%;
margin-top:-200px;/* half flash height*/
left:0;
width:100%;
#flashhoz {
width:624px;/* flash width*/
margin-left:auto;
margin-right:auto;
height:395px;/* flash height*/
background:#666;
h1 {color:#fff;margin:0;padding:0}
</style>
</head>
<body bgcolor="#000000">
<div id="flashvertical">
<div id="flashhoz">
<script language="JavaScript" type="text/javascript">
<!--
// Version check for the Flash Player that has the ability to
start Player
Product Install (6.0r65)
var hasProductInstall = DetectFlashVer(6, 0, 65);
// Version check based upon the values defined in globals
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion,
requiredMinorVersion, requiredRevision);
// Check to see if a player with Flash Product Install is
available and the
version does not meet the requirements for playback
if ( hasProductInstall && !hasReqestedVersion ) {
// MMdoctitle is the stored document.title value used by the
installation
process to close the window that started the process
// This is necessary in order to close browser windows that
are still
utilizing the older version of the player after installation
has completed
// DO NOT MODIFY THE FOLLOWING FOUR LINES
// Location visited after installation is complete if
installation is
required
var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
var MMredirectURL = window.location;
document.title = document.title.slice(0, 47) + " - Flash
Player
Installation";
var MMdoctitle = document.title;
AC_FL_RunContent(
"src", "index_backup.html",
"FlashVars",
"MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+
MMdoctitle+"",
"width", "740",
"height", "432",
"align", "middle",
"id", "detectionExample",
"quality", "high",
"bgcolor", "#3A6EA5",
"name", "detectionExample",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "
http://www.adobe.com/go/getflashplayer"
} else if (hasReqestedVersion) {
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
"src", "kaikyo.swf",
"width", "740",
"height", "432",
"align", "middle",
"id", "detectionExample",
"quality", "high",
"bgcolor", "#FFFFFF",
"name", "detectionExample",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
'codebase',
http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
"pluginspage", "
http://www.adobe.com/go/getflashplayer"
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'teste<BR>'
+ 'This content requires the Adobe Flash Player. '
+ '<a href=http://www.adobe.com/go/getflash/>Get
Flash</a>';
document.write(alternateContent); // insert non-flash
content
// -->
</script>
<noscript>
Provide alternate content for browsers that do not support
scripting
or for those that have scripting disabled.
Alternate HTML content should be placed here.
This content requires the Adobe Flash Player and a browser
with
JavaScript enabled.
<a href="
http://www.adobe.com/go/getflash/">Get
Flash</a>
</noscript>
</div>
</div>
</body>
</html>Anyone have any ideas?
-
Typo in Flash Detection Kit Guide?
I was reading about ActionScript detection method of
detecting Flash versions, and I came across this bit that doesn't
seem to make sense. Should that last sentence be a bullet point of
the previous list, so it would in effect read: "Avoid using
ActionScript detection when you would prefer to display alternate
content inline rather than directing end users to the Flash Player
installation page" ?
ScreenshotAnyone have any ideas?
-
Hello,
I got the flash detection kit and integrated it with a
website i am developing. Well a few people told me that they end up
with a blank page. I think that the flash detection did not work
and i am unable to check this part since all PCs at the office are
installed with the latest plugin.
How can i check if the detection is actually working ...
thanks
am>> How can i check if the detection is actually working
>
> Uninstall the plugin.
Agreed. :) The most convenient way I can think of is to use
Alessandro
Crugnola's Flash Switcher extension for Firefox.
http://www.sephiroth.it/weblog/archives/2006/10/flash_switcher_for_firefox.php
> Also, you might want to use SWFObject - it's a lot
nicer:
>
http://blog.deconcept.com/swfobject/
Agreed again. Geoff Stearns even wrote a Dev Center article
on its use:
http://www.adobe.com/devnet/flash/articles/swfobject.html
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
I am trying to include some script for flash detection on my
site to ensure that my viewers have the right flash player. Does
the Flash Detection Kit also include detection for ActiveX? The
reason I ask is because I have a page that some of my viewer have
trouble seeing and one discovered that she could see the page after
her flash player AND ActiveX were updated. I am not sure whether my
viewers problem is an old flash player or old ActiveX, but I need
to make sure both are up to date first.
If the Flash Detection Kit does not detect ActiveX does
anyone know where I can find code to do that?
Thanks,
SharonI use swfObject for Flash detection. It's easier to control
than the Adobe solution and allows you to provide plain html
alternate content:
http://blog.deconcept.com/swfobject/ -
Flash Dectection kit + Hyperlinks
I've just finished implementing the Flash Detection kit and
all has worked well bar one problem. All my hyperlinks on the page
do not work. I have tried finding a solution but have been
unsuccessful. Has anyone experienced this problem before and maybe
provide the solution.
Hyperlinks worked fine in firefox but not IE7, which is what
im working with.
thanks
cjkmccsupply us the url to allow us to see what your doing
wrong? -
Detection Kit needs Testing Help
http://www.wonderfulmachine.com/
I have the detection kit on this page.
Detect for 7 and above.
The flash file is 7.
It seems to be working on a Mac just fine.
Not sure about the PC.
Can you test it on the PC?
Can you tell me what Flash you have?
Can you look at the code and make sure it is right?
- StevenHey I'm a PC XP SP2 user
Your site worked just fine with flash player 9 in both IE 6
and Fire fox.
To try and stump it, I uninstalled my player and reinstalled
flash player 6r21 to see if it would cause problems... In internet
explorer, it actually still worked just fine which suprised me.
With player 6r21 in firefox, it said that I needed to install
flash so I did and it updated me to 9 but it redirected me (which
is the only way with player 6r65 and lower.
So I uninstalled again and tried verstion 6r65 and again it
worked with ie, but with firefox I had to be redirected to install
flash 9.
the flash detection kit offers an alternate .swf installer
that can update players 6r65 and up so if you want into look at
that and then more info about it, you can look here
http://www.adobe.com/devnet/flash/articles/fp8_detection.html
Also, IE has added some really really annoying security
features in very recent history. One of those features makes you
have to click on flash (and other rich content) to activate it
before you can interact with it... very very annoying for
devolopers and users. This link:
http://www.amarasoftware.com/flash-problem.htm
explains the problem really well and offers a very simple solution
that I advise you apply to all of your flash pages. Their simple
way has worked for me, but there is also the macromedia endorsed
way that the article talks about, but I didn't bother with it for
its overcomplexity. This is very very recommended as many of your
targets with probably be using IE.
i hope I helped -
Flash player detection kit question
Hi,
I'm looking into implementing the flash player detection kit onto our website. I found a good resource about this but had a question: http://www.adobe.com/devnet/flash/articles/fp8_detection.html
It looks like the flash player detection kit is focused on flash player 8. Are there any differences as to how to handle this situation for flash player 9 or 10, or will the kit work for all? Please note that I am not a flash developer, but am doing research to advise our IT folks as to how we should go about setting up proper flash detection on our site.
Thanks,
-Jeff
[email protected]the flash program publishes an html with flash detection added to the html page. it detects the needed player version.
you can also use swfobject for reliable swf embedding and player detection. -
Flash Player Detection Kit - Help With Ad...
HI all,
I want some advice regarding the Flash Player Detection Kit ( http://www.adobe.com/products/flashplayer/download/detection_kit/ ). I would like to embed the detection process in just one file. Hence how can I embed a detection code into the flash file, so once its exported to swf, it'll have the detection code already and no additional files are needed?
Thanks in advanced.Seems the reasoning is a little off. If the Flash detection is in the Flash .swf.... but the browser has no Flash plugin.. the .swf would never be read by the browser... hence no "Flash detection" scheme would be implemented.
That's why Flash detection has to take place out-side of the .swf, by the browser... exactly like .swfobject does.
Best wishes,
Adninjastrator -
社内でFlash Player のバージョン取得の為、Flash Player Detection Kitをダウンロードし使用しようか検討しておりますが、使用方法がよく解りません。マニュアルは英語で・・・。
ただ、バージョンを表示するだけで良いと考えておりますが、Ver7x以下はバージョンが表示されないようです。イントラ上ではなく、こちらのサイトにアクセスしてバージョン表示させるしか方 法がないのでしょうか。こちらに日本語の解説があります↓
http://www.adobe.com/jp/devnet/flashplayer/articles/detectionkit.html
ちなみにFlash Playerのバージョンを取得するだけでしたら、「getVersion関数」でいけると思います。Flash Player 5以上対応とのことです。 -
Flash Player Detection Kit License
Hi,
I was wondering what the license was for distributing the
Flash Player Detection Kit? And actually not the whole kit, just
the AC_OETag.js file itself. I can find information on licensing
the player itself, but nothing on the kit code.
Thanks,
DianaThere is no license for it. You can use the .js files as you
see fit.
That said, I am rabidly trying to get all our detection
technotes updated to let people know the following...
Note: As of the October 15, 2008 release of Flash Player 10,
Adobe recommends that developers use SWFObject2 for Flash Player
detection. For more information see the SWFObject page at Google
code (
http://code.google.com/p/swfobject/)
or "Detecting Flash Player versions and embedding SWF files with
SWFObject 2" on the Adobe Developer Connection. The following
information effects the Flash Player Detection Kit, which should
continue to work correctly with Flash Player 10. -
I just paid ten dollars for an app called flash detect. It is a total scam ... I want my ten dollars back. How can apple allow these apps on their store???
You can try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that app and use the 'Report a Problem' link.
-
Hello,
I having a tough time figuring out the implementation process
with
Robert Hoekman's flash detection tutorial...here
http://www.adobe.com/devnet/flash/articles/fp8_detection_04.html
I'm trying the Flash Player Express install....
1. I have published HTML and Flash files out of flash and
know I'm confused as the next step says "move the Java Script code
found within the Template's <head> tag to the same location
in your page along with the JavaScript include, AC_OETags.js"
I'm wondering what template he he using.. and where the
information goes? Does it go onto the html I just published from
flash or the html on the playerProductioninstall.html example out
of the detection kit download.
An example of how he used all the files that came with the
kit and how to place them into the HTML that was published from
flash would be awesome.
He did give a few brief examples, they didn't seem to make
sense...
It would be great to get a few examples !Check out swfobject. Its a better way to embed, detect and
control flashvars etc dynamically.
http://blog.deconcept.com/swfobject/
Maybe you are looking for
-
My iPhone is not syncing and iTunes is going wack. Can anyone explain what's happening?
I guess this could constitute mainly as an iTunes problem, but there is disconnect with my IPhone 5. I have just recently added new songs to my iTunes and when I plugged my iPhone in, it didn't sync. At first I really didn’t care much about it. It us
-
so i dropped a few thousand books onto my ipad -- i read a few deleted a few, and deleted ones i read etc...when I go into my itunes on my laptop i want to delete the books i don't want anymore -- in the section listing my ipad the books are unchecke
-
I just had a new hard drive installed on my iMac
i just had a new hard drive installed on my iMac (due to the Seagate replacement program) i was able to migrate my back up(i think) but its now acting like a new computer and i can't get past the registration screen. I filled everything out but the "
-
Hi experts i'd like to know if via ITS Vendor List is possible to manage doc's attachments. Standard way of course. If it is possible, i'd like to know also if the management occurs in the Header of Vendor List or in Position Regards Andrea
-
Hello, Subcontracting Scenario: The service charges of the material is Rs 100 and vendor is asking Rs 200 extra as a service tax according to the gov. rule. Now what i will do either create a manual service tax condition or some other method. thanks