Frame 1
if (!flix_player/:started) {
Set("flix_player/:started", "1");
Set("flix_player/:playing", "1");
setProperty("flix_player/play_controls", _x , getProperty("flix_player/play_controls", _x) + "89");
setProperty("flix_player/play_controls", _y , getProperty("flix_player/play_controls", _y) + "277");
setProperty("flix_player/sound_controls", _y , getProperty("flix_player/sound_controls", _y) + "277");
setProperty("flix_player/video_scrub/progress_bar", _width , getProperty("flix_player/video_scrub/progress_bar", _width) + "179");
setProperty("flix_player/video_scrub/progress_bar", _x , getProperty("flix_player/video_scrub/progress_bar", _x) + "89");
setProperty("flix_player/video_scrub", _y , getProperty("flix_player/video_scrub", _y) + "277");
setProperty("flix_player/logo_1", _x , ("179" / "2") + getProperty("flix_player/logo_1", _x));
setProperty("flix_player/logo_1", _width , getProperty("flix_player/logo_1", _width) + "179");
setProperty("flix_player/logo_1", _y , getProperty("flix_player/logo_1", _y) + "277");
setProperty("flix_player/logo_2", _x , ("179" / "2") + getProperty("flix_player/logo_2", _x));
setProperty("flix_player/logo_2", _width , getProperty("flix_player/logo_2", _width) + "179");
setProperty("flix_player/logo_2", _y , getProperty("flix_player/logo_2", _y) + "277");
setProperty("flix_player/logo_3", _y , getProperty("flix_player/logo_3", _y) + "277");
setProperty("flix_player/logo_4", _x , getProperty("flix_player/logo_4", _x) + "179");
setProperty("flix_player/logo_4", _y , getProperty("flix_player/logo_4", _y) + "277");
setProperty("flix_player/logo_5", _x , getProperty("flix_player/logo_5", _x) + "89");
setProperty("flix_player/logo_5", _y , getProperty("flix_player/logo_5", _y) + "277");
tellTarget ("flix_player/video_scrub") {
gotoAndPlay (4);
};
}
frame_min_width = "450";
type = "FLIX_PLAYER_1";
name = "Flix Player D2 Drag";
frame_min_height = "200";
play_controls_hanchor = "none";
play_controls_vanchor = "bottom";
logo_1_hanchor = "left";
logo_1_vanchor = "bottom";
logo_2_hanchor = "left";
logo_2_vanchor = "bottom";
logo_3_hanchor = "left";
logo_3_vanchor = "bottom";
logo_4_hanchor = "right";
logo_4_vanchor = "bottom";
logo_5_hanchor = "none";
logo_5_vanchor = "bottom";
frame_1_anchor = "bottom";
logo_1_hstretch = "true";
logo_2_hstretch = "true";
logo_3_hstretch = "false";
logo_4_hstretch = "false";
logo_5_hstretch = "false";
frame_2_anchor = "bottom";
video_progress_hanchor = "none";
video_progress_vanchor = "bottom";
sound_controls_hanchor = "left";
sound_controls_vanchor = "bottom";
WFstrtTm = getTimer();
Frame 3
WFfps = 30;
WFbffrFctr = 1.10000002384186;
WFttlBts = eval (this).getBytesTotal();
WFttlFrms = eval (this)._totalframes;
WFcrrntFrm = eval (this)._currentframe;
WFlddBts = eval (this).getBytesLoaded();
WFlddFrms = eval (this)._framesloaded;
WFlftBts = WFttlBts - WFlddBts;
WFldTm = getTimer() - WFstrtTm;
WFspd = WFlddBts / WFldTm;
WFplyTm = WFlddFrms / WFfps;
WFlftLdTm = Math.round((((WFlftBts / 1024) / WFspd) * WFbffrFctr) - WFplyTm);
WFprcntLddOtpt = int((WFlddFrms / WFttlFrms) * 100) add "% Loaded";
if (0 >= WFlftLdTm) {
gotoAndPlay(_currentframe + "2");
}
Frame 4
prevFrame();
play();
Frame 6
WF_DONE = "0";
Frame 907
DONE = "1";
WF_DONE = "1";
stop();
tellTarget ("flix_player/play_controls/play_pause") {
gotoAndStop (2);
};
Symbol 14 Button
on (press) {
startDrag ("", false, (-getProperty(_parent.volume_bar, _width)) / 2, 0, getProperty(_parent.volume_bar, _width) / 2, 0);
}
on (release) {
stopDrag();
}
Instance of Symbol 12 MovieClip "volume_bar" in Symbol 18 MovieClip Frame 1
onClipEvent (load) {
the_sound = new Sound();
(_parent.volume_indicator);// not popped
(the_sound.getVolume() / 2)[_parent.volume_bar] = 8 - 25;
}
onClipEvent (enterFrame) {
the_sound = new Sound();
the_sound.setVolume(2 * (_parent.volume_indicator._x + (getProperty(_parent.volume_bar, _width) / 2)));
}
Symbol 25 MovieClip Frame 1
muting = "0";
stop();
Symbol 25 MovieClip Frame 2
muting = "1";
Symbol 25 MovieClip Frame 3
stopAllSounds();
gotoAndPlay (2);
Symbol 33 MovieClip Frame 1
Set("../../../flix_player/:playing", "1");
stop();
Symbol 33 MovieClip Frame 2
Set("../../../flix_player/:playing", "0");
Symbol 37 MovieClip Frame 1
pressing = "0";
Symbol 37 MovieClip Frame 3
if (pressing == "1") {
tellTarget ("../../..") {
prevFrame();
prevFrame();
prevFrame();
};
}
gotoAndPlay (2);
Symbol 41 MovieClip Frame 1
pressing = "0";
Symbol 41 MovieClip Frame 3
if (pressing == "1") {
tellTarget ("../../..") {
nextFrame();
nextFrame();
nextFrame();
};
}
gotoAndPlay (2);
Symbol 59 Button
on (press) {
startDrag ("", false, getProperty("../progress_indicator", _width) / "2", "0", (getProperty("../progress_bar", _width) - getProperty("../progress_indicator", _width)) + (getProperty("../progress_indicator", _width) / "2"), "0");
tellTarget ("..") {
gotoAndPlay (5);
};
}
on (release, releaseOutside) {
stopDrag();
tellTarget ("..") {
gotoAndStop (3);
stop();
};
if (../../../flix_player/:playing == "1") {
tellTarget ("..") {
play();
};
tellTarget ("../../..") {
play();
};
}
}
Symbol 61 MovieClip Frame 1
setProperty("progress_indicator", _x , getProperty("progress_indicator", _width) / "2");
stop();
Symbol 61 MovieClip Frame 4
drag_width = getProperty("progress_bar", _width) - getProperty("progress_indicator", _width);
pf = drag_width / (getProperty("../..", _totalframes) - "1");
val = (pf * (getProperty("../..", _currentframe) - "1")) + (getProperty("progress_indicator", _width) / "2");
setProperty("progress_indicator", _x , val);
gotoAndPlay (3);
Symbol 61 MovieClip Frame 7
new_frame = (getProperty("progress_indicator", _x) / getProperty("progress_bar", _width)) * getProperty("../..", _totalframes);
tellTarget ("../..") {
gotoAndStop(int(new_frame));
};
gotoAndPlay (5);
Symbol 61 MovieClip Frame 8
stop();
Symbol 65 Button
on (release) {
gotoAndStop (2);
tellTarget ("../../..") {
stop();
};
}
Symbol 66 Button
on (release) {
tellTarget ("../../..") {
play();
};
tellTarget ("../../video_scrub") {
play();
};
gotoAndPlay (1);
}
Symbol 67 Button
on (press) {
pressing = "1";
tellTarget ("../../video_scrub") {
play();
};
}
on (release, releaseOutside) {
pressing = "0";
if (../../../flix_player/:playing == "1") {
tellTarget ("../../..") {
stop();
play();
};
}
}
Symbol 68 Button
on (press) {
pressing = "1";
tellTarget ("../../video_scrub") {
play();
};
}
on (release, releaseOutside) {
pressing = "0";
if (../../../flix_player/:playing == "1") {
tellTarget ("../../..") {
stop();
};
tellTarget ("../../..") {
play();
};
}
}
Symbol 69 Button
on (release) {
tellTarget ("../../..") {
gotoAndStop (1);
if (flix_player/:playing == "1") {
play();
}
};
tellTarget ("../../video_scrub") {
play();
};
}
Symbol 70 Button
on (release) {
tellTarget ("../../..") {
gotoAndStop(_totalframes);
};
}
Symbol 71 Button
on (release) {
stopAllSounds();
gotoAndPlay (2);
}
Symbol 72 Button
on (release) {
tellTarget ("../../..") {
stop();
};
if (../../../flix_player/:playing == "1") {
tellTarget ("../../..") {
play();
};
}
gotoAndPlay (1);
}
Symbol 78 Button
on (release) {
getURL ("http://www.totallycrap.com", "_blank");
}