[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Frame 1 (1.64 KiB) ●
if (!flix_player/:started) {
Set("flix_player/:started", "1");
Set("flix_player/:playing", "1");
setProperty("flix_player/play_controls", _y , getProperty("flix_player/play_controls", _y) + "93");
setProperty("flix_player/sound_controls", _x , getProperty("flix_player/sound_controls", _x) + "179");
setProperty("flix_player/sound_controls", _y , getProperty("flix_player/sound_controls", _y) + "93");
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) + "93");
setProperty("flix_player/logo_1", _x , getProperty("flix_player/logo_1", _x) + "89");
setProperty("flix_player/logo_1", _y , getProperty("flix_player/logo_1", _y) + "46");
setProperty("flix_player/logo_2", _width , getProperty("flix_player/logo_2", _width) + "179");
setProperty("flix_player/logo_2", _x , getProperty("flix_player/logo_2", _x) + "89");
setProperty("flix_player/logo_2", _y , getProperty("flix_player/logo_2", _y) + "93");
tellTarget ("flix_player/video_scrub") {
gotoAndPlay (4);
};
}
frame_min_width = "450";
frame_min_height = "250";
play_controls_hanchor = "left";
play_controls_vanchor = "bottom";
logo_2_hanchor = "bottom";
logo_2_vanchor = "bottom";
frame_1_anchor = "bottom";
logo_2_hstretch = "true";
video_progress_hanchor = "none";
video_progress_vanchor = "bottom";
sound_controls_hanchor = "right";
sound_controls_vanchor = "bottom";
dot = "bottom";
Frame 2 (183 B)
Set("/:percentLoaded", int((_framesloaded / _totalframes) * "100"));
WFprcntLddOtpt = /:percentLoaded add "% Loaded";
ifFrameLoaded (1591) {
gotoAndPlay(_currentframe + "2");
}
Frame 3 (22 B)
prevFrame();
play();
Frame 6 (68 B)
WF_DONE = "0";
if (getTimer() < "1000") {
gotoAndPlay (1);
}
Frame 1508 (199 B)
stop();
tellTarget ("flix_player/play_controls/play_pause") {
gotoAndStop (2);
};
tellTarget ("flix_player/play_controls/play_pause") {
gotoAndStop (2);
};
Set("flix_player/:playing", "0");
Frame 1509 (112 B)
tellTarget ("flix_player/play_controls/play_pause") {
gotoAndStop (2);
};
Set("flix_player/:playing", "0");
Symbol 16 Button (518 B)
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 18 MovieClip Frame 1 (98 B)
setProperty("progress_indicator", _x , getProperty("progress_indicator", _width) / "2");
stop();
Symbol 18 MovieClip Frame 4 (352 B)
drag_width = getProperty("progress_bar", _width) - getProperty("progress_indicator", _width);
pf = drag_width / (getProperty("../..", _totalframes) - "1");
Set("/:PF", getProperty("../..", _currentframe));
val = (pf * (/:PF - "1")) + (getProperty("progress_indicator", _width) / "2");
setProperty("progress_indicator", _x , val);
gotoAndPlay (3);
Symbol 18 MovieClip Frame 7 (205 B)
new_frame = (getProperty("progress_indicator", _x) / getProperty("progress_bar", _width)) * getProperty("../..", _totalframes);
tellTarget ("../..") {
gotoAndStop(int(new_frame));
};
gotoAndPlay (5);
Symbol 18 MovieClip Frame 8 (8 B)
stop();
Symbol 25 Button (167 B)
on (press) {
startDrag ("", false, (-getProperty(_parent.volume_bar, _width)) / 2, 0, getProperty(_parent.volume_bar, _width) / 2, 0);
}
on (release) {
stopDrag();
}
Instance of Symbol 22 MovieClip "volume_bar" in Symbol 29 MovieClip Frame 1 (410 B)
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();
Set("/:GWFFlixvolume", (100 * (_parent.volume_indicator._x / (getProperty(_parent.volume_bar, _width) - (2 / getProperty(_parent.volume_indicator, _width))))) + 50);
the_sound.setVolume(/:GWFFlixvolume);
}
Symbol 37 MovieClip Frame 1 (23 B)
muting = "0";
stop();
Symbol 37 MovieClip Frame 2 (14 B)
muting = "1";
Symbol 37 MovieClip Frame 3 (35 B)
stopAllSounds();
gotoAndPlay (2);
Symbol 47 MovieClip Frame 1 (52 B)
Set("../../../flix_player/:playing", "1");
stop();
Symbol 47 MovieClip Frame 2 (43 B)
Set("../../../flix_player/:playing", "0");
Symbol 50 Button (75 B)
on (release) {
gotoAndStop (2);
tellTarget ("../../..") {
stop();
};
}
Symbol 51 Button (125 B)
on (release) {
tellTarget ("../../..") {
play();
};
tellTarget ("../../video_scrub") {
play();
};
gotoAndPlay (1);
}
Symbol 52 Button (52 B)
on (release) {
stopAllSounds();
gotoAndPlay (2);
}
Symbol 53 Button (167 B)
on (release) {
tellTarget ("../../..") {
stop();
};
if (../../../flix_player/:playing == "1") {
tellTarget ("../../..") {
play();
};
}
gotoAndPlay (1);
}