Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Flash 9 Version Detection - Auto Forwarding



Hey Guys!,

It's been a while since I've been on Ultra , I did a bit of searching and can't find a resolution to my problem.

I have a Flash 9 site and a Alternate site with redundant content and some Flash MX elements. In the HTML code of the Flash detection I have found how to display content for people without flash, but is there a way to just auto-forward a user because they don't have version 9.0 or above?

Any help would be huge!

THANKS!

GnuLoCo



Ultrashock Forums > Flash > Flash Professional
Posted on: 2008-02-07


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Auto Set Flash Version In DWeaver
Hi guys,

i know this is not "that" related to FLash per say, but it is "Still" related one way or another...

Is there a way to set the FLASH version in Dreamweaver's generated HTML files??

Here are the things i wanted to automate:

1) Flash Cab version from:6,0,29,0 to 7,0,0,0???
- everytime i insert an swf into my dreamweaver document the cab version is set to check for 6,0,29,0... im publishing version 7 swfs..

2) I also would like to make dreamwaver add the menu=false parameter in all the swf embed codes by default..

is this possible ya guys?

tea

Detection Of Flash Version
Please could somebody either give me or direct me in the dirsction of a JAVASCRIPT that detects the flash plugin and/or it's version. I want javascript not in flash detection cos that wouldn't work for what i want to do.
Thanks for any help.
Tom.

Flash Version Detection
Hey
I looked to a lot of places and didn't find an easy cut and paste piece of javascript to insert in my html to detect the version of the flash plugin.
So I had to cook something with what I found:
<script language="javascript">
var plugin = (navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"] ?
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0);
if (plugin &&
parseInt(plugin.description.substring(plugin.descr iption.indexOf(".")-1)) >=
4) {
alert("do the flash stuff");
} else {
alert("do the html stuff");
}
</SCRIPT>

so now I need to or load my swf
or an html
I don't know how to load the swf in javascript
can you help?
also, I get now the version as "5.0 r41" and I need only to check the "5" of the version number
any idea how to do that?

thanks

Flash Version Detection...?
I noticed that in the flash actionscript...there is a function to get the current version that the user is using.... does this not work? I ask this question because I see everywhere people using javascript and other methods to check the flash version... what is wrong with the built in function to do this for you?

Flash Version Detection
this should be a quick one...

i saw on one of these threads that the 'accepted' way to test for flash is to make a movie and in the movie look at the version number? if version is less then what you need then exit movie else, continue?

Can anyone elaborate on this? How do you get the version?
What is this a property of?

Does this method sound correct?

(looks like a lot of questions)

Flash Version Detection
I followed the below tutorial, but am having problems. While the page is working fine for people who don't have an updated version of Flash...I don't jump directly from frame 1 to frame 3...I do see frame 2 for an instant.

I tried changing the code in frame 1 to reference the frame label I have for frame 3 and beyond, but that didn't work either.

Again, this is probably something stupid that I am doing, but would appreciate some help.

This is the tutorial I followed:
Flash 5 Detection

No long Javascript or hefty actionscripting here Very simple on frame 1 of your movie put:

with (_root) {
gotoAndPlay (3);}

Frame 2 put in a stop command and message saying they need the latest plugin, or redirect them to a different page.

Frame 3 Continue with your movie.

The reason this works is because in Flash 5 they have introduced the "with" command, therefore flash 3 and 4 don't recognise it and ignore it and go on to frame 2. For flash 5 it jumps to frame 3 and keeps on going. Does it get any simpler

Flash Detection And Version
Hi there. I would like a process to detect for flash and also the version.

I know Flash has something standard for detecting flash, but I would like a process that allows one html page to detect for flash and the version...

the objective being if someone does not have the correct version of flash then I can point them to the same page to download the version...If they have the Flash version 6 or above then they just see the website.

So I am assuming I need some sort of script that can detect flash, and also version for flash...any ideas?

Flash Version Detection
I'm looking for a script that detecst what version of flash a user has and if they dont have the required version I want them to be sent to a different page (perhaps a PHP or summit).

Any help would be appreciated.

Cheers.

Version Detection From Within Flash
Would this be an effective way to detect what version of Flash they have? I was just wondering how others do it. I want to avoid checking it with script on the HTML page, just work in the Flash enviroment, assuming people actually have the Flash player and just need to upgrade. This is assuming System.capabilities.version returns something similar to this: "WIN 8,0,22,0"
code: var version = System.capabilities.version.split(" ")[1].split(",")[0];
if (Number(version)<8) {
_root.gotoAndStop("upgrade");
}

Flash Version Detection
Sorry if this is a redundant post, but I am trying to find a flash detection script that would detect which version of Flash the viewer has and then display the correct Flash version swf file in an .aspx page. I see a lot of flash detection scripts that will detect the version but I haven't found a script that lets me do something with that information.

Thanks for your help.

thepopguy

Flash Version Detection
Hi,
Would like to know whether is that any javascript available to detect the version og flash player the user is having.
For example,
if version <= 4;
prompt user to update
else
continue displaying the flash movie.
Thanx

Flash Version Detection
What is the best technique/script/code for detecting the users flash version? Trying to get my hands around this idea and then use it in some projects/experiments that I have going on. I really want to learn what is the best way to do this. I have tried a few things and some worked some not so well.

New Version Of Flash, Same Auto Format Bugs
When Flash CS3 came out, the first thing I noticed when I sat down to use it for the first time was that the ActionScript Auto Format was unusable because of bugs that were present in it. One of the bugs was that it would actually REMOVE parenthesis from certain lines of code, and next to object initializations. This made it unusable because it would constantly break programs. So pretty much, in CS3 you had this Auto Format feature (that worked wonderfully in previous versions of Flash) that was just there and couldn't actually be used by anyone who was going to do any sort of serious programming. This was pretty hard to believe being that Auto format worked fine in previous versions of Flash (I can't remember if it was in 8 or after 8 it broke).

So I take my time, go to the Flash CS3 bug reporter, and report the bug.

Fast forward a few years. CS4 comes out. I immediately buy the upgrade. What's the first thing I look at? The Auto formatter. To my dismay, it still contains the exact same bugs it did when CS3 came out years ago. I almost felt like asking for a refund. I don't think it's too high of an expectation for a bunch of obvious bugs to be fixed.

Then I have to ask myself, am I the only person on planet earth who uses the ActionScript Auto format? I used to love it to just clean up my code and indent it. I mean right now, it's just like "there". I don't see how anyone can actually be using it in its current state. Adobe should either get rid of it or fix it, preferably fix it.

I guess my question is, to anyone really, or preferably Adobe, what's going on here? Is this ever going to be fixed? It's not really fair that a feature that used to work perfectly has been broken in the last two major versions of Flash. Is there any possible way for Adobe to send down a fix for this, or is there a way for the user to fix it on their own?

Thanks in advance.





























Edited: 11/01/2008 at 02:55:53 AM by cooleo100d

In Movie Flash Version Detection
I'm looking for a workable way to handle deciding AFTER a movie is loaded up what version is being used.

Once the user loads up the SWF I want to route them to an alternative presentation if they don't have Flash 5 installed.

I was told here before that this could be done by routing users to different scenes, but I haven't been able to figure out exactly how....

All help MUCH appreciated!!

Detection Platform Version In Flash
Hi there folks.

I'm looking for a solution, how to verify different platforms - like MacOs and/ or Windows - from within flash.

I was actually thinking about a javascript function - called platform - but I'm not quite sure how to recognize the return of the function in flash again.

Perhaps somebody did a job a like this and so fine to help me.

Greetings.

Flash Version Detection Question
I understand how to set the Flash player version when I publish my Flash movie. But what is not clear in the book I'm studying is when I upload the .swf file in my html page (index.html) to my server, do I need to upload the html version of my Flash file (when I published)? Or do the version detection settings automatically get stored in the swf? In other words, if I have 2 files -- movie.swf (which is in my index.html page) & movie.html (which was published in Flash as well), do both need to be uploaded? Or will the .swf file in my index.html page pickup the visitors Flash version?

Thanks in advance!
Bernie C

JavaScript Detection Of Flash Version
If I create a Flash object like so:

<object id=flashTest ...>
<param name=movie value="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.swf" />
...
</object>

and query the FlashVersion from JavaScript like so:

flashTest.FlashVersion()

I get back "589824" when what I want is "9,0,47,0". How can I get the Flash version that is displayed to the user when scrolling over "About"?

In case it matters, here is the entire definition of the object:
<OBJECT id=flashTest classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,30,0"
height=120 width=300>
<PARAM NAME="Movie" VALUE="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.swf">
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="TL">
<PARAM NAME="Src" VALUE="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.swf">
<embed src="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="300" height="120" salign="TL"></embed>
</OBJECT>

Flash Version Detection Not Through Page?
Hi,

I have a program which has a normal desktop setup (installshield). After install and on launch it launches an IE window and inside it's Flex.
Now I want to require minimum version of 10, but it's breaking my program using javascript detection as in http://www.adobe.com/products/flashplayer/download/detection_kit/.

My question is, is it possible to detect version of Flash not through the browser? I want to be able to read some registry.
Otherwise, can I bypass the automatic detection and upgrade mechanism by any chance? I'm having major problem with the way Adobe is doing it, which is upgrading, closing the window, and relaunching the same page.
Can I detect that it's less than 10, than just give user a link (redirect to some other page), without going through how Adobe upgrades inside the browser?

Thanks,

Mike

Detection Player Version From Within Flash.
Hi,

How can I detect the version of the Flash Player from within your Flash movie?

I would like to export swf as flash 6, but would like to show alternative image for flash 5 user.

Thank you.

Flash Version Detection Script
Is there a FLASH version detection script available?

We have a new site developed in FLASH 8 but we are finding that 75% of our visitors do not have the proper version and when you have FLASH Player version 7 and try to watch version 8 you get a FLASH annimation that plays incorrectly but no error message or message telling you to upgrade.

We have added the message "If you have trouble viewing download the newest version of FLASH Player here" but people are not noticing it or thinking it is working properly because the annimations play (although they are missing parts)...

I'm sure this question has been asked but I can't find anything about a version detector. Most browsers now automatically detect whether FLASH Player is installed or not but they don't know what version is installed.

Thanks,

Matt

.html Flash Version Detection?
I'm using swfObject to get rid of the IE lines. But I can't find a way to use flash ver. detection in the .html file. Any ideas where should I put it?

source:

PHP Code:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>LRstudio</title>

<style type="text/css">
<!--
body {
    margin-top: 9%;
    margin-bottom: 9%;
    background-color: #FFFFFF;
}
-->
</style><script language="javascript" src="./flashJs/FLRelease1.js"> </script>
<script language="javascript" src="./flashJs/FLRelease2.js"> </script>
</head>

<body>
<!--url's used in the movie-->
<!--text used in the movie-->
<table width="100%" border="0" bordercolor="#FFFFFF">
  <tbody><tr>
    <td align="center" height="417" valign="middle"><noScript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="752" height="396" processed="true"><param name="movie" value="lrstudio-8.4.swf" /><param name="quality" value="high" /><embed src="lrstudio-8.4.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="752" height="396" /></object>
</noScript>
<script>
//<!--
AC_RunFlContentX ("src","lrstudio-8.4.swf","quality","high","width","752","height","396");
//-->
</script></td>
  </tr>
</tbody></table>
</body></html> 





The flash detection:

PHP Code:



<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-4" />
<title>lrstudio-8.4</title>
<script language="JavaScript" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Revision of Flash required
var requiredRevision = 0;
// the version of javascript supported
var jsVersion = 1.0;
// -----------------------------------------------------------------------------
// -->
</script>
<script language="VBScript" type="text/vbscript">
<!-- // Visual basic helper required to detect Flash Player ActiveX control version information
Function VBGetSwfVer(i)
  on error resume next
  Dim swControl, swVersion
  swVersion = 0
  
  set swControl = CreateObject("ShockwaveFlash.ShockwaveFlash." + CStr(i))
  if (IsObject(swControl)) then
    swVersion = swControl.GetVariable("$version")
  end if
  VBGetSwfVer = swVersion
End Function
// -->
</script>
<script language="JavaScript1.1" type="text/javascript">
<!-- // Detect Client Browser type
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
jsVersion = 1.1;
// JavaScript helper required to detect Flash Player PlugIn version information
function JSGetSwfVer(i){
    // NS/Opera version >= 3 check for Flash plugin in plugin array
    if (navigator.plugins != null && navigator.plugins.length > 0) {
        if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
            var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
              var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
            descArray = flashDescription.split(" ");
            tempArrayMajor = descArray[2].split(".");
            versionMajor = tempArrayMajor[0];
            versionMinor = tempArrayMajor[1];
            if ( descArray[3] != "" ) {
                tempArrayMinor = descArray[3].split("r");
            } else {
                tempArrayMinor = descArray[4].split("r");
            }
              versionRevision = tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0;
            flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
          } else {
            flashVer = -1;
        }
    }
    // MSN/WebTV 2.6 supports Flash 4
    else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
    // WebTV 2.5 supports Flash 3
    else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
    // older WebTV supports Flash 2
    else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
    // Can't detect in all other cases
    else {
        
        flashVer = -1;
    }
    return flashVer;

// If called with no parameters this function returns a floating point value 
// which should be the version of the Flash Player or 0.0 
// ex: Flash Player 7r14 returns 7.14
// If called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) 
{
     reqVer = parseFloat(reqMajorVer + "." + reqRevision);
       // loop backwards through the versions until we find the newest version    
    for (i=25;i>0;i--) {    
        if (isIE && isWin && !isOpera) {
            versionStr = VBGetSwfVer(i);
        } else {
            versionStr = JSGetSwfVer(i);        
        }
        if (versionStr == -1 ) { 
            return false;
        } else if (versionStr != 0) {
            if(isIE && isWin && !isOpera) {
                tempArray         = versionStr.split(" ");
                tempString        = tempArray[1];
                versionArray      = tempString .split(",");                
            } else {
                versionArray      = versionStr.split(".");
            }
            versionMajor      = versionArray[0];
            versionMinor      = versionArray[1];
            versionRevision   = versionArray[2];
            
            versionString     = versionMajor + "." + versionRevision;   // 7.0r24 == 7.24
            versionNum        = parseFloat(versionString);
            // is the major.revision >= requested major.revision AND the minor version >= requested minor
            if ( (versionMajor > reqMajorVer) && (versionNum >= reqVer) ) {
                return true;
            } else {
                return ((versionNum >= reqVer && versionMinor >= reqMinorVer) ? true : false );    
            }
        }
    }    
    return (reqVer ? false : 0.0);
}
// -->
</script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<script language="JavaScript" type="text/javascript">
<!-- 
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version
    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="752" height="396"'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<param name="movie" value="lrstudio-8.4.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />'
    + '<embed src="lrstudio-8.4.swf" quality="high" bgcolor="#ffffff" '
    + 'width="752" height="396" name="lrstudio-8.4" align="middle"'
    + 'play="true"'
    + 'loop="false"'
    + 'quality="high"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
    + '</embed>'
    + '</object>';
    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = 'Alternate HTML content should be placed here.'
      + 'This content requires the Macromedia Flash Player.'
       + '<a href=http://www.macromedia.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 Macromedia Flash Player.
      <a href="http://www.macromedia.com/go/getflash/">Get Flash</a>      
</noscript>
</body>
</html> 

DETECTION Of The Flash Player Version
Hi,
I need to detect which flash version is installed on user's computer ?
BUT I want this information from a flash movie, not from a javascript…

So, I need an action script able to do that…

please please please....
thx very much!

Detection IE Version From Flash Movie
I need detect version of Internet Explorer from flash movie. Is posible use a ActionScript sorce for it? Pleas help me how i can do it?

thanks Poly

www.poly-comp.com

What's The Best Way To Publish To HTML With Flash Version Detection?
Hi all,

What's the best way to publish Flash these days?

I've always used a sniffer with a page-redirect timeout, but I can't imagine that's very search-engine friendly.

Does anyone know what the latest de-facto standard is?

Many thanks,
Dave

Help On Adobe´s Flash Version Detection Code
Hi, guys!

I´m not sure if this is the right forum to post my doubt so... sorry if I am wrong.

Anyway, I am trying to implement adobe´s standard flash version detection code in my web-site. However, I am not experienced with Javascript so I am having a hard time editing it. The code actually works, given the fact that it displays a message and a link for flash plugin download when the user´s browser does not support the plugin version that I need. However, I want the code to redirect the user to another html page where I can put some graphics and try to ask the user to download the plugin in a more elegant way... Any help will be much appreciated!! Here is the code so far:


Code:
<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>index_bmp_vfinal</title>
<script language="JavaScript" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Revision of Flash required
var requiredRevision = 0;
// the version of javascript supported
var jsVersion = 1.0;
// -----------------------------------------------------------------------------
// -->
</script>
<script language="VBScript" type="text/vbscript">
<!-- // Visual basic helper required to detect Flash Player ActiveX control version information
Function VBGetSwfVer(i)
on error resume next
Dim swControl, swVersion
swVersion = 0

set swControl = CreateObject("ShockwaveFlash.ShockwaveFlash." + CStr(i))
if (IsObject(swControl)) then
swVersion = swControl.GetVariable("$version")
end if
VBGetSwfVer = swVersion
End Function
// -->
</script>
<script language="JavaScript1.1" type="text/javascript">
<!-- // Detect Client Browser type
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
jsVersion = 1.1;
// JavaScript helper required to detect Flash Player PlugIn version information
function JSGetSwfVer(i){
// NS/Opera version >= 3 check for Flash plugin in plugin array
if (navigator.plugins != null && navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
descArray = flashDescription.split(" ");
tempArrayMajor = descArray[2].split(".");
versionMajor = tempArrayMajor[0];
versionMinor = tempArrayMajor[1];
if ( descArray[3] != "" ) {
tempArrayMinor = descArray[3].split("r");
} else {
tempArrayMinor = descArray[4].split("r");
}
versionRevision = tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0;
flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
} else {
flashVer = -1;
}
}
// MSN/WebTV 2.6 supports Flash 4
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
// WebTV 2.5 supports Flash 3
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
// older WebTV supports Flash 2
else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
// Can't detect in all other cases
else {

flashVer = -1;
}
return flashVer;
}
// If called with no parameters this function returns a floating point value
// which should be the version of the Flash Player or 0.0
// ex: Flash Player 7r14 returns 7.14
// If called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
{
reqVer = parseFloat(reqMajorVer + "." + reqRevision);
// loop backwards through the versions until we find the newest version
for (i=25;i>0;i--) {
if (isIE && isWin && !isOpera) {
versionStr = VBGetSwfVer(i);
} else {
versionStr = JSGetSwfVer(i);
}
if (versionStr == -1 ) {
return false;
} else if (versionStr != 0) {
if(isIE && isWin && !isOpera) {
tempArray = versionStr.split(" ");
tempString = tempArray[1];
versionArray = tempString .split(",");
} else {
versionArray = versionStr.split(".");
}
versionMajor = versionArray[0];
versionMinor = versionArray[1];
versionRevision = versionArray[2];

versionString = versionMajor + "." + versionRevision; // 7.0r24 == 7.24
versionNum = parseFloat(versionString);
// is the major.revision >= requested major.revision AND the minor version >= requested minor
if ( (versionMajor > reqMajorVer) && (versionNum >= reqVer) ) {
return true;
} else {
return ((versionNum >= reqVer && versionMinor >= reqMinorVer) ? true : false );
}
}
}
return (reqVer ? false : 0.0);
}
// -->
</script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<script language="JavaScript" type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
+ 'width="760" height="450"'
+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="index_bmp_vfinal.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />'
+ '<embed src="index_bmp_vfinal.swf" quality="high" bgcolor="#ffffff" '
+ 'width="760" height="450" name="index_bmp_vfinal" align="middle"'
+ 'play="true"'
+ 'loop="false"'
+ 'quality="high"'
+ 'allowScriptAccess="sameDomain"'
+ 'type="application/x-shockwave-flash"'
+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
+ '</embed>'
+ '</object>';
document.write(oeTags); // embed the flash movie
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'Alternate HTML content should be placed here.'
+ 'This content requires the Macromedia Flash Player.'
+ '<a href=http://www.macromedia.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 Macromedia Flash Player.
<a href="http://www.macromedia.com/go/getflash/">Get Flash</a>
</noscript>
</body>
</html>

Thanks, guys!!!

Flash Detection Without Auto Download
Hello,

I have a problem. I need to make a flash detection with 4 parts.

1. Detect if the flash plugin is installed (BUT, no microsoft-auto-install-popup)
yes - redirect to (2)
no - reditect to (3)

2. Detect if version of flash is 6
yes - redirect to (4)
no - reditect to (3)

3. Page with flash download link
after installation/update - link to (4)

4. MAIN PAGE

- - - - - - - - - - - - - - - -

I have tested this, but on mac with IE there were problems. Do You have tips or have someone already done this? Thanks ...

Flash Version Detection And Click To Activate Combined?
Hi guys,

So far through the great help of this forum I have manged to get scripts to detect the user flash version and prompt to download etc, using javascript and visualbasic, I have also managed to get round the click to activate control by using swfobject and javacript....

My question is simple.....how do I combine them both or does somebody have a cript that they can point me to that does this, as alot of the stuff in the above mentioned is way over my head.

All I know is the both scipts use different ways to load the swy object into the html page so if i just use both surely they will conflict....

the click to activate uses the so.write...and uses swfobject javascript which has to be uploaded with my movie, and the detection uses all the build in pre determined stuff when I simple publish my movie and click the flash detect, and as far as I can see uses al;ot a variables and visual basic which I know nothing about. Sorry for rambling.....

Any all in one scripts out there...

cheers guys.

thanks in advance.

Flash Player Detection And Auto Redirection ?
Hi All,

Im setting up a new site for work, boss wants a flash site and an HTML site, I want to be able to find out if the user has the flash player installed and depending upon the answer, redirect appropriatley to the correct site URL.

Boss doesn't want a splash page with requirement, downloads etc...

How is this done...????

Cheers boys!!

How Do I Test Flash Detection On An Older Version Of Flash?
Hi

Ive got a Flash detection page which works fine in the sense that it recognises that I have Flash Player 7 and then plays the movie, but because i have Flasjy Player 7 installed i cant test that if i have Flash 6 player or earlier that it will take me to an upgrade page.

is there a way to uninstall Flash Player 7 and install an older version??

M

Flash Player Version Detection From Inside Flash.
Anyone have a good AS example to force people to update their Flash Player? The flash doesn't play in version previous to 8 anyways.

It's astounds me that, although I wrote my HTML right and the browsers all ask for updates (I checked them ALL) that the user doesn't always see and/or understand the update confirmation box...

I thought of giving people a link to the flash player update page at Macromedia if the getVersion() function returns something lower than "8,0,22,0".

Is that a good idea or does anyone here have a better idea?

B.R.

Version Detection
Im looking for a good way to detect what version the viewer has within flash, not in the html document. Does anyone know of a good site or script?

How Do I Lower The Detection Version?
Hello,

I have my Flash plug-in HTML detection set up but would like to lower the content version. The Flash detection kit provided me with a script set to content/version 6, major revision 0. and minor revision 79. I don't understand what major and minor revision numbers represent? Can I simply lower my content/version number to 5 or 4?

Thanks

FLA File Version Detection
Does anyone know how to detect an .FLA files version without opening it ?

I need to auto-check fla's before they are uploaded to a CVS system, but only version 8's can be submitted, otherwise I get a system crash.

jsfl script perhaps ? not my strongest area to be honest.

Regards,
Pablo

Bandwidth+Version Detection
Guys has anyone seen a flash bandwidth+version detection redirection script?

Or does anyone have a example.  I have found a javascript bandwidth detection, and I know flash ouputs a version detection redirection, but I have no idea how to put them together.  

I need to check for bandwidth and version at the same time and redirect accordingly.

----------------------------------------
Florida Web Design
Orlando Web Hosting
Florida Coldfusion Hosting

Moock Detection For Version 6.0.79.0
I have used the Macromedia Flash deployment kit for the last couple of years and have had no problems.

But now I need something that does not disable the back button (ie take the user back to the detrction page)

Moocks detection opens the flash in the same page, thus preserving the action of the back button.

The only problem is that I want to detect for version 6.0.79.0 of the plugin. I have tried entering this in the script but it does not seem to work.

Does anyone know who i can do this.

cheers for your help

Flashplayer Version Detection And Redirect
I just recently began working in flash and all my stuff is
built in the mx syntex,does this effect browsers with earlier than flashPlayer 6 and prevent them from viewing
my work properly,or is this simply an editing concern?If it
is a browser issue should I include some kind of detection and redirect snippit into my html doc Thank-You
site= www.webmutt.com/TeaRoster.html ,

Having A Problem With Macromedia's Version Detection Kit
Hello everyone, I'm new here!

I recently was searching for a version detection kit and spotted one from macromedia. I made some alterations though and have a problem. I'm posting the code:


Code:
//The required player version necessary to view the content.
contentVersion = 8;
trace("start");

//:TRICKY: This deprecated code style below is necessary to support Flash 4.
//This utility splits up the version string into usable parts.
//first check to see that the $version is there at all.
if (eval("$version") eq "") {
gotoAndPlay("DetectVer",2);
}
i = 1;
playerOS_str = "";
while (substring(eval("$version"), i, 1) ne " ") {
playerOS_str = playerOS_str + substring(eval("$version"), i, 1);
i++;
}
playerVersion = "";
i++;
while (substring(eval("$version"), i, 1) ne ",") {
playerVersion = playerVersion + Number(substring(eval("$version"), i, 1));
i++;
}

trace("playerVersion");
trace("contentVersion");

//go ahead with checking the player
if (playerVersion<contentVersion) {
trace("not compatible");
gotoAndPlay("DetectVer",2);
} else if (playerVersion>=contentVersion) {
trace("compatible");
gotoAndPlay("main",1);}

// This is the failsafe for when all the above is not understood by player version 3 or below.
// This must be the last operation in the detection scheme so do not move it up in the sequence
flash3test = 1;
if (flash3test<>1) {
//This condition will be called only in Flash versions < 4.0. Please edit the URL as you wish.
//Because of backward compatibility requirement, this address cannot be set with a variable.
gotoAndPlay("DetectVer",2);
}else{
gotoAndPlay("main",1);
}
I added up some trace commands for debugging.
Trace results are as follow:
start
7
8
compatible

Which according to me, means that the script succesfully manages to identify tha players version to 7, succesfully aknowledges the contentVersion to 8 but in the 2 if clauses where I compare the playersVerion with contentVersion it keeps persisting that 7>=8 and finally plays the scene intended for "Compatible Players"

Any help here? What am I doing wrong?

AS2 In-swf Version Detection That Is Javascript Independent
First off, yes I know how to do detects via javascript / html and using the detection kit, along with setting up jsfl files.

One thing that I didn't find / see was whether or not there (absolutely) was or wasn't a way of doing a check / sniff to see what version of the player a user has via actionscript. What I want to do is have my .swf detect if a user has v8 or v9. if they have 8 then they won't see a button and v9 sees it.

Is there no solution for checking the player version within a .swf via ActionScript?

Thanks!

Please Helpme With Auto-detection
Greetings:

I'd like to add some Actionscript commands in a projector file so that it detects if the latest FLASH plug-in is installed (Flash player 6, that is). If it isn't, I'd like it to install the plug-in automatically.

I'd appreciate any help.

Thanx a lot

Help With Index HTML Embed Code - Version Detection Etc.
Hi there
Really need some help with the index html page.
Someone redid my code to fix an active x issue but the original version detection/install code was lost so its not got any help for visitors and getting reports of site not working as a result.

Please check
www.thebrightgolfcompany.co.uk

Id be really grateful foir a quick fix with best code to add to index.

Please let me know what you advise to get the site working as well as possible - Thank you!!

Auto Detection For Swf Quality / Computer Power
is it possible to have a swf automatically detect if a user's PC is powerful enough to run the swf at high quality? and, if not, have the quality of the movie drop to medium?

Mail Forwarding In Flash?
Hey, I need some help. I have a flash website and on the contact section of my website, I have a submit form that users can fill out with their personal information and click submit....Problem is that when the users click submit, I want the email to be directly forwarded to my email instead of redirecting the user to Outlook Express. How can I do this in Flash? I have hosting through godaddy.com and they offer CGI scripts but I want an actionscript or some code I can put in Flash that will directly submit the info to my web based email. Any help is gladly welcome! Thanks in advance.

Mail Forwarding In Flash?
Hey, I need some help. I have a flash website and on the contact section of my website, I have a submit form that users can fill out with their personal information and click submit....Problem is that when the users click submit, I want the email to be directly forwarded to my email instead of redirecting the user to Outlook Express. How can I do this in Flash? I have hosting through godaddy.com and they offer CGI scripts but I want an actionscript or some code I can put in Flash that will directly submit the info to my web based email. Any help is gladly welcome! Thanks in advance.

Trial Version Flash 8 Prof, While Waiting For Purchased Version To Arrive
I am using Flash 8 Professional 30 day trial on my PC until the Flash 8 Professional program arrives in the snail mail, i am having trouble publishing my ads for use on our website with this trial version, is it b/c it is the trial version. my company ordered Flash 8 Prof for me, but I won't get it until next week.

How I Can Detect The Flash Version? My Movie Require The Last Version
Hi,

Since i use tranparency in my movie, i need the "surfer" to have the lastest version of flash(specially for netscape user).

Someone can tell me where to get a flash dectector for flash 6.
LAST VERSION! i had the 6.00.29.0 and it didnt work, the 6.00.85.9 work...SO i need to detect if the user got the lastest...

how i can detect that, and let the user dl the latest version automaticly?

Forwarding Flash Form To Your Email Using "Submit" Button
Hello. I am using Flash 8. Recently i have uploaded few templates examples, and one of them has a questionare form, but there is no destination assigned for Submit button. I was wandering what i need to put in action for this form to be sent to my Email when i push Submit button.
Thanks

Fast Forwarding
How would I write a script that tells a button to play every second or third frame of a movie clip timeline while that button is held down? I want this to work like a choppy fast forward button for some embedded video...can someone help?

Website Forwarding
Hello. I made a movie that plays for the intro to a web page. Now, it works great. The problem is that the movie just repeats itself until the user clicks the continue button or skip intro button. How do I make it where when the movie ends (insteads of repeats), forwards the page its on to another web page?

Robert Lee Craig
OKGuy1876@sbcglobal.net

Tab Reversing V. Forwarding
Tabbing in my application doesn't work, however if I "shift-tab" it tabs between the text fields and combo-boxes perfectly (only backwards).

Does anyone else have this problem? and if so, any work-arounds?

Copyright © 2005-08 www.BigResource.com, All rights reserved