Instance of Symbol 72 MovieClip [FLV_Player] in Frame 1
//component parameters
onClipEvent (construct) {
__autoresize = false;
__buffer = 20;
__conn_msg = "CONNECTING TO MEDIA";
__controls = "on";
__loop_playback = false;
__pause_at_start = false;
__rewind = false;
__show_frame = true;
__speaker_icon = 0;
__video = "http://msent.vo.llnwd.net/o2-blue/jibjab/JibJab_205YearEnd.flv";
_button_over_color = {};
_button_over_color.ra = 82;
_button_over_color.rb = 0;
_button_over_color.ga = 80;
_button_over_color.gb = 0;
_button_over_color.ba = 73;
_button_over_color.bb = 0;
_button_over_color.aa = 100;
_button_over_color.ab = 0;
_knob_color = {};
_knob_color.ra = "";
_knob_color.rb = "";
_knob_color.ga = "";
_knob_color.gb = "";
_knob_color.ba = "";
_knob_color.bb = "";
_knob_color.aa = "";
_knob_color.ab = "";
_knob_over_color = {};
_knob_over_color.ra = 75;
_knob_over_color.rb = 0;
_knob_over_color.ga = 32;
_knob_over_color.gb = 0;
_knob_over_color.ba = -2;
_knob_over_color.bb = 0;
_knob_over_color.aa = 100;
_knob_over_color.ab = -20;
_playbar_color = {};
_playbar_color.ra = 52;
_playbar_color.rb = 0;
_playbar_color.ga = 50;
_playbar_color.gb = 0;
_playbar_color.ba = 45;
_playbar_color.bb = 0;
_playbar_color.aa = 100;
_playbar_color.ab = 0;
_skin_color = {};
_skin_color.ra = 92;
_skin_color.rb = 0;
_skin_color.ga = 90;
_skin_color.gb = 0;
_skin_color.ba = 85;
_skin_color.bb = 0;
_skin_color.aa = 100;
_skin_color.ab = 0;
_time_color = 10066329 /* 0x999999 */;
_time_shadow_color = 16777215 /* 0xFFFFFF */;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 2
stop();
Symbol 24 MovieClip Frame 3
stop();
Symbol 24 MovieClip Frame 4
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
stop();
Symbol 72 MovieClip [FLV_Player] Frame 1
#initclip 9
Object.registerClass("FLV_Player", FLV_Player);
#endinitclip
Symbol 80 Button
on (release) {
getURL ("http://www.appliedsilliness.com/", "_blank");
}
Symbol 81 Button
on (release) {
getURL ("http://wojahn.com/", "_blank");
}
Symbol 1 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip
{
var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled;
function UIObject () {
super();
constructObject();
}
function get width() {
return(_width);
}
function get height() {
return(_height);
}
function get left() {
return(_x);
}
function get x() {
return(_x);
}
function get top() {
return(_y);
}
function get y() {
return(_y);
}
function get right() {
return(_parent.width - (_x + width));
}
function get bottom() {
return(_parent.height - (_y + height));
}
function getMinHeight(Void) {
return(_minHeight);
}
function setMinHeight(h) {
_minHeight = h;
}
function get minHeight() {
return(getMinHeight());
}
function set minHeight(h) {
setMinHeight(h);
//return(minHeight);
}
function getMinWidth(Void) {
return(_minWidth);
}
function setMinWidth(w) {
_minWidth = w;
}
function get minWidth() {
return(getMinWidth());
}
function set minWidth(w) {
setMinWidth(w);
//return(minWidth);
}
function setVisible(x, noEvent) {
if (x != _visible) {
_visible = x;
if (noEvent != true) {
dispatchEvent({type:(x ? "reveal" : "hide")});
}
}
}
function get visible() {
return(_visible);
}
function set visible(x) {
setVisible(x, false);
//return(visible);
}
function get scaleX() {
return(_xscale);
}
function set scaleX(x) {
_xscale = x;
//return(scaleX);
}
function get scaleY() {
return(_yscale);
}
function set scaleY(y) {
_yscale = y;
//return(scaleY);
}
function doLater(obj, fn) {
if (methodTable == undefined) {
methodTable = new Array();
}
methodTable.push({obj:obj, fn:fn});
onEnterFrame = doLaterDispatcher;
}
function doLaterDispatcher(Void) {
delete onEnterFrame;
if (invalidateFlag) {
redraw();
}
var _local3 = methodTable;
methodTable = new Array();
if (_local3.length > 0) {
var _local2;
while (_local2 = _local3.shift() , _local2 != undefined) {
_local2.obj[_local2.fn]();
}
}
}
function cancelAllDoLaters(Void) {
delete onEnterFrame;
methodTable = new Array();
}
function invalidate(Void) {
invalidateFlag = true;
onEnterFrame = doLaterDispatcher;
}
function invalidateStyle(Void) {
invalidate();
}
function redraw(bAlways) {
if (invalidateFlag || (bAlways)) {
invalidateFlag = false;
var _local2;
for (_local2 in tfList) {
tfList[_local2].draw();
}
draw();
dispatchEvent({type:"draw"});
}
}
function draw(Void) {
}
function move(x, y, noEvent) {
var _local3 = _x;
var _local2 = _y;
_x = x;
_y = y;
if (noEvent != true) {
dispatchEvent({type:"move", oldX:_local3, oldY:_local2});
}
}
function setSize(w, h, noEvent) {
var _local3 = __width;
var _local2 = __height;
__width = w;
__height = h;
size();
if (noEvent != true) {
dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2});
}
}
function size(Void) {
_width = __width;
_height = __height;
}
function drawRect(x1, y1, x2, y2) {
moveTo(x1, y1);
lineTo(x2, y1);
lineTo(x2, y2);
lineTo(x1, y2);
lineTo(x1, y1);
}
function createLabel(name, depth, text) {
createTextField(name, depth, 0, 0, 0, 0);
var _local2 = this[name];
_local2._color = textColorList;
_local2._visible = false;
_local2.__text = text;
if (tfList == undefined) {
tfList = new Object();
}
tfList[name] = _local2;
_local2.invalidateStyle();
invalidate();
_local2.styleName = this;
return(_local2);
}
function createObject(linkageName, id, depth, initobj) {
return(attachMovie(linkageName, id, depth, initobj));
}
function createClassObject(className, id, depth, initobj) {
var _local3 = className.symbolName == undefined;
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var _local4 = mx.core.UIObject(createObject(className.symbolOwner.symbolName, id, depth, initobj));
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return(_local4);
}
function createEmptyObject(id, depth) {
return(createClassObject(mx.core.UIObject, id, depth));
}
function destroyObject(id) {
var _local2 = this[id];
if (_local2.getDepth() < 0) {
var _local4 = buildDepthTable();
var _local5 = findNextAvailableDepth(0, _local4, "up");
var _local3 = _local5;
_local2.swapDepths(_local3);
}
_local2.removeMovieClip();
delete this[id];
}
function getSkinIDName(tag) {
return(idNames[tag]);
}
function setSkin(tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return(createObject(linkageName, getSkinIDName(tag), tag, initObj));
}
function createSkin(tag) {
var _local2 = getSkinIDName(tag);
createEmptyObject(_local2, tag);
return(this[_local2]);
}
function createChildren(Void) {
}
function _createChildren(Void) {
createChildren();
childrenCreated = true;
}
function constructObject(Void) {
if (_name == undefined) {
return(undefined);
}
init();
_createChildren();
createAccessibilityImplementation();
_endInit();
if (validateNow) {
redraw(true);
} else {
invalidate();
}
}
function initFromClipParameters(Void) {
var _local4 = false;
var _local2;
for (_local2 in clipParameters) {
if (hasOwnProperty(_local2)) {
_local4 = true;
this["def_" + _local2] = this[_local2];
delete this[_local2];
}
}
if (_local4) {
for (_local2 in clipParameters) {
var _local3 = this["def_" + _local2];
if (_local3 != undefined) {
this[_local2] = _local3;
}
}
}
}
function init(Void) {
__width = _width;
__height = _height;
if (initProperties == undefined) {
initFromClipParameters();
} else {
initProperties();
}
if (_global.cascadingStyles == true) {
stylecache = new Object();
}
}
function getClassStyleDeclaration(Void) {
var _local4 = this;
var _local3 = className;
while (_local3 != undefined) {
if (ignoreClassStyleDeclaration[_local3] == undefined) {
if (_global.styles[_local3] != undefined) {
return(_global.styles[_local3]);
}
}
_local4 = _local4.__proto__;
_local3 = _local4.className;
}
}
function setColor(color) {
}
function __getTextFormat(tf, bAll) {
var _local8 = stylecache.tf;
if (_local8 != undefined) {
var _local3;
for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
tf[_local3] = _local8[_local3];
}
}
}
return(false);
}
var _local6 = false;
for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
var _local5 = _tf[_local3];
if (_local5 != undefined) {
tf[_local3] = _local5;
} else if ((_local3 == "font") && (fontFamily != undefined)) {
tf[_local3] = fontFamily;
} else if ((_local3 == "size") && (fontSize != undefined)) {
tf[_local3] = fontSize;
} else if ((_local3 == "color") && (color != undefined)) {
tf[_local3] = color;
} else if ((_local3 == "leftMargin") && (marginLeft != undefined)) {
tf[_local3] = marginLeft;
} else if ((_local3 == "rightMargin") && (marginRight != undefined)) {
tf[_local3] = marginRight;
} else if ((_local3 == "italic") && (fontStyle != undefined)) {
tf[_local3] = fontStyle == _local3;
} else if ((_local3 == "bold") && (fontWeight != undefined)) {
tf[_local3] = fontWeight == _local3;
} else if ((_local3 == "align") && (textAlign != undefined)) {
tf[_local3] = textAlign;
} else if ((_local3 == "indent") && (textIndent != undefined)) {
tf[_local3] = textIndent;
} else if ((_local3 == "underline") && (textDecoration != undefined)) {
tf[_local3] = textDecoration == _local3;
} else if ((_local3 == "embedFonts") && (embedFonts != undefined)) {
tf[_local3] = embedFonts;
} else {
_local6 = true;
}
}
}
}
if (_local6) {
var _local9 = styleName;
if (_local9 != undefined) {
if (typeof(_local9) != "string") {
_local6 = _local9.__getTextFormat(tf, true, this);
} else if (_global.styles[_local9] != undefined) {
_local6 = _global.styles[_local9].__getTextFormat(tf, true, this);
}
}
}
if (_local6) {
var _local10 = getClassStyleDeclaration();
if (_local10 != undefined) {
_local6 = _local10.__getTextFormat(tf, true, this);
}
}
if (_local6) {
if (_global.cascadingStyles) {
if (_parent != undefined) {
_local6 = _parent.__getTextFormat(tf, false);
}
}
}
if (_local6) {
_local6 = _global.style.__getTextFormat(tf, true, this);
}
return(_local6);
}
function _getTextFormat(Void) {
var _local2 = stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
__getTextFormat(_local2, true);
stylecache.tf = _local2;
if (enabled == false) {
var _local3 = getStyle("disabledColor");
_local2.color = _local3;
}
return(_local2);
}
function getStyleName(Void) {
var _local2 = styleName;
if (_local2 != undefined) {
if (typeof(_local2) != "string") {
return(_local2.getStyleName());
}
return(_local2);
}
if (_parent != undefined) {
return(_parent.getStyleName());
}
return(undefined);
}
function getStyle(styleProp) {
var _local3;
_global.getStyleCounter++;
if (this[styleProp] != undefined) {
return(this[styleProp]);
}
var _local6 = styleName;
if (_local6 != undefined) {
if (typeof(_local6) != "string") {
_local3 = _local6.getStyle(styleProp);
} else {
var _local7 = _global.styles[_local6];
_local3 = _local7.getStyle(styleProp);
}
}
if (_local3 != undefined) {
return(_local3);
}
var _local7 = getClassStyleDeclaration();
if (_local7 != undefined) {
_local3 = _local7[styleProp];
}
if (_local3 != undefined) {
return(_local3);
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) {
var _local5 = stylecache;
if (_local5 != undefined) {
if (_local5[styleProp] != undefined) {
return(_local5[styleProp]);
}
}
if (_parent != undefined) {
_local3 = _parent.getStyle(styleProp);
} else {
_local3 = _global.style[styleProp];
}
if (_local5 != undefined) {
_local5[styleProp] = _local3;
}
return(_local3);
}
}
if (_local3 == undefined) {
_local3 = _global.style[styleProp];
}
return(_local3);
}
static function mergeClipParameters(o, p) {
for (var _local3 in p) {
o[_local3] = p[_local3];
}
return(true);
}
static var symbolName = "UIObject";
static var symbolOwner = mx.core.UIObject;
static var version = "2.0.1.78";
static var textColorList = {color:1, disabledColor:1};
var invalidateFlag = false;
var lineWidth = 1;
var lineColor = 0;
var tabEnabled = false;
var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1};
}
Symbol 2 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject
{
var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled;
function UIComponent () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function setVisible(x, noEvent) {
super.setVisible(x, noEvent);
}
function enabledChanged(id, oldValue, newValue) {
setEnabled(newValue);
invalidate();
delete stylecache.tf;
return(newValue);
}
function setEnabled(enabled) {
invalidate();
}
function getFocus() {
var selFocus = Selection.getFocus();
return(((selFocus === null) ? null : (eval (selFocus))));
}
function setFocus() {
Selection.setFocus(this);
}
function getFocusManager() {
var _local2 = this;
while (_local2 != undefined) {
if (_local2.focusManager != undefined) {
return(_local2.focusManager);
}
_local2 = _local2._parent;
}
return(undefined);
}
function onKillFocus(newFocus) {
removeEventListener("keyDown", this);
removeEventListener("keyUp", this);
dispatchEvent({type:"focusOut"});
drawFocus(false);
}
function onSetFocus(oldFocus) {
addEventListener("keyDown", this);
addEventListener("keyUp", this);
dispatchEvent({type:"focusIn"});
if (getFocusManager().bDrawFocus != false) {
drawFocus(true);
}
}
function findFocusInChildren(o) {
if (o.focusTextField != undefined) {
return(o.focusTextField);
}
if (o.tabEnabled == true) {
return(o);
}
return(undefined);
}
function findFocusFromObject(o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return(undefined);
}
if (o._parent.tabEnabled == true) {
o = o._parent;
} else if (o._parent.tabChildren) {
o = findFocusInChildren(o._parent);
} else {
o = findFocusFromObject(o._parent);
}
}
return(o);
}
function pressFocus() {
var _local3 = findFocusFromObject(this);
var _local2 = getFocus();
if (_local3 != _local2) {
_local2.drawFocus(false);
if (getFocusManager().bDrawFocus != false) {
_local3.drawFocus(true);
}
}
}
function releaseFocus() {
var _local2 = findFocusFromObject(this);
if (_local2 != getFocus()) {
_local2.setFocus();
}
}
function isParent(o) {
while (o != undefined) {
if (o == this) {
return(true);
}
o = o._parent;
}
return(false);
}
function size() {
}
function init() {
super.init();
_xscale = 100;
_yscale = 100;
_focusrect = _global.useFocusRect == false;
watch("enabled", enabledChanged);
if (enabled == false) {
setEnabled(false);
}
}
function dispatchValueChangedEvent(value) {
dispatchEvent({type:"valueChanged", value:value});
}
static var symbolName = "UIComponent";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.1.78";
static var kStretch = 5000;
var focusEnabled = true;
var tabEnabled = true;
var origBorderStyles = {themeColor:16711680};
var clipParameters = {};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
}
Symbol 3 MovieClip [__Packages.FLV_Player] Frame 0
class FLV_Player extends mx.core.UIComponent
{
var parent_mc, _x, _y, video_object, video_sound, video_str, progress_drag_end_num, video_status, time_seek, time_seconds, precent_loaded, precent_buffered, player_width, invalidate, player_height, autoresize_bool, frame, controls_str, time_front_color, time_back_color, skin_color, volume_icon_color, button_over_color, playbar_color, knob_color, knob_over_color, buffer_num, loop_bool, autoplay_bool, autorewind_bool, connecting_msg_str, volume_drag_start_num, volume_drag_end_num, button_out_transform, button_over_transform, knob_out_transform, knob_over_transform, net_connection, net_stream, video_loaded, load_interval, load_helper_interval, dispatchEvent, play_interval, forward_interval, seek_interval, video_duration, rewind_interval;
function FLV_Player () {
super();
parent_mc = this;
parent_mc._x = Math.ceil(_x);
parent_mc._y = Math.ceil(_y);
video_object = parent_mc.video_mc;
video_sound = new Sound("_root");
video_sound.setVolume(100);
mx.events.EventDispatcher.initialize(this);
init_obj(video_str);
}
function get_parent_mc() {
return(parent_mc);
}
function set_progress_drag_end_num(n) {
progress_drag_end_num = n;
}
function get_progress_drag_start_num() {
return(progress_drag_start_num);
}
function get_progress_drag_end_num() {
return(progress_drag_end_num);
}
function get_video_status() {
return(video_status);
}
function set_video_status(bool) {
video_status = bool;
}
function get_time_seek() {
return(time_seek);
}
function set_time_seek(num) {
time_seek = num;
}
function get_time_seconds() {
return(time_seconds);
}
function get_precent_loaded() {
return(precent_loaded);
}
function get_precent_buffered() {
return(precent_buffered);
}
function set __width(w) {
player_width = Math.ceil(w);
invalidate();
//return(__width);
}
function get __width() {
return(player_width);
}
function set __height(h) {
player_height = Math.ceil(h);
invalidate();
//return(__height);
}
function get __height() {
return(player_height);
}
function set __autoresize(bool) {
autoresize_bool = bool;
invalidate();
//return(__autoresize);
}
function get __autoresize() {
return(autoresize_bool);
}
function set __show_frame(bool) {
frame = bool;
invalidate();
//return(__show_frame);
}
function get __show_frame() {
return(frame);
}
function set __controls(str) {
controls_str = str;
invalidate();
//return(__controls);
}
function get __controls() {
return(controls_str);
}
function set _time_color(n) {
time_front_color = n;
invalidate();
//return(_time_color);
}
function get _time_color() {
return(time_front_color);
}
function set _time_shadow_color(n) {
time_back_color = n;
invalidate();
//return(_time_shadow_color);
}
function get _time_shadow_color() {
return(time_back_color);
}
function set _skin_color(obj) {
skin_color = obj;
invalidate();
//return(_skin_color);
}
function get _skin_color() {
return(skin_color);
}
function set __speaker_icon(num) {
volume_icon_color = num;
invalidate();
//return(__speaker_icon);
}
function get __speaker_icon() {
return(volume_icon_color);
}
function set _button_over_color(obj) {
button_over_color = obj;
invalidate();
//return(_button_over_color);
}
function get _button_over_color() {
return(button_over_color);
}
function set _playbar_color(obj) {
playbar_color = obj;
invalidate();
//return(_playbar_color);
}
function get _playbar_color() {
return(playbar_color);
}
function set _knob_color(obj) {
knob_color = obj;
invalidate();
//return(_knob_color);
}
function get _knob_color() {
return(knob_color);
}
function set _knob_over_color(obj) {
knob_over_color = obj;
invalidate();
//return(_knob_over_color);
}
function get _knob_over_color() {
return(knob_over_color);
}
function set __video(str) {
video_str = str;
invalidate();
//return(__video);
}
function get __video() {
return(video_str);
}
function set __buffer(num) {
buffer_num = num;
invalidate();
//return(__buffer);
}
function get __buffer() {
return(buffer_num);
}
function set __loop_playback(bool) {
loop_bool = bool;
invalidate();
//return(__loop_playback);
}
function get __loop_playback() {
return(loop_bool);
}
function set __pause_at_start(bool) {
autoplay_bool = bool;
invalidate();
//return(__pause_at_start);
}
function get __pause_at_start() {
return(autoplay_bool);
}
function set __rewind(bool) {
autorewind_bool = bool;
invalidate();
//return(__rewind);
}
function get __rewind() {
return(autorewind_bool);
}
function set __conn_msg(str) {
connecting_msg_str = str;
invalidate();
//return(__conn_msg);
}
function get __conn_msg() {
return(connecting_msg_str);
}
function draw() {
get_parent_mc().time_1_txt.textColor = time_front_color;
get_parent_mc().time_txt.textColor = time_back_color;
get_parent_mc().bg_mc._width = player_width;
get_parent_mc().bg_mc._height = player_height;
progress_drag_end_num = player_width - 125;
load_flv(this);
volume_drag_start_num = player_width - 46;
volume_drag_end_num = player_width - 4;
set_volume(this);
init_volume();
if (frame) {
get_parent_mc().frame_mc._visible = true;
get_parent_mc().bg_mc._visible = true;
} else {
get_parent_mc().frame_mc._visible = false;
get_parent_mc().bg_mc._visible = false;
}
with (get_parent_mc()) {
frame_mc.lb_mc._height = player_height - 9;
frame_mc.lb_mc._y = 8;
frame_mc.lb_mc._x = 0;
frame_mc.lbc_mc._y = player_height - 1;
frame_mc.lbc_mc._x = 0;
frame_mc.bb_mc._y = player_height - 1;
frame_mc.bb_mc._x = 8;
frame_mc.bb_mc._width = player_width - 9;
frame_mc.rbc_mc._y = player_height - 1;
frame_mc.rbc_mc._x = player_width - 1;
frame_mc.rb_mc._x = player_width - 1;
frame_mc.rb_mc._y = 8;
frame_mc.rb_mc._height = player_height - 9;
frame_mc.rc_mc._x = player_width - 1;
frame_mc.rc_mc._y = 0;
frame_mc.tb_mc._x = 8;
frame_mc.tb_mc._y = 0;
frame_mc.tb_mc._width = player_width - 9;
video_mc._width = player_width;
video_mc._height = player_height;
volume_mask_mc._x = player_width - 74;
volume_mask_mc._y = player_height + 10;
volume_back_mc._x = player_width - 74;
volume_back_mc._y = player_height + 10;
speaker_mc._x = player_width - 69;
speaker_mc._y = player_height + 14;
volume_widget_mc._x = player_width - 4;
volume_widget_mc._y = player_height + 8;
volume_progress_mc._x = player_width - 49;
volume_progress_mc._y = player_height + 12;
volume_progress_mc._width = 49;
speaker_mc.gotoAndStop(4);
video_sound.setVolume(100);
connecting_mc._y = player_height - 15;
button_mc._x = -1;
button_mc._y = player_height + 10;
mask_front_mc._x = 27;
mask_front_mc._y = player_height + 9;
mask_back_mc._x = player_width - 122;
mask_back_mc._y = player_height + 10;
progress_back_mc._y = player_height + 10;
progress_back_mc._x = 29;
progress_back_mc._width = player_width - 149;
time_txt._x = mask_back_mc._x + 4;
time_txt._y = mask_back_mc._y + 1;
time_1_txt._x = mask_back_mc._x + 3;
time_1_txt._y = mask_back_mc._y;
progress_mc._y = player_height + 12;
progress_mc._x = 29;
loader_mc._y = player_height + 12;
loader_mc._x = 29;
widget_mc._y = player_height + 8;
widget_mc._x = 38;
}
if (controls_str == "off") {
with (get_parent_mc()) {
widget_mc._visible = false;
button_mc._visible = false;
mask_front_mc._visible = false;
mask_back_mc._visible = false;
time_txt._visible = false;
time_1_txt._visible = false;
progress_mc._visible = false;
loader_mc._visible = false;
progress_back_mc._visible = false;
speaker_mc._visible = false;
volume_widget_mc._visible = false;
volume_progress_mc._visible = false;
volume_mask_mc._visible = false;
volume_back_mc._visible = false;
}
} else if (controls_str == "autohide") {
with (get_parent_mc()) {
widget_mc._visible = false;
button_mc._visible = false;
mask_front_mc._visible = false;
mask_back_mc._visible = false;
time_txt._visible = false;
time_1_txt._visible = false;
progress_mc._visible = false;
loader_mc._visible = false;
progress_back_mc._visible = false;
speaker_mc._visible = false;
volume_widget_mc._visible = false;
volume_progress_mc._visible = false;
volume_mask_mc._visible = false;
volume_back_mc._visible = false;
}
dsp_controls();
}
for (var i in skin_color) {
if (typeof(skin_color[i]) == "number") {
var frame_color = new Color(get_parent_mc().frame_mc);
var msk_1_color = new Color(get_parent_mc().mask_front_mc);
var msk_2_color = new Color(get_parent_mc().mask_back_mc);
var msk_3_color = new Color(get_parent_mc().volume_mask_mc);
var bg_1_color = new Color(get_parent_mc().progress_back_mc);
var bg_2_color = new Color(get_parent_mc().volume_back_mc);
var btn_color = new Color(get_parent_mc().button_mc);
button_out_transform = new Object();
button_out_transform = myColorTransform;
var myColorTransform = new Object();
myColorTransform = skin_color;
frame_color.setTransform(myColorTransform);
msk_1_color.setTransform(myColorTransform);
msk_2_color.setTransform(myColorTransform);
msk_3_color.setTransform(myColorTransform);
bg_1_color.setTransform(myColorTransform);
bg_2_color.setTransform(myColorTransform);
btn_color.setTransform(myColorTransform);
continue;
}
button_out_transform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
}
for (var i in button_over_color) {
if (typeof(button_over_color[i]) == "number") {
button_over_transform = button_over_color;
continue;
}
button_over_transform = {ra:"80", rb:"0", ga:"80", gb:"0", ba:"80", bb:"0", aa:"80", ab:"0"};
}
var volume_color = new Color(get_parent_mc().speaker_mc);
volume_color.setRGB(volume_icon_color);
for (var i in playbar_color) {
if (typeof(playbar_color[i]) == "number") {
var pb_color = new Color(get_parent_mc().progress_mc);
var pb_1_color = new Color(get_parent_mc().volume_progress_mc);
var myColorTransform = new Object();
myColorTransform = playbar_color;
pb_color.setTransform(myColorTransform);
pb_1_color.setTransform(myColorTransform);
continue;
}
var pb_color = new Color(get_parent_mc().progress_mc);
var pb_1_color = new Color(get_parent_mc().volume_progress_mc);
var myColorTransform = {ra:"100", rb:"-144", ga:"100", gb:"-24", ba:"100", bb:"-172", aa:"100", ab:"0"};
pb_color.setTransform(myColorTransform);
pb_1_color.setTransform(myColorTransform);
}
for (var i in knob_color) {
if (typeof(knob_color[i]) == "number") {
var widget_color = new Color(get_parent_mc().widget_mc);
var widget_volume_color = new Color(get_parent_mc().volume_widget_mc);
var myColorTransform = new Object();
myColorTransform = knob_color;
widget_color.setTransform(myColorTransform);
widget_volume_color.setTransform(myColorTransform);
knob_out_transform = new Object();
knob_out_transform = knob_color;
continue;
}
knob_out_transform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
}
for (var i in knob_over_color) {
if (typeof(knob_over_color[i]) == "number") {
knob_over_transform = new Object();
knob_over_transform = knob_over_color;
continue;
}
knob_over_transform = {ra:"100", rb:"217", ga:"100", gb:"-42", ba:"100", bb:"-235", aa:"100", ab:"0"};
}
}
function video_controller() {
if (get_video_status()) {
get_parent_mc().button_mc.gotoAndStop(1);
pauseVideo();
set_video_status(false);
} else {
get_parent_mc().button_mc.gotoAndStop(2);
playVideo();
set_video_status(true);
}
}
function init_obj(url) {
dsp_message(this, connecting_msg_str);
net_connection = new NetConnection();
net_connection.connect(null);
net_stream = new NetStream(net_connection);
var _local2 = net_stream;
_local2.$obj = this;
video_loaded = false;
_local2.onMetaData = function (obj) {
if (this.$obj.autoplay_bool) {
this.$obj.dsp_message(this.$obj, "");
} else {
this.$obj.dsp_message(this.$obj, "BUFFERING VIDEO");
}
this.$obj.video_duration = obj.duration;
this.$obj.video_controller();
this.$obj.init_widget();
this.$obj.init_button();
if (this.$obj.video_duration <= this.buffer_num) {
this.net_stream.setBufferTime(this.$obj.video_duration);
}
};
_local2.onStatus = function (obj) {
if (obj.code == "NetStream.Play.Start") {
this.$obj.dispatchEvent({type:"start", target:this.$obj});
} else if (obj.code == "NetStream.Play.Stop") {
this.$obj.dispatchEvent({type:"stop", target:this.$obj});
} else if (obj.code == "NetStream.Buffer.Full") {
this.$obj.dispatchEvent({type:"buffer", target:this.$obj});
this.$obj.dsp_message(this.$obj, "");
}
};
net_stream.setBufferTime(buffer_num);
set_video_status(autoplay_bool);
video_object.attachVideo(net_stream);
net_stream.play(url);
load_interval = setInterval(load_flv, 100, this);
load_helper_interval = setInterval(load_flv_helper, 100, this);
}
function init_widget() {
get_parent_mc().widget_mc.onRollOver = function () {
var _local2 = new Color(this);
_local2.setTransform(this._parent.knob_over_transform);
};
get_parent_mc().widget_mc.onRollOut = function () {
var _local2 = new Color(this);
_local2.setTransform(this._parent.knob_out_transform);
};
get_parent_mc().widget_mc.onPress = function () {
clearInterval(this._parent.play_interval);
if (this._parent.video_loaded) {
this.startDrag(true, this._parent.get_progress_drag_start_num(), this._y, this._parent.get_progress_drag_end_num(), this._y);
} else {
this.startDrag(true, this._parent.get_progress_drag_start_num(), this._y, this._parent.loader_mc._width + this._parent.loader_mc._x, this._y);
}
this._parent.seek_interval = setInterval(this._parent.seekVideo, 10, this._parent);
var _local2 = new Object();
_local2.obj = this;
_local2.onMouseUp = function () {
this.obj.stopDrag();
this.obj.onRollOut();
clearInterval(this.obj._parent.seek_interval);
this.obj._parent.seekVideo(this.obj._parent);
if (this.obj._x >= this.obj._parent.get_progress_drag_end_num()) {
this.obj._parent.net_stream.seek(this.obj._parent.video_duration);
this.obj._parent.stopVideo();
this.obj._parent.rewindVideo();
} else if (this.obj._parent.get_video_status()) {
this.obj._parent.playVideo();
} else {
this.obj._parent.pauseVideo();
}
Mouse.removeListener(this);
};
Mouse.addListener(_local2);
};
}
function init_button() {
get_parent_mc().button_mc.onRelease = function () {
this._parent.video_controller();
};
get_parent_mc().button_mc.onRollOver = function () {
var _local2 = new Color(this);
_local2.setTransform(this._parent.button_over_transform);
};
get_parent_mc().button_mc.onRollOut = function () {
var _local2 = new Color(this);
_local2.setTransform(this._parent.button_out_transform);
};
}
function init_volume() {
get_parent_mc().volume_widget_mc.onRollOver = function () {
var _local2 = new Color(this);
_local2.setTransform(this._parent.knob_over_transform);
};
get_parent_mc().volume_widget_mc.onRollOut = function () {
var _local2 = new Color(this);
_local2.setTransform(this._parent.knob_out_transform);
};
get_parent_mc().volume_widget_mc.onPress = function () {
this.startDrag(false, this._parent.volume_drag_start_num, this._y, this._parent.volume_drag_end_num, this._y);
this._parent.volume_interval = setInterval(this._parent.set_volume, 20, this._parent);
var _local2 = new Object();
_local2.obj = this;
_local2.onMouseUp = function () {
this.obj.onRollOut();
this.obj.stopDrag();
clearInterval(this.obj._parent.volume_interval);
Mouse.removeListener(this);
};
Mouse.addListener(_local2);
};
}
function setVolume(vol) {
var _local2 = ((vol * 42) / 100) + get_parent_mc().volume_drag_start_num;
get_parent_mc().volume_widget_mc._x = Math.round(_local2);
set_volume(this);
}
function set_volume(obj) {
updateAfterEvent();
var _local3 = Math.round(((obj.volume_widget_mc._x - obj.volume_drag_start_num) * 100) / 42);
var _local1 = _local3;
if (_local1 < 10) {
obj.speaker_mc.gotoAndStop(1);
} else if ((_local1 > 10) && (_local1 < 60)) {
obj.speaker_mc.gotoAndStop(2);
} else if ((_local1 > 60) && (_local1 < 90)) {
obj.speaker_mc.gotoAndStop(3);
} else if (_local1 > 90) {
obj.speaker_mc.gotoAndStop(4);
}
obj.video_sound.setVolume(_local3);
obj.volume_progress_mc._width = (_local3 / 100) * 49;
}
function load_flv(obj) {
var _local5 = Math.round((obj.net_stream.bufferLength / obj.net_stream.bufferTime) * 100);
obj.precent_buffered = _local5;
obj.dispatchEvent({type:"buffer", target:this});
var _local4 = Math.round((obj.net_stream.bytesLoaded / obj.net_stream.bytesTotal) * 100);
obj.precent_loaded = _local4;
obj.dispatchEvent({type:"load", target:this});
if (Math.round(obj.net_stream.bytesLoaded) == Math.round(obj.net_stream.bytesTotal)) {
obj.video_loaded = true;
clearInterval(obj.load_interval);
}
var _local3 = Math.round((obj.net_stream.bytesLoaded / obj.net_stream.bytesTotal) * obj.progress_drag_end_num);
obj.video_loaded_num = _local3 + 5;
obj.loader_mc._width = (_local3 - obj.loader_mc._x) + 5;
}
function playVideo() {
dispatchEvent({type:"play", target:this});
get_parent_mc().button_mc.gotoAndStop(2);
net_stream.pause(false);
net_stream.play();
play_interval = setInterval(dsp_playing, 10, this);
}
function pauseVideo() {
dispatchEvent({type:"pause", target:this});
get_parent_mc().button_mc.gotoAndStop(1);
set_video_status(false);
net_stream.pause(true);
clearInterval(play_interval);
}
function stopVideo() {
dispatchEvent({type:"stop", target:this});
}
function clearVideo() {
net_stream.close();
}
function loadVideo(url) {
clearInterval(play_interval);
rewindVideo();
net_stream.close();
video_str = url;
init_obj(video_str);
}
function setMedia(url, str) {
clearInterval(play_interval);
rewindVideo();
net_stream.close();
video_str = url;
init_obj(video_str);
}
function play(url) {
clearInterval(play_interval);
rewindVideo();
net_stream.close();
video_str = url;
init_obj(video_str);
}
function stop() {
dispatchEvent({type:"stop", target:this});
pauseVideo();
}
function seekVideo(obj) {
updateAfterEvent();
set_time_seconds();
obj.net_stream.pause(true);
var _local4 = obj.get_progress_drag_end_num() - obj.get_progress_drag_start_num();
var _local7 = obj.widget_mc._x - obj.get_progress_drag_start_num();
var _local6 = _local7 / _local4;
var _local5 = _local6 * 100;
var _local3 = (_local5 * obj.video_duration) / 100;
obj.set_time_seek(_local3);
obj.net_stream.seek(_local3);
obj.dsp_time(obj, _local3);
obj.progress_mc._width = obj.widget_mc._x - obj.progress_mc._x;
obj.dispatchEvent({type:"time", target:this});
}
function rewindVideo() {
if (loop_bool) {
get_parent_mc().net_stream.pause(true);
get_parent_mc().net_stream.seek(0);
get_parent_mc().progress_mc._width = 0;
get_parent_mc().widget_mc._x = get_progress_drag_start_num();
dsp_time(this, 0);
playVideo();
} else if (autorewind_bool) {
dispatchEvent({type:"rewind", target:this});
get_parent_mc().net_stream.pause(true);
get_parent_mc().net_stream.seek(0);
get_parent_mc().progress_mc._width = 0;
get_parent_mc().widget_mc._x = get_progress_drag_start_num();
dsp_time(this, 0);
if (get_video_status()) {
pauseVideo();
}
} else {
dispatchEvent({type:"end", target:this});
pauseVideo();
}
}
function dsp_playing(obj) {
updateAfterEvent();
obj.set_time_seconds();
obj.dispatchEvent({type:"time", target:this});
var _local4 = (obj.net_stream.time / obj.video_duration) * 100;
var _local5 = obj.get_progress_drag_end_num() - obj.get_progress_drag_start_num();
var _local3 = Math.floor(((_local4 * _local5) / 100) + obj.get_progress_drag_start_num());
if (_local4 >= 99.9) {
obj.widget_mc._x = _local3;
obj.progress_mc._width = _local3 - obj.progress_mc._x;
obj.dsp_time(obj, obj.net_stream.time);
if (cnt > 10) {
obj.widget_mc._x = obj.get_progress_drag_end_num();
}
if (cnt >= 60) {
clearInterval(obj.play_interval);
obj.stopVideo();
obj.rewindVideo();
cnt = 0;
}
cnt = cnt + 1;
} else {
obj.widget_mc._x = Math.floor(_local3);
obj.progress_mc._width = _local3 - obj.progress_mc._x;
obj.dsp_time(obj, obj.net_stream.time);
}
}
function dsp_time(obj, num) {
var _local3 = num;
var _local2 = Math.floor(_local3 / 60);
var _local1 = Math.floor(_local3 % 60);
if (_local2 < 10) {
_local2 = "0" + _local2;
}
if (_local1 < 10) {
_local1 = "0" + _local1;
}
obj.time_txt.text = (_local2 + ":") + _local1;
}
function set_time_seconds() {
time_seconds = net_stream.time;
}
function dsp_controls() {
var controls_ML = new Object();
controls_ML.$obj = this;
controls_ML.onMouseMove = function () {
if ((((_root._xmouse > this.$obj.get_parent_mc()._x) && (_root._xmouse < (this.$obj.get_parent_mc()._x + this.$obj.get_parent_mc()._width))) && (_root._ymouse > this.$obj.get_parent_mc()._y)) && (_root._ymouse < (this.$obj.get_parent_mc()._y + this.$obj.get_parent_mc()._height))) {
with (this.$obj.get_parent_mc()) {
widget_mc._visible = true;
button_mc._visible = true;
mask_front_mc._visible = true;
mask_back_mc._visible = true;
time_txt._visible = true;
time_1_txt._visible = true;
progress_mc._visible = true;
loader_mc._visible = true;
progress_back_mc._visible = true;
speaker_mc._visible = true;
volume_widget_mc._visible = true;
volume_progress_mc._visible = true;
volume_mask_mc._visible = true;
volume_back_mc._visible = true;
}
} else {
with (this.$obj.get_parent_mc()) {
widget_mc._visible = false;
button_mc._visible = false;
mask_front_mc._visible = false;
mask_back_mc._visible = false;
time_txt._visible = false;
time_1_txt._visible = false;
progress_mc._visible = false;
loader_mc._visible = false;
progress_back_mc._visible = false;
speaker_mc._visible = false;
volume_widget_mc._visible = false;
volume_progress_mc._visible = false;
volume_mask_mc._visible = false;
volume_back_mc._visible = false;
}
}
};
Mouse.addListener(controls_ML);
}
function dsp_message(obj, str) {
obj.connecting_mc.message = str;
}
function forward_video(bool) {
if (bool) {
clearInterval(play_interval);
clearInterval(forward_interval);
clearInterval(seek_interval);
forward_interval = setInterval(forward_video_controller, 30, this);
seek_interval = setInterval(seekVideo, 30, this);
} else {
clearInterval(play_interval);
clearInterval(forward_interval);
clearInterval(seek_interval);
if (get_parent_mc().widget_mc._x >= get_progress_drag_end_num()) {
net_stream.seek(video_duration);
stopVideo();
rewindVideo();
} else if (get_video_status()) {
playVideo();
} else {
pauseVideo();
}
}
}
function forward_video_controller($obj) {
if ($obj.widget_mc._x >= $obj.get_progress_drag_end_num()) {
clearInterval($obj.forward_interval);
clearInterval($obj.seek_interval);
$obj.net_stream.seek($obj.video_duration);
$obj.stopVideo();
$obj.rewindVideo();
} else {
$obj.widget_mc._x = $obj.widget_mc._x + 1;
}
}
function rewind_video(bool) {
if (bool) {
clearInterval(play_interval);
clearInterval(rewind_interval);
clearInterval(seek_interval);
rewind_interval = setInterval(rewind_video_controller, 30, this);
seek_interval = setInterval(seekVideo, 30, this);
} else {
clearInterval(play_interval);
clearInterval(rewind_interval);
clearInterval(seek_interval);
if (get_parent_mc().widget_mc._x >= get_progress_drag_end_num()) {
net_stream.seek(video_duration);
stopVideo();
rewindVideo();
} else if (get_video_status()) {
playVideo();
} else {
pauseVideo();
}
}
}
function rewind_video_controller($obj) {
if ($obj.widget_mc._x <= $obj.get_progress_drag_start_num()) {
clearInterval($obj.rewind_interval);
clearInterval($obj.seek_interval);
$obj.net_stream.seek(0);
if ($obj.get_video_status()) {
$obj.playVideo();
} else {
$obj.pauseVideo();
}
} else {
$obj.widget_mc._x = $obj.widget_mc._x - 1;
}
}
function load_flv_helper(obj) {
if (obj.autoresize_bool) {
if ((obj.video_object.width != 0) && (obj.video_object.height != 0)) {
obj.set_size(obj, obj.video_object.width, obj.video_object.height);
clearInterval(obj.load_helper_interval);
}
}
}
function set_size(obj, w, h) {
if ((w != 0) || (h != 0)) {
obj.player_width = w;
obj.player_height = h;
obj.draw();
}
}
var className = "FLV_Player";
static var symbolOwner = FLV_Player;
static var symbolName = "FLV_Player";
var progress_drag_start_num = 38;
static var cnt = 0;
}
Symbol 73 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip
{
var _visible, _x, _y, _width, _height;
function SkinElement () {
super();
}
static function registerElement(name, className) {
Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className)));
_global.skinRegistry[name] = true;
}
function __set__visible(visible) {
_visible = visible;
}
function move(x, y) {
_x = x;
_y = y;
}
function setSize(w, h) {
_width = w;
_height = h;
}
}
Symbol 74 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles
{
function CSSTextStyles () {
}
static function addTextStyles(o, bColor) {
o.addProperty("textAlign", function () {
return(this._tf.align);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty("fontWeight", function () {
return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == "bold";
});
if (bColor) {
o.addProperty("color", function () {
return(this._tf.color);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty("fontFamily", function () {
return(this._tf.font);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty("textIndent", function () {
return(this._tf.indent);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty("fontStyle", function () {
return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == "italic";
});
o.addProperty("marginLeft", function () {
return(this._tf.leftMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty("marginRight", function () {
return(this._tf.rightMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty("fontSize", function () {
return(this._tf.size);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty("textDecoration", function () {
return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == "underline";
});
o.addProperty("embedFonts", function () {
return(this._tf.embedFonts);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
}
}
Symbol 75 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager
{
function StyleManager () {
}
static function registerInheritingStyle(styleName) {
inheritingStyles[styleName] = true;
}
static function isInheritingStyle(styleName) {
return(inheritingStyles[styleName] == true);
}
static function registerColorStyle(styleName) {
colorStyles[styleName] = true;
}
static function isColorStyle(styleName) {
return(colorStyles[styleName] == true);
}
static function registerColorName(colorName, colorValue) {
colorNames[colorName] = colorValue;
}
static function isColorName(colorName) {
return(colorNames[colorName] != undefined);
}
static function getColorName(colorName) {
return(colorNames[colorName]);
}
static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true};
static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true};
static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344};
static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false};
static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true};
}
Symbol 76 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration
{
var _tf;
function CSSStyleDeclaration () {
}
function __getTextFormat(tf, bAll) {
var _local5 = false;
if (_tf != undefined) {
var _local2;
for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) {
if (tf[_local2] == undefined) {
var _local3 = _tf[_local2];
if (_local3 != undefined) {
tf[_local2] = _local3;
} else {
_local5 = true;
}
}
}
}
} else {
_local5 = true;
}
return(_local5);
}
function getStyle(styleProp) {
var _local2 = this[styleProp];
var _local3 = mx.styles.StyleManager.getColorName(_local2);
return(((_local3 == undefined) ? (_local2) : (_local3)));
}
static function classConstruct() {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return(true);
}
static var classConstructed = classConstruct();
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
}
Symbol 77 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1};
}