Frame 1
title = "Revelations";
author = "AutoDevote";
link_text = "http://www.last.fm/music/AutoDevote";
link = "http://www.last.fm/music/AutoDevote";
Symbol 9 MovieClip [play] Frame 1
stop();
Symbol 9 MovieClip [play] Frame 2
stop();
Symbol 15 MovieClip Frame 1
function goToThisURL() {
getURL (linkURL, "_blank");
}
stop();
Stage.scaleMode = "noScale";
var linkURL = "http://onetrickwolf.deviantart.com";
var linkText = "Made with OTM Audio Converter";
_root.myMenu = new ContextMenu();
var copyright = new ContextMenuItem(linkText, goToThisURL);
_root.myMenu.customItems.push(copyright);
var copyright2 = new ContextMenuItem("Click here to make your own", goToThisURL);
_root.myMenu.customItems.push(copyright2);
_root.myMenu.hideBuiltInItems();
_root.menu = _root.myMenu;
ming_sound = new Sound();
ming_sound.attachSound("ming_sound");
ming_sound.onSoundComplete = function () {
play_bt.gotoAndPlay(1);
dur = 0;
playing = false;
};
dur = 0;
playing = false;
title.text = _root.title;
author.text = "by " + _root.author;
link.htmlText = ((("<TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"12\" COLOR=\"#3B5A4A\" LETTERSPACING=\"0\" KERNING=\"0\"><A HREF=\"" + _root.link) + "\" TARGET=\"_blank\">") + _root.link_text) + "</A></FONT></P></TEXTFORMAT>";
play_bt.onRelease = function () {
if (playing == false) {
ming_sound.start(dur / 1000, 0);
this.gotoAndPlay(2);
playing = true;
} else {
dur = ming_sound.position;
ming_sound.stop();
this.gotoAndPlay(1);
playing = false;
}
};
stop_bt.onRelease = function () {
if (playing == true) {
play_bt.gotoAndPlay(1);
ming_sound.stop();
dur = 0;
playing = false;
} else {
dur = 0;
}
};