  | |  | flash 7 version detection | flash 7 version detection
2004-02-14 - By Georg
Back hi is there a better way and simpler way to do flash
version sniffing , other than using macromedia kit or
flashMX2004 publish option.
I see 2 drawbacks in that method.
1- it does not allow for version 8 or higher and so
after a year one has to update the movies again.
2- it needs a gateway html page to direct user in 2
directions. It is a bad user experience as it disables
the back button of the browser.
Ideally the detection should be in main flash movie
itself where one can direct the user to some other
direction, only if the plugin is not there. this also
keeps the back button of the browser function.
I have been using this sniffer till now for version 6
player. and it is very simple to use. All I do is put
the script in consecutive keyframes.
Can someone suggest a similar way/ or add to this
script a good way to detect flash 7 version player?
//FRAME1. DETECTS FLASH 6
_global.myVariable = "himanshu "; {
if (myvariable == "himanshu ") {
getURL( "flash6.html ");
stop();
} else {
myVariable != "himanshu ";
play();
}
}
==================
//FRAME2. DETECTS FLASH 5
// if flash5 player is installed
with (_root) {
gotoAndPlay(4);
}
===================
//FRAME3. DETECTS FLASH 4
//if flash4 player is installed
getURL ( "flash4.html ");
stop ();
===============
//FRAME4 JUMPS TO FLASH 5 CONTENT
getURL( "flash5.html ");
stop();
==================
Thanks
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104239
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |