Frame 1 (1 B)
Instance of Symbol 12 MovieClip in Frame 1 (201 B)
//component parameters
onClipEvent (initialize) {
txtfont = "Verdana";
txtcolor = 0;
txtbold = true;
txtitalic = true;
txtsize = 12;
barcolor = 13434624 /* 0xCCFF00 */;
txtstyle = "Kilobytes";
}
Instance of Symbol 29 MovieClip in Frame 2 (44 B)
onClipEvent (load) {
this.gotoAndPlay(1);
}
Frame 81 (17 B)
stopAllSounds();
Frame 82 (17 B)
stopAllSounds();
Frame 83 (8 B)
stop();
Frame 84 (17 B)
stopAllSounds();
Frame 85 (8 B)
stop();
Symbol 12 MovieClip Frame 1 (282 B)
myformat = new textformat();
myformat.font = txtfont;
myformat.color = txtcolor;
myformat.bold = txtbold;
myformat.italic = txtitalic;
myformat.size = txtsize;
myformat.align = "center";
preloader._visible = false;
if (preloader.percentbytes >= 100) {
_root.play();
}
Symbol 12 MovieClip Frame 2 (81 B)
myColor = new Color(preloader.bar.barcolor);
myColor.setRGB(barcolor);
stop();
Instance of Symbol 11 MovieClip "preloader" in Symbol 12 MovieClip Frame 2 (1.3 KiB) ●
onClipEvent (load) {
_root.stop();
this.createTextField("textbox2", 1, -119.3, -39, 238.7, 78.1);
textbox2.variable = "txtdisplay";
textbox2.selectable = false;
}
onClipEvent (enterFrame) {
currentbytes = int(_root.getBytesLoaded() / 1000);
totalbytes = int(_root.getBytesTotal() / 1000);
percentbytes = int((currentbytes / totalbytes) * 100);
if (_parent.txtstyle == "Kilobytes") {
textbox2.text = ((("Loading " + currentbytes) + " Kb of ") + totalbytes) + " Kb";
textbox2.setTextFormat(_parent.myformat);
bar._xscale = percentbytes;
if (percentbytes >= 100) {
textbox2.text = "Loading Complete";
textbox2.setTextFormat(_parent.myformat);
_root.play();
}
}
if (_parent.txtstyle == "Percent") {
textbox2.text = ("Loading " + percentbytes) + "% ";
textbox2.setTextFormat(_parent.myformat);
bar._xscale = percentbytes;
if (percentbytes >= 100) {
textbox2.text = "Loading Complete";
textbox2.setTextFormat(_parent.myformat);
_root.play();
}
}
if (_parent.txtstyle == "Both") {
textbox2.text = ((("Loading " + percentbytes) + "% of ") + totalbytes) + " Kb";
textbox2.setTextFormat(_parent.myformat);
bar._xscale = percentbytes;
if (percentbytes >= 100) {
textbox2.text = "Loading Complete";
textbox2.setTextFormat(_parent.myformat);
_root.play();
}
}
}
Symbol 15 MovieClip Frame 10 (1 B)
Symbol 15 MovieClip Frame 17 (18 B)
stop();
stop();
Symbol 29 MovieClip Frame 82 (26 B)
stop();
gotoAndStop (1);
Symbol 35 Button (35 B)
on (release) {
gotoAndStop (85);
}
Symbol 38 Button (62 B)
on (release) {
getURL ("http://www.thesaad.com", "_blank");
}
Symbol 40 Button (35 B)
on (release) {
gotoAndStop (84);
}
Symbol 50 Button (70 B)
on (release) {
gotoAndStop (83);
}
on (release) {
stopAllSounds();
}
Symbol 57 Button (80 B)
on (release) {
_root.loadMovie("http://www.thesaad.com/prototype1score.swf");
}
Symbol 59 Button (68 B)
on (release) {
_root.loadMovie("http://www.thesaad.com/oil.swf");
}