HTML-Dojo

 view release on metacpan or  search on metacpan

lib/HTML/Dojo/editions.pm  view on Meta::CPAN

if(dojo.flash.info.capable==false){
var _375=new dojo.flash.Embed(false);
_375.write(8);
}else{
if(dojo.flash.info.isVersionOrAbove(6,0,65)){
var _375=new dojo.flash.Embed(false);
_375.write(8,true);
_375.setVisible(true);
_375.center();
}else{
alert("This content requires a more recent version of the Macromedia "+" Flash Player.");
window.location.href=+dojo.flash.Embed.protocol()+"://www.macromedia.com/go/getflashplayer";
}
}
},_onInstallStatus:function(msg){
if(msg=="Download.Complete"){
dojo.flash._initialize();
}else{
if(msg=="Download.Cancelled"){
alert("This content requires a more recent version of the Macromedia "+" Flash Player.");
window.location.href=dojo.flash.Embed.protocol()+"://www.macromedia.com/go/getflashplayer";
}else{
if(msg=="Download.Failed"){
alert("There was an error downloading the Flash Player update. "+"Please try again later, or visit macromedia.com to download "+"the latest version of the Flash plugin.");
}
}
}
}};
dojo.flash.info=new dojo.flash.Info();
dojo.provide("dojo.lang.type");

lib/HTML/Dojo/src.pm  view on Meta::CPAN

		if (dojo.flash.info.capable == false) {
			var installObj = new dojo.flash.Embed(false);
			installObj.write(8);
		} else {
			if (dojo.flash.info.isVersionOrAbove(6, 0, 65)) {
				var installObj = new dojo.flash.Embed(false);
				installObj.write(8, true);
				installObj.setVisible(true);
				installObj.center();
			} else {
				alert("This content requires a more recent version of the Macromedia " + " Flash Player.");
				window.location.href = +dojo.flash.Embed.protocol() + "://www.macromedia.com/go/getflashplayer";
			}
		}
	}, _onInstallStatus:function (msg) {
		if (msg == "Download.Complete") {
			dojo.flash._initialize();
		} else {
			if (msg == "Download.Cancelled") {
				alert("This content requires a more recent version of the Macromedia " + " Flash Player.");
				window.location.href = dojo.flash.Embed.protocol() + "://www.macromedia.com/go/getflashplayer";
			} else {
				if (msg == "Download.Failed") {
					alert("There was an error downloading the Flash Player update. " + "Please try again later, or visit macromedia.com to download " + "the latest version of the Flash plugin.");
				}
			}
		}
	}};
	dojo.flash.info = new dojo.flash.Info();
}});

lib/HTML/Dojo/src.pm  view on Meta::CPAN

	if (dojo.flash.info.capable == false) {
		var installObj = new dojo.flash.Embed(false);
		installObj.write(8);
	} else {
		if (dojo.flash.info.isVersionOrAbove(6, 0, 65)) {
			var installObj = new dojo.flash.Embed(false);
			installObj.write(8, true);
			installObj.setVisible(true);
			installObj.center();
		} else {
			alert("This content requires a more recent version of the Macromedia " + " Flash Player.");
			window.location.href = +dojo.flash.Embed.protocol() + "://www.macromedia.com/go/getflashplayer";
		}
	}
}, _onInstallStatus:function (msg) {
	if (msg == "Download.Complete") {
		dojo.flash._initialize();
	} else {
		if (msg == "Download.Cancelled") {
			alert("This content requires a more recent version of the Macromedia " + " Flash Player.");
			window.location.href = dojo.flash.Embed.protocol() + "://www.macromedia.com/go/getflashplayer";
		} else {
			if (msg == "Download.Failed") {
				alert("There was an error downloading the Flash Player update. " + "Please try again later, or visit macromedia.com to download " + "the latest version of the Flash plugin.");
			}
		}
	}
}};
dojo.flash.info = new dojo.flash.Info();

lib/HTML/Dojo/src.pm  view on Meta::CPAN

	Licensed under the Academic Free License version 2.1 or above OR the
	modified BSD license. For more information on Dojo licensing, see:

		http://dojotoolkit.org/community/licensing.shtml
*/

/**
 * Based on the expressinstall.as class created by Geoff Stearns as part
 * of the FlashObject library.
 *
 * Use this file to invoke the Macromedia Flash Player Express Install functionality
 * This file is intended for use with the FlashObject embed script. You can download FlashObject 
 * and this file at the following URL: http://blog.deconcept.com/flashobject/
 *
 * Usage: 
 *          var ExpressInstall = new ExpressInstall();
 *          
 *          // test to see if install is needed:
 *          if (ExpressInstall.needsUpdate) { // returns true if update is needed
 *              ExpressInstall.init(); // starts the update
 *          }



( run in 0.506 second using v1.01-cache-2.11-cpan-49f99fa48dc )