Does anyone know how to create a simple preloader? Like just tells me what % it is at. Or just simply a "PLEASE WAIT WHILE LOADING" This is my code:
Code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#000000" text="#000000">
<script language="JavaScript">
var b;
b=Math.round(Math.random()*1);
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='18' height='18'>");
document.write("<param name=movie value=music.swf>");
document.write("<param name=quality value=high>");
document.write("<embed name = msc id= msc src='music.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type=application/x-shockwave-flash width=18 height=18>");
document.write("</embed> </object> ");  

/*if(b=="1"){
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='18' height='18'>");
document.write("<param name=movie value=music1.swf>");
document.write("<param name=quality value=high>");
document.write("<embed name = msc id= msc src='music1.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type=application/x-shockwave-flash width=18 height=18>");
document.write("</embed> </object> ");  
}*/
</script>
</body>
</html>