Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
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)