[color=#FF0000][b]As usualy...
Delete this thread mod if it already posted by someone else

[/b][/color]

Q : What's about this Tutorial?
A : 1. This Tutorial show u how to Prevent FS Profile "Messed Up" because A flash plugins not installed on the user browser (cause u use flash)
2. Checking if Flash/shockwave Plugins already "installed or not" on the viewer browser.
3. This Tutorial show u how to Change Flash File with [b]image or gif[/b] file if flash plugins not installed
[b]This tutorial already posted in Friendstertalk Indonesia.. But i thought it'll be wiser if i posted here as well[/b]

[b]CREDIT : [color=#0000FF]Me[/color][/b] .........

[u][b]STEP :[/b][/u]
1. [b]Copy the code below and Paste it to the top of your external JS[/b]
[spoiler]var app = navigator.appName;
var mie = "Microsoft Internet Explorer";
function flashTerinstall() {
if (app!=mie) {
return navigator.plugins["Shockwave Flash"] != null;
} else if (window.ActiveXObject) {
try {
new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
return true;
} catch (onError) {
return false;
}
} else {
//Undefined
return false;
}
}[/spoiler]
[color=#0000ff][b]Optional Function[/b][/color]
1. Code for [b]Downloading Flash Plugins[/b] with confirmation alert message,
[b]Copy this code and paste to the bottom of ur external JS[/b]
[spoiler]//Download plugins
var aLink="http://www.adobe.com/go/getflashplayer/";
if (flashTerinstall()===false){
if (confirm("Shockwave Flash plugin not installed on your "+navigator.appName+"!"+'\n'+" If u wanna play Flash animation on your browser, you must install flash plugin first."+'\n\n'+"Download flash plugin now?")!= 0)
alert(aLink);
}[/spoiler]
2. [b]Code for replacing Flash File with image(jpg)/Gif file.[/b]
[b]Copy this code and paste to the bottom of ur external JS[/b]
[spoiler][b]//FUNCTION FOR REPLACING FLASH WITH IMAGE/GIF[/b]
function gantiFlash(flashLink,imgLink) {
if (flashTerinstall()===true) {
return flashLink;
}else{
return imgLink;
}
}[/spoiler]
[b]How To Use the function:[/b]
Ex: U Use [b]feruzz primary image replacer[/b]
[spoiler]//primary pic by Feruzz
if (!attachOnLoadHandler(function() { primaryImg();})) window.onload = function() { primaryImg();};
function primaryImg() {
PRIMARYIMAGE.init();
}
if (typeof PRIMARYIMAGE == "undefined") { PRIMARYIMAGE = {}; }
PRIMARYIMAGE = {
HTML: [], sibling: [],
init: function() {
this.HTML = document.createElement("DIV");
[b][color=#FF0000]this.HTML.innerHTML = [/color][color=#0000FF]"<img src='PRIMARY IMAGE HERE' />"[/color][color=#FF0000]; //<===== CHANGE THIS[/color][/b]
this.sibling = this.getModuleByClassName(/imgblock200/i)[0];
this.sibling.parentNode.replaceChild(this.HTML,this.sibling);
},
getModuleByClassName: function(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};[/spoiler]
[b]replace[/b] the [b]blue text[/b] so it'll look like this :
[spoiler][color=#FF0000]this.HTML.innerHTML = [/color][color=#0000FF]gantiFlash("LINK OF UR FLASH FILE","LINK OF UR IMAGE/GIF FILE")[/color][color=#FF0000]; //<===== CHANGE THIS[/color][/spoiler]
[b]EXAMPLE :[/b]
[spoiler]this.HTML.innerHTML = gantiFlash("<img src='http://i253.photobucket.com/albums/hh56/reshimahendra/[b]dra.swf[/b]' />","<img src='http://i253.photobucket.com/albums/hh56/reshimahendra/[b]dra.gif[/b]' />"); //<===== CHANGE THIS[/spoiler]
[b]THE FINAL OF FERUZZ PRIMARY IMAGE REPLACER[/b] should be like this :
[spoiler]//primary pic by Feruzz
if (!attachOnLoadHandler(function() { primaryImg();})) window.onload = function() { primaryImg();};
function primaryImg() {
PRIMARYIMAGE.init();
}
if (typeof PRIMARYIMAGE == "undefined") { PRIMARYIMAGE = {}; }
PRIMARYIMAGE = {
HTML: [], sibling: [],
init: function() {
this.HTML = document.createElement("DIV");
this.HTML.innerHTML = [color=#0000FF]gantiFlash("<img src='http://i253.photobucket.com/albums/hh56/reshimahendra/[b]dra.swf[/b]' />","<img src='http://i253.photobucket.com/albums/hh56/reshimahendra/[b]dra.gif[/b]' />"); [/color]//<===== CHANGE THIS
this.sibling = this.getModuleByClassName(/imgblock200/i)[0];
this.sibling.parentNode.replaceChild(this.HTML,this.sibling);
},
getModuleByClassName: function(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};[/spoiler]
[b]That's all.... hope it'll help[/b]