Frame 1
Stage.scaleMode = "noScale";
Stage.align = "TL";
Stage.showMenu = false;
_global.loadMP3 = function (url) {
trace(">> LOADING TAPE:" + _global.temp_tape);
_global.current_tape = _global.temp_tape;
_global.paused = false;
_global.cassette_playing = true;
var _local3 = new Sound();
_local3.loadSound(url, true);
_global.globalSound = _local3;
_local3.setVolume(_global.volume);
trace(">> STARTING INTERVAL FUNCTIONS");
_global.stream_poll = setInterval(_global.checkProgress, 1000, _local3);
_global.position_poll = setInterval(_global.checkPosition, 1000, _local3);
_root.music_mc.stereo_mc.casette_buttons_mc.play_pause_mc.gotoAndStop("pause");
_root.music_mc.stereo_mc.casette_display_mc.gotoAndPlay(2);
_local3.onLoad = function () {
trace("Fully loaded: clearing stream checker");
clearInterval(_global.stream_poll);
};
_local3.onSoundComplete = function () {
_global.cassetteEject();
};
_root.music_mc.stereo_mc.casette_display_mc.title_txt.text = "streaming song data > stand by";
};
_global.checkProgress = function (soundObj) {
var _local4 = soundObj.getBytesLoaded();
var _local2 = soundObj.getBytesTotal();
var _local3 = Math.floor((_local4 / _local2) * 100);
_root.music_mc.stereo_mc.cassette_bar_mc.stream_mc.gotoAndStop(_local3);
};
_global.checkPosition = function (soundObj) {
if (soundObj.position != 0) {
_root.music_mc.stereo_mc.casette_display_mc.title_txt.text = (_global.globalSound.id3.TIT2 + " / ") + _global.globalSound.id3.TPE1;
if (_global.paused == false) {
_global.speakersOn();
}
var _local6 = Math.round(soundObj.id3.TLEN / 1000);
var _local3 = Math.round(soundObj.position / 1000);
_root.music_mc.stereo_mc.casette_display_mc.time_txt.text = _local3 + " secs";
var _local4 = Math.round(_local3 * (100 / _local6));
_root.music_mc.stereo_mc.cassette_bar_mc.progress_mc.gotoAndStop(_local4);
}
};
_global.cassetteEject = function () {
trace(">> EJECTING TAPE");
_global.paused = false;
_global.cassette_playing = false;
_global.globalSound.stop();
_global.speakersOff();
clearInterval(_global.position_poll);
clearInterval(_global.stream_poll);
_root.music_mc.stereo_mc.cassette_bar_mc.progress_mc.gotoAndStop("off");
_root.music_mc.stereo_mc.cassette_bar_mc.stream_mc.gotoAndStop("off");
_root.music_mc.tapes_mc[_global.current_tape].gotoAndPlay("eject");
_root.music_mc.stereo_mc.casette_display_mc.time_txt.text = "";
_root.music_mc.stereo_mc.casette_display_mc.title_txt.text = "";
_root.music_mc.stereo_mc.cassette_deck_mc.gotoAndStop("off");
_root.music_mc.stereo_mc.casette_display_mc.gotoAndStop("off");
_root.music_mc.stereo_mc.casette_buttons_mc.play_pause_mc.gotoAndStop("play");
};
_global.speakersOn = function () {
_root.music_mc.stereo_mc.stereo_back_mc.speakers_mc.gotoAndStop("on");
};
_global.speakersOff = function () {
_root.music_mc.stereo_mc.stereo_back_mc.speakers_mc.gotoAndStop("off");
};
_global.toolOn = function (message) {
_global.tool_text = message;
_root.tool_tip_holder_mc.gotoAndStop("on");
_root.tool_tip_holder_mc.tool_tip_mc.play();
};
_global.toolOff = function (message) {
_root.tool_tip_holder_mc.gotoAndStop("off");
};
_global.setTxt = function (client, project, copy) {
_root.content_mc.work_text_mc.work_text_content_mc.client_txt.text = client;
_root.content_mc.work_text_mc.work_text_content_mc.project_txt.text = project;
_root.content_mc.work_text_mc.work_text_content_mc.copy_txt.text = copy;
};
_global.showWorkTxt = function () {
_global.work_text_out = true;
_root.content_mc.work_text_mc.gotoAndPlay("on");
};
_global.hideWorkTxt = function () {
_global.work_text_out = false;
_root.content_mc.work_text_mc.gotoAndPlay("off");
};
_global.disableUI = function () {
_root.menu_mc.contact_btn.enabled = false;
_root.menu_mc.statement_btn.enabled = false;
_root.menu_mc.cv_btn.enabled = false;
_root.menu_mc.work_btn.enabled = false;
};
_global.enableUI = function () {
_root.menu_mc.contact_btn.enabled = true;
_root.menu_mc.statement_btn.enabled = true;
_root.menu_mc.cv_btn.enabled = true;
_root.menu_mc.work_btn.enabled = true;
};
startDrag (_root.tool_tip_holder_mc, true);
_global.work_text_out = false;
_global.work_out = false;
_global.cv_out = false;
_global.statement_out = false;
_global.contact_out = false;
_global.url = "none";
stop();
Symbol 8 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 15
stop();
Symbol 23 MovieClip Frame 1
var ratio = 0;
dragger.onPress = function () {
this.startDrag(true, -100, 0, 0, 0);
this.onEnterFrame = function () {
ratio = Math.round(this._x);
_global.volume = ratio + 100;
};
};
dragger.onRelease = function () {
this.stopDrag();
};
dragger.onReleaseOutside = function () {
this.stopDrag();
};
Symbol 26 Button
on (press) {
if (_global.cassette_playing == true) {
_global.cassetteEject(_global.current_tape);
}
}
Symbol 29 Button
on (press) {
if (_global.paused == true) {
_global.globalSound.start(_global.pause_point);
_global.paused = false;
_global.speakersOn();
this.gotoAndStop("pause");
_root.music_mc.tape_dance_mc.gotoAndPlay("come");
}
}
Symbol 32 Button
on (press) {
_global.pause_point = Math.round(_global.globalSound.position / 1000);
_global.paused = true;
_global.globalSound.stop();
_global.speakersOff();
this.gotoAndStop("play");
_root.music_mc.tape_dance_mc.gotoAndPlay("drop");
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 36 Button
on (press) {
if (_global.cassette_playing == true) {
_global.globalSound.start();
}
}
Symbol 38 MovieClip Frame 1
_global.volume = 75;
_global.cassette_playing = false;
_global.paused = false;
_global.current_tape = "none";
_global.temp_tape = "none";
this.cassette_bar_mc.progress_mc.gotoAndStop("off");
this.cassette_bar_mc.stream_mc.gotoAndStop("off");
Instance of Symbol 23 MovieClip "cassette_volume_mc" in Symbol 38 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.cassette_playing == true) {
_global.globalSound.setVolume(_global.volume);
}
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 45
this._x = -102.1;
this._y = 105;
Symbol 45 MovieClip Frame 60
gotoAndStop (1);
Symbol 45 MovieClip Frame 71
this._x = -102.1;
this._y = 105;
Symbol 45 MovieClip Frame 84
gotoAndPlay ("flat");
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 45
this._x = -100;
this._y = 94;
Symbol 46 MovieClip Frame 60
gotoAndStop (1);
Symbol 46 MovieClip Frame 71
this._x = -100;
this._y = 94;
Symbol 46 MovieClip Frame 84
gotoAndPlay ("flat");
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 45
this._x = -3;
this._y = 133.9;
Symbol 47 MovieClip Frame 60
gotoAndStop (1);
Symbol 47 MovieClip Frame 71
this._x = -3;
this._y = 133.9;
Symbol 47 MovieClip Frame 84
gotoAndPlay ("flat");
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 45
this._x = 87.2;
this._y = 148.8;
Symbol 48 MovieClip Frame 60
gotoAndStop (1);
Symbol 48 MovieClip Frame 71
this._x = 87.2;
this._y = 148.8;
Symbol 48 MovieClip Frame 84
gotoAndPlay ("flat");
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 45
this._x = 148.9;
this._y = 153.9;
Symbol 49 MovieClip Frame 60
gotoAndStop (1);
Symbol 49 MovieClip Frame 71
this._x = 148.9;
this._y = 153.9;
Symbol 49 MovieClip Frame 84
gotoAndPlay ("flat");
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 45
this._x = 15.5;
this._y = 158;
Symbol 50 MovieClip Frame 60
gotoAndStop (1);
Symbol 50 MovieClip Frame 71
this._x = 15.5;
this._y = 158;
Symbol 50 MovieClip Frame 84
gotoAndPlay ("flat");
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 45
this._x = 157;
this._y = 3;
Symbol 51 MovieClip Frame 60
gotoAndStop (1);
Symbol 51 MovieClip Frame 71
this._x = 157;
this._y = 3;
Symbol 51 MovieClip Frame 84
gotoAndPlay ("flat");
Instance of Symbol 45 MovieClip "tape_four_mc" in Symbol 52 MovieClip Frame 1
on (press) {
this.startDrag();
this.gotoAndStop("up");
_global.temp_tape = "tape_four_mc";
_global.toolOff();
}
on (release) {
this.stopDrag();
if ((eval (this._droptarget) == _level0.music_mc.invis_mc) && (_global.cassette_playing == false)) {
this.gotoAndStop("off");
this._parent._parent.stereo_mc.cassette_deck_mc.gotoAndStop("on");
_global.loadMP3("http://www.akirathedon.com/mp3/ATD%20VS%20Sage%20and%20The%20Verve%20-%20Slow%20Down%20Symphony.mp3");
} else {
this.gotoAndPlay("drop");
}
}
on (rollOver) {
startDrag (_root.tool_tip_holder_mc, true);
_global.toolOn("ATD VS Sage and The Verve - Slow Down Symphony.mp3");
}
on (releaseOutside) {
this.stopDrag();
this.gotoAndPlay("drop");
}
on (rollOut) {
_global.toolOff();
}
Instance of Symbol 46 MovieClip "tape_three_mc" in Symbol 52 MovieClip Frame 1
on (press) {
this.startDrag();
this.gotoAndStop("up");
_global.temp_tape = "tape_three_mc";
_global.toolOff();
}
on (release) {
this.stopDrag();
if ((eval (this._droptarget) == _level0.music_mc.invis_mc) && (_global.cassette_playing == false)) {
this.gotoAndStop("off");
this._parent._parent.stereo_mc.cassette_deck_mc.gotoAndStop("on");
_global.loadMP3("http://www.akirathedon.com/mp3/Daft%20Punk%20VS%20The%20Game,%2050%20&%20Usher%20-%20Robot%20Connection%20(Akira%20The%20Don%20Collision).mp3");
} else {
this.gotoAndPlay("drop");
}
}
on (rollOver) {
startDrag (_root.tool_tip_holder_mc, true);
_global.toolOn("Daft Punk VS The Game, 50, Jimmi & Usher - Robot Connection (Akira The Don Collision)");
}
on (releaseOutside) {
this.stopDrag();
this.gotoAndPlay("drop");
}
on (rollOut) {
_global.toolOff();
}
Instance of Symbol 47 MovieClip "tape_severn_mc" in Symbol 52 MovieClip Frame 1
on (press) {
this.startDrag();
this.gotoAndStop("up");
_global.temp_tape = "tape_severn_mc";
_global.toolOff();
}
on (release) {
this.stopDrag();
if ((eval (this._droptarget) == _level0.music_mc.invis_mc) && (_global.cassette_playing == false)) {
this.gotoAndStop("off");
this._parent._parent.stereo_mc.cassette_deck_mc.gotoAndStop("on");
_global.loadMP3("http://www.akirathedon.com/mp3/Mothboy%20VS%20Akira%20The%20Don%20&%20Cibelle%20-%20The%20Illustrated.mp3");
} else {
this.gotoAndPlay("drop");
}
}
on (rollOver) {
startDrag (_root.tool_tip_holder_mc, true);
_global.toolOn("Akira The Don - The Illustrated");
}
on (releaseOutside) {
this.stopDrag();
this.gotoAndPlay("drop");
}
on (rollOut) {
_global.toolOff();
}
Instance of Symbol 48 MovieClip "tape_five_mc" in Symbol 52 MovieClip Frame 1
on (press) {
this.startDrag();
this.gotoAndStop("up");
_global.temp_tape = "tape_five_mc";
_global.toolOff();
}
on (release) {
this.stopDrag();
if ((eval (this._droptarget) == _level0.music_mc.invis_mc) && (_global.cassette_playing == false)) {
this.gotoAndStop("off");
this._parent._parent.stereo_mc.cassette_deck_mc.gotoAndStop("on");
_global.loadMP3("http://www.akirathedon.com/mp3/Akira The Don feat Narstie and Bashy - Where We're From.mp3");
} else {
this.gotoAndPlay("drop");
}
}
on (rollOver) {
startDrag (_root.tool_tip_holder_mc, true);
_global.toolOn("Akira The Don - Where we're from");
}
on (releaseOutside) {
this.stopDrag();
this.gotoAndPlay("drop");
}
on (rollOut) {
_global.toolOff();
}
Instance of Symbol 49 MovieClip "tape_eight_mc" in Symbol 52 MovieClip Frame 1
on (press) {
this.startDrag();
this.gotoAndStop("up");
_global.temp_tape = "tape_eight_mc";
_global.toolOff();
}
on (release) {
this.stopDrag();
if ((eval (this._droptarget) == _level0.music_mc.invis_mc) && (_global.cassette_playing == false)) {
this.gotoAndStop("off");
this._parent._parent.stereo_mc.cassette_deck_mc.gotoAndStop("on");
_global.loadMP3("http://www.akirathedon.com/mp3/Akira%20The%20Don%20-%20Living%20In%20The%20Future.mp3");
} else {
this.gotoAndPlay("drop");
}
}
on (rollOver) {
startDrag (_root.tool_tip_holder_mc, true);
_global.toolOn("Akira The Don - Living In The Future");
}
on (releaseOutside) {
this.stopDrag();
this.gotoAndPlay("drop");
}
on (rollOut) {
_global.toolOff();
}
Instance of Symbol 50 MovieClip "tape_one_mc" in Symbol 52 MovieClip Frame 1
on (press) {
this.startDrag();
this.gotoAndStop("up");
_global.temp_tape = "tape_one_mc";
_global.toolOff();
}
on (release) {
this.stopDrag();
if ((eval (this._droptarget) == _level0.music_mc.invis_mc) && (_global.cassette_playing == false)) {
this.gotoAndStop("off");
this._parent._parent.stereo_mc.cassette_deck_mc.gotoAndStop("on");
_global.loadMP3("http://www.akirathedon.com/mp3/Akira%20The%20Don%20feat%20Nasty%20and%20Swiss%20-%20Dreams.mp3");
} else {
this.gotoAndPlay("drop");
}
}
on (rollOver) {
startDrag (_root.tool_tip_holder_mc, true);
_global.toolOn("Akira The Don feat. Narstie & Swiss - Dreams");
}
on (releaseOutside) {
this.stopDrag();
this.gotoAndPlay("drop");
}
on (rollOut) {
_global.toolOff();
}
Instance of Symbol 51 MovieClip "tape_six_mc" in Symbol 52 MovieClip Frame 1
on (press) {
this.startDrag();
this.gotoAndStop("up");
_global.temp_tape = "tape_six_mc";
_global.toolOff();
}
on (release) {
this.stopDrag();
if ((eval (this._droptarget) == _level0.music_mc.invis_mc) && (_global.cassette_playing == false)) {
this.gotoAndStop("off");
this._parent._parent.stereo_mc.cassette_deck_mc.gotoAndStop("on");
_global.loadMP3("http://www.akirathedon.com/mp3/Akira%20The%20Don%20feat.%20Swiss%20-%20Rick%20Witter.mp3");
} else {
this.gotoAndPlay("drop");
}
}
on (rollOver) {
startDrag (_root.tool_tip_holder_mc, true);
_global.toolOn("Akira The Don feat. Swiss - Rick Witter");
}
on (releaseOutside) {
this.stopDrag();
this.gotoAndPlay("drop");
}
on (rollOut) {
_global.toolOff();
}
Symbol 61 MovieClip Frame 25
this.text_txt.text = _global.tool_text;
stop();
Symbol 62 MovieClip Frame 1
stop();