Frame 1
stop();
Instance of Symbol 21 MovieClip "_DWPreloader" in Frame 1
onClipEvent (enterFrame) {
this._x = 0;
this.external_script = "";
if (!this.code_loaded) {
if (this.external_script.length) {
_parent._DWCodeSprite.loadMovie(this.external_script);
}
this.code_loaded = true;
} else {
var total = ((100 * _parent.getBytesTotal()) / 100);
var loaded = _parent.getBytesLoaded();
if (total < loaded) {
loaded = total;
}
if (this.external_script.length) {
loaded = loaded + _parent._DWCodeSprite.getBytesLoaded();
total = total + _parent._DWCodeSprite.getBytesTotal();
}
var progress = ((loaded * 100) / total);
if ((progress >= 100) && (!this._DW_disabled)) {
progress = 100;
if (this.external_script.length) {
_parent._DWCodeSprite._DWInitExternal();
_parent._ILMEventObject.prototype.__DW_root = _parent;
}
_parent.play();
}
_DW_Progress = progress;
_DW_ProgressBar._xscale = progress;
}
}
Frame 2
function _DWInit() {
_DW_2A = null;
_DW_2B = null;
_DW_2C = null;
_DW_2D = null;
_DW_2E = null;
_DW_2F = 400;
_DW_30 = new Array();
_DW_31 = null;
_DW_32 = null;
_DW_33 = null;
_DW_34 = 100;
_DW_waiting_for_page = 0;
_DW_bookmarks = new Array();
_DW_bookmarks.current_bookmark = 0;
_DW_bookmarks.multiple_bookmarks = 0;
_DW_bookmarks_cookie = null;
_DW_35 = null;
}
function _DWInitPublication(name, double_click, normal_cursor, busy_cursor, reset, reset_page, reset_chapter, exit_page, exit_chapter, exit_time, drcm, frame_rate, multiple_bookmarks) {
_DWInit();
_DW_2F = double_click;
_DW_frame_rate = frame_rate;
_DW_bookmarks.multiple_bookmarks = multiple_bookmarks;
_DW_publication = new Object();
_DW_publication._DW_name = name;
_DW_publication._DW_1 = 0;
_DW_publication._DW_2 = 1;
_DW_publication._DW_code = 0;
_DW_publication._DW_3 = "Publication";
_DW_publication._DW_object = new _ILMTreeObject(_DW_publication);
_DW_publication._DW_normal_cursor = normal_cursor;
_DW_publication._DW_busy_cursor = busy_cursor;
_DW_publication._DW_exit_page = exit_page;
_DW_publication._DW_exit_chapter = exit_chapter;
_DW_publication._DW_exit_time = exit_time;
_DW_publication._DW_page_variables = new Object();
_DW_publication._DW_0 = new Array();
if (drcm) {
fscommand ("showmenu", "false");
}
_DWLoadBookmarks();
}
function _DWLoadBookmarks() {
_DW_bookmarks_cookie = null;
getURL("FSCommand:LoadBookmarks", "");
var update = new Object();
update.Update = _DWLoadBookmarksUpdate;
_DWAddUpdate(update);
}
function _DWLoadBookmarksUpdate() {
if (_DW_bookmarks_cookie == null) {
return(undefined);
}
Print(("cookie loaded=" + _DW_bookmarks_cookie) + newline);
var bookmarks = new Array();
var unescaped_pages = unescape(_DW_bookmarks_cookie);
bookmarks = unescaped_pages.split(",");
var i = 0;
while (i < bookmarks.length) {
var bookmark = new Object();
i++;
bookmark.chapter_code = parseInt(bookmarks[i]);
i++;
bookmark.index = parseInt(bookmarks[i]);
bookmark.page_name = unescape(bookmarks[i]);
_root._DW_bookmarks.push(bookmark);
i++;
}
_DWRemoveUpdate(this);
}
function _DWCheckFlashVersion() {
var player_version = _root.$version;
var major_version = player_version.charAt(player_version.indexOf(" ") + 1);
if (major_version >= "5") {
play();
}
}
function _DWInitChapter(code, name, panel, first_index, total_pages) {
var chapter = new Object();
chapter._DW_name = name;
chapter._DW_1 = 0;
chapter._DW_2 = 2;
chapter._DW_code = code;
chapter._DW_3 = "Chapter";
chapter._DW_object = new _ILMTreeObject(chapter);
chapter._DW_8 = panel;
chapter._DW_6 = first_index;
chapter._DW_7 = total_pages;
_DW_publication._DW_0.push(chapter);
if (panel == (-2)) {
chapter._DW_8 = 0;
}
if (_DW_30[chapter._DW_8] == undefined) {
var view = new Object();
view._DW_8 = chapter._DW_8;
view._DW_9 = null;
view._DW_view = ((panel == (-2)) ? (this) : (this["Panel" + chapter._DW_8]));
view._DW_A = new Array();
view._DW_B = view._DW_A.push(((panel == (-2)) ? 2 : 1));
_DW_30[chapter._DW_8] = view;
}
chapter._DW_view = _DW_30[chapter._DW_8];
}
function _DWFindChapter(code) {
var chapters = _DW_publication._DW_0;
var i = 0;
while (i < chapters.length) {
if (chapters[i]._DW_code == code) {
return(chapters[i]);
}
i++;
}
}
function _DWInitPage(page, name, code, chapter_code, page_index, show_for, next_page, next_chapter, right, bottom) {
if (page._name.substring(0, 7) == "_DWNull") {
return(undefined);
}
page._DW_name = name;
page._DW_1 = 0;
page._DW_2 = 4;
page._DW_code = code;
page._DW_3 = "Page";
var obj = _DW_publication._DW_page_variables[code];
if (obj == undefined) {
obj = _DWGetNewScriptObject(page);
_DW_publication._DW_page_variables[code] = obj;
}
page._DW_object = obj;
page._DW_chapter = _DWFindChapter(chapter_code);
page._DW_C = page_index;
page._DW_D = show_for;
page._DW_E = next_page;
page._DW_F = next_chapter;
page._DW_10 = 0;
page._DW_11 = 0;
page._DW_12 = right;
page._DW_13 = bottom;
page._DW_delay = 0;
}
function _DWInitVariables(obj, variables) {
if (obj._DW_3 == undefined) {
return(undefined);
}
obj._DW_variables = variables;
_DWResetVariables(obj, false);
}
function _DWResetVariables(obj, force) {
var list = obj._DW_object;
var variables = obj._DW_variables;
var i = 0;
while (i < variables.length) {
if (((!variables[i + 2]) || (list[variables[i]] == undefined)) || (force)) {
list[variables[i]] = variables[i + 1];
}
i = i + 3;
}
_DWUpdateVariableCallbacks(null);
}
function _DWStartPage(page) {
if (page._DW_3 == undefined) {
return(undefined);
}
if (page._DW_delay) {
page._DW_start_delayed = true;
return(undefined);
}
_DWSetCursor(null);
_DW_9 = page;
page._DW_chapter._DW_view._DW_9 = page;
_DWTriggerEvents(page, "PreShow");
var transition = page._DW_show;
if (transition) {
page._visible = false;
page._DW_visible = 1;
_DWSyncTransition(true, page, transition);
transition._visible = true;
transition.gotoAndPlay(1);
} else {
_DWShowPageComplete(page);
}
}
function _DWShowPageComplete(page) {
var children = page._DW_0;
if (children) {
var i = 0;
while (i < children.length) {
_DWStartObject(children[i]);
i++;
}
}
var script_children = page._DW_script_children;
if (script_children) {
var i = 0;
while (i < script_children.length) {
script_children[i].StartObject();
i++;
}
}
if (page._DW_D != (-1)) {
var goto_action = new Object();
goto_action.CallAction = _DWActionGotoPage;
goto_action.chapter = page._DW_F;
goto_action.page = page._DW_E;
goto_action.time = getTimer() + page._DW_D;
_DWAddAction(goto_action);
}
_DWTriggerEvents(page, "OnShow");
_DWInitActions(page);
}
function _DWHidePageComplete(page) {
var view = page._DW_chapter._DW_view;
view._DW_view.gotoAndStop(view._DW_2D);
}
function _DWGetVariable(name, obj) {
var page = _DWGetPage(obj);
var vars = (page && (page._DW_object));
if ((vars != undefined) && (vars[name] != undefined)) {
return(vars[name]);
}
vars = _DW_publication._DW_object;
if ((vars != undefined) && (vars[name] != undefined)) {
return(vars[name]);
}
return("");
}
function _DWSetVariable(name, value, obj) {
var page = _DWGetPage(obj);
var vars = (page && (page._DW_object));
if ((vars != undefined) && (vars[name] != undefined)) {
vars[name] = value;
} else {
vars = _DW_publication._DW_object;
vars[name] = value;
}
_DWUpdateVariableCallbacks(name);
}
function _DWGetPage(obj) {
while (obj) {
if (obj._DW_3 == "Page") {
return(obj);
}
obj = obj._parent;
}
}
function _DWUpdateVariableCallbacks(name) {
var pos = _DW_31;
while (pos) {
var callback = pos;
pos = pos.callback_next;
callback.VariableChanged(name, this);
}
}
function _DWTick() {
if (_DW_waiting_for_page == 2) {
return(undefined);
}
if (_DW_waiting_for_page) {
if (_framesloaded >= _DW_waiting_for_page) {
this.gotoAndStop(_DW_waiting_for_page);
_DW_waiting_for_page = 0;
_DWSetCursor(null);
} else {
_DWDoUpdate();
_DWUpdateCursor();
return(undefined);
}
}
_DWDoActions();
_DWDoUpdate();
_DWDoActions();
_DWDoActions();
_DWCheckInputFocus();
_DWUpdateCursor();
}
function _DWMouseMove() {
if (_DW_waiting_for_page) {
return(undefined);
}
if (_DW_35) {
_DWMouseMoveEvent(_DW_35);
} else {
var i = 0;
while (i < _DW_30.length) {
_DWMouseMoveEvent(_DW_30[i]._DW_9);
i++;
}
}
}
function _DWMouseMoveEvent(obj) {
if (obj == null) {
return(undefined);
}
var children = (_DW_35 ? null : (obj._DW_0));
if (children) {
var i = (children.length - 1);
while (i >= 0) {
var child = children[i];
if ((child._DW_visible != 2) || (!child._DW_enabled)) {
} else {
_DWMouseMoveEvent(child);
var hit = child.hitTest(_root._xmouse, _root._ymouse, child._DW_transparent);
if (hit != child._DW_hit) {
child._DW_hit = hit;
if (hit) {
_DWEnter(child);
} else {
_DWLeave(child);
}
}
}
i--;
}
}
_DWTriggerEvents(obj, "OnMouseMove");
}
function _DWEnter(obj) {
with (obj) {
if (!_DW_enabled) {
return(undefined);
}
_DWSetAppearance(obj, (((obj._DW_3 == "Button") && (obj._DW_button_down)) ? 6 : 2));
_DW_state = "Over";
_DWTriggerEvents(obj, "OnMouseOver");
if (obj._DW_over_cursor) {
_DWSetCursor(obj._DW_over_cursor);
}
}
}
function _DWLeave(obj) {
with (obj) {
if (!_DW_enabled) {
return(undefined);
}
if ((obj._DW_3 == "Button") && (obj._DW_button_mode == 0)) {
_DWButtonUp(obj);
}
_DWSetAppearance(obj, (((obj._DW_3 == "Button") && (obj._DW_button_down)) ? 5 : 1));
_DW_state = "Normal";
_DWTriggerEvents(obj, "OnMouseOut");
_DW_auto_handle = -1;
if (obj._DW_over_cursor || (obj._DW_down_cursor)) {
_DWSetCursor(null);
}
}
}
function _DWMouseDown() {
if (_DW_waiting_for_page) {
return(undefined);
}
if (_DW_35) {
_DWMouseDownEvent(_DW_35);
} else {
var i = 0;
while (i < _DW_30.length) {
_DWMouseDownEvent(_DW_30[i]._DW_9);
i++;
}
}
}
function _DWMouseDownEvent(obj) {
var children = (_DW_35 ? null : (obj._DW_0));
var trigger = "OnLeftDown";
if (Key.isDown(16)) {
trigger = trigger + "S";
}
if (Key.isDown(17)) {
trigger = trigger + "C";
}
if (Key.isDown(18)) {
trigger = trigger + "A";
}
if (children) {
var i = (children.length - 1);
while (i >= 0) {
var child = children[i];
if (((child._DW_visible != 2) || (!child._DW_enabled)) || (!child.hitTest(_root._xmouse, _root._ymouse, child._DW_transparent))) {
} else {
if (!_DWMouseDownEvent(child)) {
return(false);
}
if (child._DW_3 == "Button") {
if (child._DW_button_mode == 0) {
if (!child._DW_button_down) {
_DWButtonDown(child);
}
} else if (child._DW_button_mode == 1) {
if (child._DW_button_down) {
child._DW_button_pressed = true;
} else {
_DWButtonDown(child);
}
} else if (!child._DW_button_down) {
var j = (children.length - 1);
while (j >= 0) {
if (j == i) {
} else {
var other_child = children[j];
if (((other_child._DW_3 == "Button") && (other_child._DW_button_mode == 2)) && (other_child._DW_button_group == child._DW_button_group)) {
_DWButtonUp(other_child);
}
}
j--;
}
_DWButtonDown(child);
}
} else {
_DWSetAppearance(child, 3);
}
child._DW_state = "Down";
if (child._DW_auto_repeat) {
var action = new Object();
action.CallAction = _DWActionAutoRepeat;
action.object = child;
action.time = getTimer() + 400;
action.handle = ++child._DW_auto_handle;
action.trigger = trigger;
_DWAddAction(action);
}
if (!child._DW_pass_clicks) {
return(false);
}
}
i--;
}
}
_DWTriggerEvents(obj, trigger);
if (obj._DW_down_cursor) {
_DWSetCursor(obj._DW_down_cursor);
}
return(true);
}
function _DWMouseUp() {
if (_DW_waiting_for_page) {
return(undefined);
}
var double_click;
if (_DW_2E && ((getTimer() - _DW_2E) < _DW_2F)) {
double_click = true;
_DW_2E = null;
} else {
double_click = false;
_DW_2E = getTimer();
}
if (_DW_35) {
_DWMouseUpEvent(_DW_35);
} else {
var i = 0;
while (i < _DW_30.length) {
_DWMouseUpEvent(_DW_30[i]._DW_9, double_click);
i++;
}
}
}
function _DWMouseUpEvent(obj, double_click) {
var children = (_DW_35 ? null : (obj._DW_0));
if (children) {
var i = (children.length - 1);
while (i >= 0) {
var child = children[i];
if (((child._DW_visible != 2) || (!child._DW_enabled)) || (!child.hitTest(_root._xmouse, _root._ymouse, child._DW_transparent))) {
} else {
if (!_DWMouseUpEvent(child, double_click)) {
return(false);
}
if (child._DW_state != "Down") {
} else {
if (child._DW_3 == "Button") {
if (child._DW_button_mode == 0) {
_DWButtonUp(child);
} else if (child._DW_button_mode == 1) {
if (child._DW_button_pressed) {
_DWButtonUp(child);
}
}
} else {
_DWSetAppearance(child, 2);
}
child._DW_state = "Over";
child._DW_auto_handle = -1;
if (!child._DW_pass_clicks) {
return(false);
}
}
}
i--;
}
}
if ((obj._DW_3 != "Page") && (obj._DW_state != "Down")) {
return(true);
}
var trigger = (double_click ? "OnLeftDouble" : "OnLeftClick");
if (Key.isDown(16)) {
trigger = trigger + "S";
}
if (Key.isDown(17)) {
trigger = trigger + "C";
}
if (Key.isDown(18)) {
trigger = trigger + "A";
}
_DWTriggerEvents(obj, trigger);
if (obj._DW_down_cursor) {
_DWSetCursor(obj._DW_over_cursor);
}
return(true);
}
function _DWKeyDown() {
if (_DW_waiting_for_page) {
return(undefined);
}
if (_DW_32 == null) {
var i = 0;
while (i < _DW_30.length) {
_DWKeyDownEvent(_DW_30[i]._DW_9);
i++;
}
} else {
_DWInputKey(false);
}
}
function _DWKeyUp() {
if (_DW_waiting_for_page) {
return(undefined);
}
if (_DW_32 != null) {
_DWInputKey(true);
}
}
function _DWInputKey(up) {
var keys = [8, 9, 13, 20, 33, 34, 35, 36, 37, 38, 39, 40, 45, 46];
var is_key = false;
var i = 0;
while (i < keys.length) {
if (Key.getCode() == keys[i]) {
is_key = true;
}
i++;
}
if (is_key == up) {
var obj = eval (_DW_32);
_DWKeyDownEvent(obj);
}
}
function _DWKeyDownEvent(obj) {
var children = obj._DW_0;
if (children) {
var i = (children.length - 1);
while (i >= 0) {
var child = children[i];
if ((child._DW_visible != 2) || (!child._DW_enabled)) {
} else {
_DWKeyDownEvent(child);
}
i--;
}
}
var trigger = ("Key" + new Number(Key.getCode()).toString(16));
if (Key.isDown(16)) {
trigger = trigger + "S";
}
if (Key.isDown(17)) {
trigger = trigger + "C";
}
_DWTriggerEvents(obj, trigger);
return(true);
}
function _DWButtonDown(button) {
if (!button._DW_button_down) {
_DWOffsetChildren(button, button._DW_button_offset);
}
button._DW_button_down = true;
button._DW_button_pressed = false;
_DWSetAppearance(button, ((button._DW_state == "Normal") ? 5 : 6));
_DWUpdateButtonVar(button);
}
function _DWButtonUp(button) {
if (button._DW_button_down) {
_DWOffsetChildren(button, -button._DW_button_offset);
}
button._DW_button_down = false;
button._DW_button_pressed = false;
_DWSetAppearance(button, ((button._DW_state == "Normal") ? 1 : 2));
_DWUpdateButtonVar(button);
}
function _DWUpdateButtonVar(button) {
if (button._DW_button_var.length) {
_DWSetVariable(button._DW_button_var, button._DW_button_down, button);
}
if ((button._DW_button_mode == 2) && (button._DW_button_down)) {
var g = button._DW_button_group;
button._DW_group_index = 0;
_DWGetRadioIndex(_DWGetPage(button), button);
_DWSetVariable(("RADIO_GROUP_" + g) + "_ID", button._DW_group_index, button);
_DWSetVariable(("RADIO_GROUP_" + g) + "_NAME", button._DW_name, button);
}
}
function _DWGetRadioIndex(obj, button) {
var children = obj._DW_0;
var i = 0;
while (i < children.length) {
var child = children[i];
if (child == button) {
return(true);
}
if ((child._DW_button_mode == 2) && (child._DW_button_group == button._DW_button_group)) {
button._DW_group_index++;
button._DW_group_index;
}
if (_DWGetRadioIndex(child, button)) {
return(true);
}
i++;
}
}
function _DWOffsetChildren(obj, offset) {
var children = obj._DW_0;
if (children) {
var i = (children.length - 1);
while (i >= 0) {
var child = children[i];
child._x = child._x + offset;
child._y = child._y + offset;
i--;
}
}
if (obj._DWIMAGE) {
obj._DWIMAGE._x = obj._DWIMAGE._x + offset;
obj._DWIMAGE._y = obj._DWIMAGE._y + offset;
}
}
function _DWAddUpdate(update) {
var pos = _DW_2B;
while (pos) {
if (pos == update) {
return(undefined);
}
pos = pos.update_next;
}
update.update_next = _DW_2B;
_DW_2B = update;
}
function _DWRemoveUpdate(update) {
if (_DW_2B == update) {
_DW_2B = _DW_2B.update_next;
return(undefined);
}
var pos = _DW_2B;
while (pos.update_next) {
if (pos.update_next == update) {
pos.update_next = pos.update_next.update_next;
return(undefined);
}
pos = pos.update_next;
}
}
function _DWDoUpdate() {
var pos = _DW_2B;
while (pos) {
var update = pos;
pos = pos.update_next;
update.Update(this);
}
}
function _DWAddAction(action) {
if ((!_DW_2A) || (action.time < _DW_2A.time)) {
action.next = _DW_2A;
_DW_2A = action;
} else {
var pos = _DW_2A;
while (pos.next && (pos.next.time < action.time)) {
pos = pos.next;
}
action.next = pos.next;
pos.next = action;
}
}
function _DWDoActions() {
var time = getTimer();
while (_DW_2A && (time >= _DW_2A.time)) {
var action = _DW_2A;
_DW_2A = _DW_2A.next;
action.CallAction(action);
}
}
function _DWActionShow(action) {
_DWShowObject(action.object);
}
function _DWActionHide(action) {
_DWHideObject(action.object);
}
function _DWActionGotoPage(action) {
_DWGotoPage(action.page, action.chapter);
}
function _DWActionAutoRepeat(action) {
var obj = action.object;
if (((action.handle == obj._DW_auto_handle) && (obj._DW_state == "Down")) && (!_DW_drag_object)) {
_DWTriggerEvents(obj, action.trigger);
action.time = getTimer() + 100;
_DWAddAction(action);
}
}
function _DWSetCursor(cursor) {
if (!cursor) {
cursor = _DW_publication._DW_normal_cursor;
}
if (_DW_33 != cursor) {
if (_DW_33) {
_DW_33._visible = false;
} else {
Mouse.hide();
}
_DW_33 = cursor;
if (_DW_33) {
_DW_33._visible = true;
} else {
Mouse.show();
}
}
}
function _DWUpdateCursor() {
if (_DW_33) {
_DW_33.x = _root._xmouse;
_DW_33.y = _root._ymouse;
this.globalToLocal(_DW_33);
_DW_33._x = _DW_33.x;
_DW_33._y = _DW_33.y;
}
}
function Print(text) {
var obj = this;
while (obj && (!obj._DWInitPublication)) {
obj = obj._parent;
}
obj._DWPRINTTEXT = obj._DWPRINTTEXT + text;
}
function _DWTriggerEvents(obj, trigger) {
var actions = obj._DWActions;
if (actions == undefined) {
return(undefined);
}
var i = 0;
while (i < actions.length) {
actions[i].Trigger(trigger);
i++;
}
}
function _DWInitActions(obj) {
_DWInitCloseActions(obj, false, obj);
}
function _DWCloseActions(obj) {
_DWInitCloseActions(obj, true, obj);
}
function _DWInitCloseActions(obj, close, host) {
var actions = obj._DWActions;
var i = 0;
while (i < actions.length) {
actions[i].InitClose(close, host);
i++;
}
var text = obj._DW_text;
if (!text) {
return(undefined);
}
var line_index = 0;
while (line_index < text.length) {
var line = text[line_index];
var item_index = 0;
while (item_index < line.length) {
if (line[item_index + 2] & 268435456) {
var tag_number = line[item_index + 3][1];
var actions = obj[("_DWLink" + tag_number) + "_DWActions"];
var i = 0;
while (i < actions.length) {
actions[i].InitClose(close, host);
i++;
}
}
item_index = item_index + 4;
}
line_index++;
}
}
function _DWGotoPage(index, chapter_code) {
var view = _DWFindChapter(chapter_code)._DW_view;
if ((view._DW_B + 1) < view._DW_A.length) {
view._DW_A.splice(view._DW_B + 1);
}
view._DW_B = view._DW_A.push(index) - 1;
return(_DWDoGotoPage(view, index, chapter_code));
}
function _DWShowPage(index, chapter_code) {
var view = _DWFindChapter(chapter_code)._DW_view;
if ((_framesloaded >= (index + 1)) || (_framesloaded == _totalframes)) {
if (view._DW_view._currentframe == (index + 1)) {
view._DW_view.gotoAndStop(index + 2);
}
view._DW_view.gotoAndStop(index + 1);
} else {
_DW_waiting_for_page = index + 1;
_DWSetCursor(_DW_publication._DW_busy_cursor);
}
}
function _DWDoGotoPage(view, index, chapter_code) {
var current_page = view._DW_9;
_DWStopObject(current_page);
_DW_2A = null;
_DWStopAllSounds(true, 0);
if (current_page._DW_hide) {
with (current_page) {
_visible = false;
_DW_visible = 3;
view._DW_2D = index + 1;
_DWSyncTransition(false, current_page, _DW_hide);
_DW_hide._visible = true;
_DW_hide.gotoAndPlay(1);
}
} else {
_DWShowPage(index, chapter_code);
}
return(0);
}
function _DWPlayStreamingSound(snd, start_frame, end_frame, fade_in_frame, fade_out_frame, sound_repeat, sound_volume, code, notify_finish, stop_page_exit, sound_channel, callback) {
snd._DW_sound_start_frame = start_frame + 3;
if (end_frame == (-1)) {
end_frame = snd._totalframes - 2;
}
snd._DW_sound_end_frame = (end_frame - start_frame) - 1;
snd._DW_sound_fade_in_frame = fade_in_frame;
snd._DW_sound_fade_out_frame = snd._DW_sound_end_frame - fade_out_frame;
snd._DW_sound_repeat = sound_repeat;
snd._DW_sound_volume = sound_volume;
snd._DW_code = code;
snd._DW_sound_stop_page_exit = stop_page_exit;
snd._DW_sound_repeat_index = 0;
snd._DW_sound_channel = sound_channel;
if (sound_channel != (-1)) {
_DWStopSoundChannel(snd, fade_out_frame, sound_channel, false);
}
if (!snd._DW_sound_updater) {
snd._DW_sound_updater = new Object();
snd._DW_sound_updater.snd = snd;
snd._DW_sound_updater.Update = _DWUpdateSound;
}
_DWAddUpdate(snd._DW_sound_updater);
snd._DW_sound_object = new Sound(snd);
snd._DW_sound_object.setVolume(((fade_in_frame == 0) ? (sound_volume) : 0));
snd._DW_sound_host = callback.host;
_DWSynchStartSound(snd);
snd.gotoAndPlay(snd._DW_sound_start_frame);
if (notify_finish) {
snd._DW_sound_callback = callback;
return(1);
}
snd._DW_sound_callback = null;
return(0);
}
function _DWUpdateSound() {
var snd = this.snd;
var current_frame = (snd._currentframe - snd._DW_sound_start_frame);
var volume = snd._DW_sound_volume;
if (current_frame < snd._DW_sound_fade_in_frame) {
if (snd._DW_sound_repeat_index == 0) {
volume = (current_frame * snd._DW_sound_volume) / snd._DW_sound_fade_in_frame;
}
} else if (current_frame < snd._DW_sound_fade_out_frame) {
volume = snd._DW_sound_volume;
} else if ((snd._DW_sound_repeat_index - snd._DW_sound_repeat) == 0) {
var fade_out_length = (snd._DW_sound_end_frame - snd._DW_sound_fade_out_frame);
if (0 < fade_out_length) {
volume = snd._DW_sound_volume - (((current_frame - snd._DW_sound_fade_out_frame) * snd._DW_sound_volume) / fade_out_length);
}
}
volume = volume * (_DW_34 / 100);
volume = Math.floor(volume + 0.5);
snd._DW_sound_object.setVolume(volume);
if (current_frame >= snd._DW_sound_end_frame) {
_DWSoundComplete(snd);
}
}
function _DWSoundComplete(snd) {
if ((snd._DW_sound_repeat == (-1)) || ((0 < snd._DW_sound_repeat) && (snd._DW_sound_repeat_index < snd._DW_sound_repeat))) {
snd.gotoAndPlay(snd._DW_sound_start_frame);
snd._DW_sound_repeat_index++;
snd._DW_sound_repeat_index;
} else {
_DWStopSound(snd, 0, true);
}
}
function _DWStopSound(snd, fade_out_frame, synch_end) {
var current_frame = (snd._currentframe - snd._DW_sound_start_frame);
var end_frame = (current_frame + fade_out_frame);
if (fade_out_frame && ((end_frame - fade_out_frame) < snd._DW_sound_end_frame)) {
snd._DW_sound_fade_in_frame = 0;
snd._DW_sound_fade_out_frame = current_frame;
snd._DW_sound_end_frame = end_frame;
snd._DW_sound_repeat_index = 0;
snd._DW_sound_repeat = 0;
} else {
snd.stop();
_DWRemoveUpdate(snd._DW_sound_updater);
if (synch_end) {
_DWSynchEndSound(snd);
}
if (snd._DW_sound_callback) {
var callback = snd._DW_sound_callback;
snd._DW_sound_callback = null;
callback.Notify(0);
}
}
return(0);
}
function _DWStopSoundChannel(snd, fade_out_frame, sound_channel, synch_end) {
var obj = _DW_2B;
while (obj) {
var sound = obj;
obj = obj.update_next;
if (sound.snd) {
if ((!page_exit) || (sound.snd._DW_sound_stop_page_exit)) {
if (sound.snd._DW_sound_channel == sound_channel) {
_DWStopSound(sound.snd, fade_out_frame, synch_end);
}
}
}
}
return(0);
}
function _DWStopAllSounds(page_exit, fade_out_frame) {
var obj = _DW_2B;
while (obj) {
var sound = obj;
obj = obj.update_next;
if (sound.snd) {
if ((!page_exit) || (sound.snd._DW_sound_stop_page_exit)) {
_DWStopSound(sound.snd, fade_out_frame, false);
}
}
}
return(0);
}
function _DWSynchStartSound(snd) {
var trigger = ((("SynchStart" + _DWFormatHex(2, 2)) + _DWFormatHex(0, 2)) + _DWFormatHex(snd._DW_code, 8));
var page = _DWGetPage(snd._DW_sound_host);
_DWSendTrigger(page, trigger);
}
function _DWSynchEndSound(snd) {
var trigger = ((("SynchEnd" + _DWFormatHex(2, 2)) + _DWFormatHex(0, 2)) + _DWFormatHex(snd._DW_code, 8));
var page = _DWGetPage(snd._DW_sound_host);
_DWSendTrigger(page, trigger);
}
function _DWEvent(triggers, actions) {
this.triggers = triggers;
this.actions = actions;
}
function _DW_39(trigger) {
var i = 0;
while (i < this.triggers.length) {
if ((this.triggers[i] == trigger) || ((typeof(trigger) == "object") && (trigger.Match(this.triggers[i])))) {
this.actions.Go(null);
return(undefined);
}
i++;
}
}
function _DW_3A(close, host) {
var i = 0;
while (i < this.triggers.length) {
if (this.triggers[i].InitClose) {
this.triggers[i].InitClose(close, host);
}
i++;
}
this.actions.InitClose(close, host);
}
function _DWActionList() {
this.length = arguments.length;
var i = 0;
while (i < this.length) {
this[i] = arguments[i];
i++;
}
this.state = 0;
}
function _DW_3B(callback) {
if (this.state != 0) {
return(0);
}
this.pos = 0;
this.callback = callback;
return(this.Run());
}
function _DW_3C() {
while (this.pos < this.length) {
this.state = this[this.pos].Go(this);
this.pos++;
this.pos;
if (this.state == 1) {
return(1);
}
}
this.state = 0;
return(0);
}
function _DW_3D(status) {
if (status == 0) {
if (this.Run() == 1) {
return(undefined);
}
if (this.callback) {
var callback = this.callback;
this.callback = null;
callback.Notify(0);
}
}
}
function _DW_3E(close, host) {
var i = 0;
while (i < this.length) {
this[i].InitClose(close, host);
i++;
}
}
function _DWMultiAction(func) {
this.Construct(arguments, 0);
}
function _DW_3F(args, num) {
this.func = args[0];
var i = 1;
while (num >= i) {
this["arg" + i] = args[i];
i++;
}
this.targets = new Array();
var i = (num + 1);
while (i < args.length) {
this.targets[(i - num) - 1] = args[i];
i++;
}
}
function _DW_40(callback) {
this.time = getTimer();
_DWAddAction(this);
this.callback = callback;
return(1);
}
function _DW_41(target) {
return(this.func(target, this));
}
function _DW_42() {
this.running = this.targets.length;
var i = 0;
while (i < this.targets.length) {
var result = this.Call(this.targets[i]);
if (result == 0) {
this.Notify(0);
}
i++;
}
}
function _DW_43(status) {
if (status == 0) {
if (((--this.running) == 0) && (this.callback)) {
var callback = this.callback;
this.callback = null;
callback.Notify(0);
}
}
}
function _DW_44(close, host) {
this.host = (close ? null : (host));
if (this.targets[0] == null) {
this.targets[0] = host;
}
}
function _DWMultiAction1() {
this.Construct(arguments, 1);
}
function _DW_45(target) {
return(this.func(target, this.arg1, this));
}
function _DWMultiAction10() {
this.Construct(arguments, 10);
}
function _DWMultiAction_Call10(target) {
return(this.func(target, this.arg1, this.arg2, this.arg3, this.arg4, this.arg5, this.arg6, this.arg7, this.arg8, this.arg9, this.arg10, this));
}
function _DWAnimateStop(obj, flags, callback) {
var controller = obj._DW_4;
if (controller) {
controller.Remove(flags);
}
return(0);
}
function _DWInitObject(obj, name, subclass, code, show_after, show_for, transparent, pass_clicks, auto_repeat, fix_page, left, top, right, bottom, depth) {
obj._DW_name = name;
obj._DW_1 = 1;
obj._DW_2 = subclass;
obj._DW_code = code;
obj._DW_3 = _DWGetGraphicalObjectType(subclass);
obj._DW_object = _DWGetNewScriptObject(obj);
obj._DW_show_after = show_after;
obj._DW_D = show_for;
obj._DW_transparent = transparent;
obj._DW_pass_clicks = pass_clicks;
obj._DW_auto_repeat = auto_repeat;
obj._DW_fix_page = fix_page;
obj._DW_10 = left;
obj._DW_11 = top;
obj._DW_12 = right;
obj._DW_13 = bottom;
obj._DW_depth = depth;
obj._DW_state = "Normal";
obj._DW_appearances = new Object();
obj._DW_appearances[1] = 2;
obj._DW_appearance_frame = 0;
obj._DW_enabled = true;
obj._DW_hit = false;
obj._DW_auto_handle = -1;
obj._DW_x = obj._x;
obj._DW_y = obj._y;
obj._DW_xscale = obj._xscale;
obj._DW_yscale = obj._yscale;
obj._DW_rotation = obj._rotation;
obj._DW_alpha = obj._alpha;
if (obj._parent._DW_0 == undefined) {
obj._parent._DW_0 = new Array();
}
obj._parent._DW_0.push(obj);
}
function _DWGetGraphicalObjectType(subclass) {
if (subclass == 1) {
return("Frame");
}
if (subclass == 2) {
return("Button");
}
if (subclass == 3) {
return("Image");
}
if (subclass == 4) {
return("Text");
}
if (subclass == 5) {
return("Video");
}
if (subclass == 8) {
return("Slideshow");
}
if (subclass == 10) {
return("Vector");
}
if (subclass == 11) {
return("Path");
}
if (subclass == 16) {
return("Scrollbar");
}
if (subclass == 17) {
return("Browser");
}
if (subclass == 18) {
return("Frameset");
}
if (subclass == 30) {
return("Frameset");
}
return("Unknown");
}
function _DWInitAppearances(obj) {
var apps = obj._DW_appearances;
var i = 1;
while (i < arguments.length) {
apps[arguments[i]] = arguments[i + 1];
i = i + 2;
}
}
function _DWInitTransition(obj, type, action, sprite) {
if (!action) {
obj["_DW_" + type] = sprite;
}
sprite.stop();
sprite._visible = false;
sprite._DW_object = obj;
sprite._DW_3 = type;
}
function _DWStartObject(obj) {
if (obj._DW_visible == undefined) {
_DWInitActions(obj);
}
obj._DW_visible = 0;
if (obj._parent._DW_3 == "Frameset") {
obj._visible = false;
} else if (obj._DW_show_after) {
obj._visible = false;
if (obj._DW_show_after != (-1)) {
var show_action = new Object();
show_action.CallAction = _DWActionShow;
show_action.object = obj;
show_action.time = getTimer() + obj._DW_show_after;
_DWAddAction(show_action);
}
} else {
_DWShowObject(obj);
}
}
function _DWSetAppearance(obj, appearance) {
var index = obj._DW_appearances[appearance];
if (index == undefined) {
index = 1;
}
if (obj._DW_appearance_frame != index) {
obj.gotoAndStop(obj._DW_appearance_frame + 1);
obj.gotoAndStop(index);
obj._DW_appearance_frame = index;
}
if (obj._DW_transparency) {
var transparency = obj._DW_transparency[appearance];
if (transparency != undefined) {
obj._alpha = transparency;
}
}
if (obj._DW_stretch) {
var stretch_x = obj._DW_stretch[2 * appearance];
var stretch_y = obj._DW_stretch[(2 * appearance) + 1];
if ((stretch_x != undefined) && (stretch_y != undefined)) {
obj._xscale = stretch_x;
obj._yscale = stretch_y;
}
}
if (obj._DW_sub_objects) {
var hide_unknown = obj._DW_sub_objects[2 * appearance];
var objects = obj._DW_sub_objects[(2 * appearance) + 1];
var children = obj._DW_0;
if (children) {
var i = 0;
while (i < children.length) {
var child = children[i];
var hide = hide_unknown;
var j = 0;
while (j < objects.length) {
if (objects[j] == child) {
hide = !objects[j + 1];
break;
}
j = j + 2;
}
if (hide) {
_DWHideObject(child);
} else {
_DWShowObject(child);
}
i++;
}
}
}
}
function _DWShowObject(obj, transition, callback, bodge) {
if (((obj._parent._DW_3 == "Frameset") && (callback)) && (!bodge)) {
return(_DWFrameSetShowFrame(obj, transition, callback));
}
if (typeof(transition) == "string") {
transition = obj._parent[obj._name + transition];
} else if (typeof(transition) != "object") {
transition = obj._DW_show;
if (!transition) {
transition = obj._DW_textshow;
}
}
if ((obj._DW_visible == 2) || (obj._DW_visible == 1)) {
return(0);
}
if (obj._DW_visible == 3) {
var transition = obj._DW_transition;
transition.stop();
transition._visible = false;
if (transition._DW_transition_callback) {
transition._DW_transition_callback.Notify(0);
}
obj._visible = true;
obj._DW_visible = 2;
return(0);
}
_DWTriggerEvents(obj, "PreShow");
obj._x = obj._DW_x;
obj._y = obj._DW_y;
obj._xscale = obj._DW_xscale;
obj._yscale = obj._DW_yscale;
obj._rotation = obj._DW_rotation;
obj._alpha = obj._DW_alpha;
if (obj._DW_fix_page) {
obj._x = obj._DW_x - (obj._parent._x - obj._parent._DW_x);
obj._y = obj._DW_y - (obj._parent._y - obj._parent._DW_y);
}
_DWSetAppearance(obj, (((obj._DW_3 == "Button") && (obj._DW_button_down)) ? 5 : 1));
if (transition) {
obj._DW_transition = transition;
obj._visible = false;
obj._DW_visible = 1;
_DWSyncTransition(true, obj, transition);
transition._visible = true;
transition.gotoAndPlay(1);
transition._DW_transition_callback = callback;
return(1);
}
obj._visible = true;
obj._DW_visible = 2;
_DWShowObjectComplete(obj);
return(0);
}
function _DWShowObjectComplete(obj) {
Print("_DWShowObjectComplete \n");
var children = obj._DW_0;
if (children) {
var i = 0;
while (i < children.length) {
_DWStartObject(children[i]);
i++;
}
}
var script_children = obj._DW_script_children;
if (script_children) {
var i = 0;
while (i < script_children.length) {
script_children[i].StartObject();
i++;
}
}
if (obj._DW_D != (-1)) {
var hide_action = new Object();
hide_action.CallAction = _DWActionHide;
hide_action.object = obj;
hide_action.time = getTimer() + obj._DW_D;
_DWAddAction(hide_action);
}
if (obj._DW_3 == "Text") {
if (obj._DW_set_focus) {
Selection.setFocus(obj + "._DWTEXT");
}
}
_DWTriggerEvents(obj, "OnShow");
if (i) {
_DWUpdateVariableCallbacks();
}
}
function _DWHideObject(obj, transition, callback, bodge) {
if (((obj._parent._DW_3 == "Frameset") && (callback)) && (!bodge)) {
return(0);
}
if (transition != undefined) {
if (obj._DW_texthide) {
var transition_in = transition;
transition = obj._DW_texthide;
transition._DW_ObjectHideTransition = obj._parent[obj._name + transition_in];
} else {
transition = obj._parent[obj._name + transition];
}
} else {
transition = obj._DW_texthide;
if (!transition) {
transition = obj._DW_hide;
} else {
transition._DW_ObjectHideTransition = null;
}
}
if ((obj._DW_visible == 0) || (obj._DW_visible == 3)) {
return(0);
}
if (obj._DW_visible == 1) {
var transition = obj._DW_transition;
transition.stop();
transition._visible = false;
if (transition._DW_transition_callback) {
transition._DW_transition_callback.Notify(0);
}
obj._visible = false;
obj._DW_visible = 0;
return(0);
}
_DWTriggerEvents(obj, "PreHide");
_DWAnimateStop(obj, 4294967295);
if (transition) {
obj._DW_transition = transition;
transition._x = obj._x;
transition._y = obj._y;
transition._xscale = obj._xscale;
transition._yscale = obj._yscale;
transition._rotation = obj._rotation;
transition._alpha = obj._alpha;
obj._visible = false;
obj._DW_visible = 3;
_DWSyncTransition(false, obj, transition);
transition._visible = true;
transition.gotoAndPlay(1);
transition._DW_transition_callback = callback;
return(1);
}
obj._visible = false;
obj._DW_visible = 0;
_DWHideObjectComplete(obj);
return(0);
}
function _DWHideObjectComplete(obj) {
_DWTriggerEvents(obj, "OnHide");
}
function _DWStopObject(obj) {
var controller = obj._DW_4;
if (controller) {
_DWRemoveUpdate(controller);
obj._DW_4 = null;
}
_DWCloseActions(obj);
var children = obj._DW_0;
if (children) {
var i = 0;
while (i < children.length) {
_DWStopObject(children[i]);
i++;
}
}
var script_children = obj._DW_script_children;
if (script_children) {
var i = 0;
while (i < script_children.length) {
script_children[i].StopObject();
i++;
}
}
}
function _DWTransitionComplete(transition) {
Print(("_DWTransitionComplete: " + transition._DW_3) + newline);
transition.stop();
transition._visible = false;
if ((transition._DW_3 == "show") || (transition._DW_3 == "textshow")) {
text_transition = null;
var obj = transition._DW_object;
if (transition._DW_3 == "show") {
text_transition = obj._DW_textshow;
Print(("text_transition = " + text_transition) + newline);
}
if (((transition._DW_3 == "show") && (!text_transition)) || (transition._DW_3 == "textshow")) {
obj._visible = true;
obj._DW_visible = 2;
if (obj._DW_3 == "Page") {
_DWShowPageComplete(obj);
} else {
_DWShowObjectComplete(obj);
}
if (transition._DW_transition_callback) {
transition._DW_transition_callback.Notify(0);
}
return;
}
obj._DW_transition = text_transition;
_DWSyncTransition(true, obj, text_transition);
text_transition._visible = true;
text_transition.gotoAndPlay(1);
text_transition._DW_transition_callback = transition._DW_transition_callback;
return(1);
}
if ((transition._DW_3 == "hide") || (transition._DW_3 == "texthide")) {
Print(("transition._DW_transition_callback = " + transition._DW_transition_callback) + newline);
var obj = transition._DW_object;
var obj_transition = null;
if (transition._DW_3 == "texthide") {
obj_transition = transition._DW_ObjectHideTransition;
if (!obj_transition) {
obj_transition = obj._DW_hide;
}
}
if ((transition._DW_3 == "hide") || (obj_transition == null)) {
obj._visible = false;
obj._DW_visible = 0;
if (obj._DW_3 == "Page") {
_DWHidePageComplete(obj);
} else {
_DWHideObjectComplete(obj);
}
Print(("transition._DW_transition_callback = " + transition._DW_transition_callback) + newline);
if (transition._DW_transition_callback) {
transition._DW_transition_callback.Notify(0);
}
} else {
obj._DW_transition = obj_transition;
_DWSyncTransition(false, obj, obj_transition);
obj_transition._visible = true;
obj_transition.gotoAndPlay(1);
obj_transition._DW_transition_callback = transition._DW_transition_callback;
return(1);
}
}
}
function _DWSyncTransition(show, obj, transition) {
if (typeof(transition) == "object") {
var children = obj._DW_0;
if (children && (show)) {
var i = 0;
while (i < children.length) {
var child = children[i];
child._visible = !(child._DW_show || (child._DW_show_after));
_DWSyncTransition(show, child, transition);
i++;
}
}
return(undefined);
}
var j = 0;
var trans_obj;
while (true) {
j++;
var trans_obj = transition["_DWNull" + j];
if (!trans_obj) {
return;
}
_DWSyncTransitionChildren(show, obj, trans_obj);
}
}
function _DWSyncTransitionChildren(show, obj, transition) {
var children = obj._DW_0;
if (children) {
var i = 0;
while (i < children.length) {
var child = children[i];
var trans_child = transition[child._name];
if (child._DW_show) {
transition[child._DW_show._name]._visible = false;
}
if (child._DW_hide) {
transition[child._DW_hide._name]._visible = false;
}
if (show) {
trans_child._visible = !(child._DW_show || (child._DW_show_after));
} else {
trans_child._visible = child._visible;
trans_child._x = child._x;
trans_child._y = child._y;
trans_child._xscale = child._xscale;
trans_child._yscale = child._yscale;
trans_child._rotation = child._rotation;
trans_child._alpha = child._alpha;
}
_DWSyncTransitionChildren(show, child, trans_child);
i++;
}
}
}
function _DWFrameSetShowFrame(frame, transition, callback) {
var frameset = frame._parent;
if (frameset._DW_current_frame == frame) {
return(0);
}
_DWHideObject(frameset._DW_current_frame);
frameset._DW_current_frame = frame;
return(_DWShowObject(frame, transition, callback, true));
}
function _DWHyperTextClicked(id) {
var pos = id.indexOf(":", 0);
var tag = id.substr(pos + 1);
id = "_root" + id.substr(8, pos - 8);
var textobj = eval (id);
var actions = textobj[("_DWLink" + tag) + "_DWActions"];
var i = 0;
while (i < actions.length) {
actions[i].Trigger("OnLeftClick");
i++;
}
}
function _DWCheckInputFocus() {
var new_focus = Selection.getFocus();
if (new_focus != null) {
var idx = new_focus.lastIndexOf(".");
new_focus = new_focus.substr(0, idx);
}
if (new_focus != _DW_32) {
var obj = eval (_DW_32);
if ((!obj._DW_update_every_char) && (obj._DW_3 == "Text")) {
if (obj._DWTEXT != _DWGetVariable(obj._DW_text_variable, obj)) {
_DWSetVariable(obj._DW_text_variable, obj._DWTEXT, obj);
}
}
if (obj._DW_kill_focus_enter) {
_DWTriggerEvents(obj, "Keyd");
}
_DW_32 = new_focus;
}
}
function _DWFormatHex(number, digits) {
var string = (number.toString(16) + "");
while (string.length < digits) {
string = "0" + string;
}
return(string);
}
function _DWSendTrigger(obj, trigger) {
if (obj == null) {
return(undefined);
}
_DWTriggerEvents(obj, trigger);
var children = obj._DW_0;
if (!children) {
return(undefined);
}
var i = (children.length - 1);
while (i >= 0) {
var child = children[i];
_DWSendTrigger(child, trigger);
i--;
}
}
function _DWGetNewScriptObject(obj) {
var type = obj._DW_3;
if (type == "Button") {
return(new _ILMButton(obj));
}
if (type == "Page") {
return(new _ILMPage(obj));
}
if (type == "Slideshow") {
return(new _ILMSlideshow(obj));
}
if (type == "Text") {
return(new _ILMText(obj));
}
if (type == "Video") {
return(new _ILMVideo(obj));
}
if (type == "Frameset") {
return(new _ILMFrameSet(obj));
}
if (type == "Publication") {
return(new _ILMGlobal(obj));
}
return(new _ILMGraphicalObject(obj));
}
function _ILMEventObject(sprite) {
this.__DW_sprite = sprite;
}
function _ILMTreeObject(sprite) {
this._ILMEventObject(sprite);
}
function _ILMGraphicalObject(sprite) {
this._ILMTreeObject(sprite);
}
function _ILMButton(sprite) {
this._ILMGraphicalObject(sprite);
}
function _ILMFrameSet(sprite) {
this._ILMGraphicalObject(sprite);
}
function _ILMSlideshow(sprite) {
this._ILMGraphicalObject(sprite);
}
function _ILMText(sprite) {
this._ILMGraphicalObject(sprite);
}
function _ILMVideo(sprite) {
this._ILMGraphicalObject(sprite);
}
function _ILMGlobal(sprite) {
this._ILMTreeObject(sprite);
this.Debug = new _ILMDebug();
}
function _ILMPage(sprite) {
this._ILMGlobal(sprite);
}
function _ILMDebug() {
}
_DWPubReseter.prototype.Update = _DWPubReseter_Update;
_DWEvent.prototype.Trigger = _DW_39;
_DWEvent.prototype.InitClose = _DW_3A;
_DWActionList.prototype.Go = _DW_3B;
_DWActionList.prototype.Run = _DW_3C;
_DWActionList.prototype.Notify = _DW_3D;
_DWActionList.prototype.InitClose = _DW_3E;
_DWMultiAction.prototype.Construct = _DW_3F;
_DWMultiAction.prototype.Go = _DW_40;
_DWMultiAction.prototype.Call = _DW_41;
_DWMultiAction.prototype.CallAction = _DW_42;
_DWMultiAction.prototype.Notify = _DW_43;
_DWMultiAction.prototype.InitClose = _DW_44;
_DWMultiAction1.prototype = new _DWMultiAction();
_DWMultiAction1.prototype.Call = _DW_45;
_DWMultiAction2.prototype = new _DWMultiAction();
_DWMultiAction2.prototype.Call = _DWMultiAction_Call2;
_DWMultiAction3.prototype = new _DWMultiAction();
_DWMultiAction3.prototype.Call = _DWMultiAction_Call3;
_DWMultiAction4.prototype = new _DWMultiAction();
_DWMultiAction4.prototype.Call = _DWMultiAction_Call4;
_DWMultiAction5.prototype = new _DWMultiAction();
_DWMultiAction5.prototype.Call = _DWMultiAction_Call5;
_DWMultiAction6.prototype = new _DWMultiAction();
_DWMultiAction6.prototype.Call = _DWMultiAction_Call6;
_DWMultiAction7.prototype = new _DWMultiAction();
_DWMultiAction7.prototype.Call = _DWMultiAction_Call7;
_DWMultiAction8.prototype = new _DWMultiAction();
_DWMultiAction8.prototype.Call = _DWMultiAction_Call8;
_DWMultiAction9.prototype = new _DWMultiAction();
_DWMultiAction9.prototype.Call = _DWMultiAction_Call9;
_DWMultiAction10.prototype = new _DWMultiAction();
_DWMultiAction10.prototype.Call = _DWMultiAction_Call10;
_DWActionDelay.prototype.Go = _DW_46;
_DWActionDelay.prototype.Update = _DW_47;
_DWActionDelay.prototype.InitClose = _DW_48;
_DWActionGroup.prototype.Go = _DW_49;
_DWActionGroup.prototype.Notify = _DW_4A;
_DWActionGroup.prototype.InitClose = _DW_4B;
_DWActionLoop.prototype.Go = _DW_4C;
_DWActionLoop.prototype.Notify = _DW_4D;
_DWActionLoop.prototype.Update = _DW_4E;
_DWActionLoop.prototype.DoNext = _DW_4F;
_DWActionLoop.prototype.InitClose = _DW_50;
_DWActionCondition.prototype.Go = _DW_51;
_DWActionCondition.prototype.InitClose = _DW_52;
_DWTickerTrigger.prototype.InitClose = _DW_53;
_DWTickerTrigger.prototype.Update = _DW_54;
_DWDropTrigger.prototype.Match = _DW_55;
_DWCollisionTrigger.prototype.InitClose = _DW_56;
_DWCollisionTrigger.prototype.Update = _DW_57;
_DWVariableTrigger.prototype.InitClose = _DWVariableTrigger_InitClose;
_DWVariableTrigger.prototype.VariableChanged = _DWVariableTrigger_VariableChanged;
_DWTimeline.prototype.StartObject = _DW_58;
_DWTimeline.prototype.StopObject = _DW_59;
_DWTimeline.prototype.Update = _DW_5A;
_DWTimeline.prototype.Start = _DW_5B;
_DWTimeline.prototype.Stop = _DW_5C;
_DWTimelineTrack.prototype.Run = _DW_5D;
_DWTimelineTrack.prototype.Stop = _DW_5E;
_DWTimelineTrack.prototype.Kill = _DW_5F;
_DWTimelineTrack.prototype.Scan = _DW_60;
_DWTimelineTrack.prototype.Notify = _DW_61;
_DWAnimationPath.prototype.GetPoint = _DW_62;
_DWAnimation.prototype.Play = _DW_63;
_DWAnimation.prototype.Stop = _DW_64;
_DWAnimation.prototype.Pause = _DW_65;
_DWAnimation.prototype.Resume = _DW_66;
_DWAnimation.prototype.GetPos = _DW_67;
_DWAnimation.prototype.Finished = _DW_68;
_DWAnimationController.prototype.Add = _DW_69;
_DWAnimationController.prototype.Remove = _DW_6A;
_DWAnimationController.prototype.Update = _DW_6B;
_DWScrollAngleTransition.prototype.stop = _DWScrollAngleTransition_stop;
_DWScrollAngleTransition.prototype.gotoAndPlay = _DWScrollAngleTransition_gotoAndPlay;
_DWScrollAngleTransition.prototype.Update = _DWScrollAngleTransition_Update;
_DWScrollAngleTransition.prototype.IntersectEdge = _DWScrollAngleTransition_IntersectEdge;
_DW_drag_object = null;
_ILMEventObject.prototype._ILMEventObject = _ILMEventObject;
_ILMEventObject.prototype.__DW_root = this;
_ILMTreeObject.prototype = new _ILMEventObject();
_ILMTreeObject.prototype._ILMTreeObject = _ILMTreeObject;
_ILMGraphicalObject.prototype = new _ILMTreeObject();
_ILMGraphicalObject.prototype._ILMGraphicalObject = _ILMGraphicalObject;
_ILMButton.prototype = new _ILMGraphicalObject();
_ILMFrameSet.prototype = new _ILMGraphicalObject();
_ILMSlideshow.prototype = new _ILMGraphicalObject();
_ILMText.prototype = new _ILMGraphicalObject();
_ILMVideo.prototype = new _ILMGraphicalObject();
_ILMGlobal.prototype = new _ILMTreeObject();
_ILMGlobal.prototype._ILMGlobal = _ILMGlobal;
_ILMPage.prototype = new _ILMGlobal();
_ILMPage.prototype._ILMPage = _ILMPage;
Cursor2._visible = false;
_DWInitPublication("Poster", 400, null, Cursor2, -1, -1, -1, -1, -1, -1, true, 20, false);
_DWInitVariables(_DW_publication, ["SCORE_VALUE", 0, false, "SCORE_VALUE_TOTAL", 0, false, "SCORE_VALUE_PERCENT", 0, false, "SCORE_CORRECT", 0, false, "SCORE_INCORRECT", 0, false, "SCORE_TOTAL", 0, false, "SCORE_PERCENT", 0, false, "CHAPTER_PASSWORD", "", false, "PUBLICATION_TIME", 0, false, "SYSTEM_TIME_YEAR", 0, false, "SYSTEM_TIME_MONTH", 0, false, "SYSTEM_TIME_DATE", 0, false, "SYSTEM_TIME_DAY", 0, false, "SYSTEM_TIME_HOUR", 0, false, "SYSTEM_TIME_MINUTE", 0, false, "SYSTEM_TIME_SECOND", 0, false, "SYSTEM_TIME_12HOUR", 0, false, "SYSTEM_TIME_AMPM", 0, false, "SYSTEM_DATE_FULL", "", false, "SYSTEM_WIN_DIR", "", false, "SYSTEM_WINSYS_DIR", "", false, "SYSTEM_DOCUMENTS_DIR", "", false, "SYSTEM_PROGRAMS_DIR", "", false, "SYSTEM_USERNAME", "", false, "SYSTEM_PUBLICATION_DIR", "", false, "SYSTEM_CD_DRIVE", "", false, "SYSTEM_TEMP_DIR", "", false, "PUBLICATION_TITLE", "", false, "PUBLICATION_PAGE_TITLE", "", false, "LOGIN_USER_NAME", "", false, "LOGIN_LEVEL_VALUE", "", false, "LOGIN_LEVEL_NAME", "", false, "RADIO_GROUP_1_ID", 0, false, "RADIO_GROUP_1_NAME", "", false, "RADIO_GROUP_2_ID", 0, false, "RADIO_GROUP_2_NAME", "", false, "RADIO_GROUP_3_ID", 0, false, "RADIO_GROUP_3_NAME", "", false, "RADIO_GROUP_4_ID", 0, false, "RADIO_GROUP_4_NAME", "", false]);
_DWInitChapter(1, "Chapter 1", -2, 2, 1);
Instance of Symbol 17 MovieClip "_DWTickerSprite" in Frame 2
onClipEvent (mouseMove) {
_parent._DWMouseMove();
}
onClipEvent (mouseDown) {
_parent._DWMouseDown();
}
onClipEvent (mouseUp) {
_parent._DWMouseUp();
}
onClipEvent (keyDown) {
_parent._DWKeyDown();
}
onClipEvent (keyUp) {
_parent._DWKeyUp();
}
onClipEvent (enterFrame) {
_parent._DWTick();
}
Frame 3
stop();
Frame 4
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 18 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 1
stop();
Symbol 11 MovieClip Frame 10
stop();
_parent._parent._DWTransitionComplete(this);
Symbol 13 MovieClip Frame 1
stop();
Symbol 1 MovieClip Frame 1
stop();
_parent._DWInitPage(this, "Page 1", 1, 1, 0, -1, -1, -1, 748, 750);
_parent._DWInitObject(UFrame1, "Frame 1", 1, 1, -1, -1, false, true, false, false, -374, -375, 374, 375, 4);
_parent._DWInitAppearances(UFrame1, 1, 1, 2, 1, 3, 1, 4, 1);
_parent._DWInitTransition(UFrame1, "show", false, this._DWTransition_UFrame1_show);
with (_parent) {
UFrame1._DWActions = [];
}
_parent._DWInitObject(UHotspot2, "Hotspot 2", 10, 2, 0, -1, true, true, false, false, -59, -120, 59, 120, 9);
_parent._DWInitAppearances(UHotspot2, 1, 1, 2, 1, 3, 1, 4, 1);
with (_parent) {
UHotspot2._DWActions = [new _DWEvent(["OnLeftClick"], new _DWActionList(new _DWMultiAction10(_DWPlayStreamingSound, 0, -1, 0, 0, 0, 50, 1, false, false, -1, U10428batchkurustlepaperTear9mp3), new _DWMultiAction1(_DWShowObject, null, UFrame1), new _DWMultiAction1(_DWHideObject, null, UHotspot2)))];
}
with (_parent) {
this._DWActions = [];
}
_parent._DWStartPage(this);