ࡱ> Root Entryp|YrRASHPqqC@&ContentsD-Page 1zSymbol 34ldV  !"#$%&'()*+,-./0123456789:;<=>?@ADQFGHIJKLMNOPRST[\]^_`abeRoot Entryp|YrRASH4A]C@&Contents-Page 1zSymbol 34ldVX  !"#$%&'()*+,-./0123456789:;<=>?@AUDQFGHIJKLMNOPRSTWc[\]^_`abfeghijklmnopqrstuvwxyz{|}~Symbol 8 2Symbol 10Symbol 7 Symbol 4 EdCPicPage CPicLayer CPicFrame?lH#initclip // hide the objects on stage book_mc._visible = false; page_mc._visible = false; url_mc._visible = false; // functions to retrieve new objects function CreateNewBook(pfnClicked,dataClicked) { var Obj = new GenericBookClass(textNode_mc,pfnClicked,dataClicked); return Obj; } function CreateNewPage(pfnClicked,dataClicked) { var Obj = new GenericPageClass(textNode_mc,pfnClicked,dataClicked); return Obj; } function CreateNewUrl(pfnClicked,dataClicked) { var Obj = new GenericUrlClass(textNode_mc,pfnClicked,dataClicked); return Obj; } if (this._parent == root) { _global.textNode = new Object; _global.textNode.nCount = 0; var bSelected = false; var book = CreateNewBook(undefined,undefined); book.MoveTo(0,0); book.MakeVisible(); book.TransitionIn(); book.pfnClicked = function() { if (!bSelected) { book.OpenBook(); } else { book.CloseBook(); } bSelected = !bSelected; }; var page = CreateNewPage(undefined,undefined); page.MoveTo(0,book.GetHeight()+5); page.MakeVisible(); page.TransitionIn(); var url = CreateNewUrl(undefined,undefined); url.MoveTo(0,page.GetHeight() + book.GetHeight()+5); url.MakeVisible(); url.TransitionIn(); } #endinitclip Global3+<UUM+<<<<+MUU<MUU<+UUM<?Z+"#initclip function GenericPageClass(textNode_mc,pfnClicked,dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userPage_mc = page_mc.duplicateMovieClip("page"+_global.textNode.nCount,_global.textNode.nCount+1); this.userPage_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userPage_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userPage_mc._width-1,this.userPage_mc._height); this.whiteSpace_mc.lineTo(this.userPage_mc._width+7,this.userPage_mc._height); this.whiteSpace_mc.lineTo(this.userPage_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userPage_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Create a reference to this object in the icon and the textfield this.userPage_mc.Owner = this; // set the data to be returned when the object is clicked to undefined this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsPageVisible = false; // increment the object count _global.textNode.nCount+=2; // is the item in? this.bItemIn = false; // Save the X and Y positions this.posY = 0; this.posX = 0; // This is set to true when the transition out has been completed this.bOutDone = true; // Initialize object this.Init(); } GenericPageClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Init = function() { // Make the movie clip initially invisible this.userPage_mc._visible = false; // Capture the onClick event this.userPage_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the page is clicked /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Clicked = function() { this.Owner.pfnClicked(this.Owner.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.NodeClicked = function() { this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the page onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } GenericPageClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition(); } else { this.bItemIn = true; this.userPage_mc.gotoAndPlay("in"); this.userPage_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } }; GenericPageClass.prototype.TransitionInComplete = function() { debug_trace("TransitionInComplete"); if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the page on stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.InNoTransition = function() { this.bItemIn = true; this.userPage_mc.gotoAndStop("visible"); this.textNode_mc.TransitionIn(); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the page off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userPage_mc.gotoAndPlay("out"); this.userPage_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the page if it is the end of the transition out /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { this.onEnterFrame = null; if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsPageVisible = false; this._visible = false; this.Owner.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to position the page /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userPage_mc._x = x; var pageHeight = this.userPage_mc._height; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>pageHeight) { this.textNode_mc.MoveTo(x+this.userPage_mc._width+5,y); adjustedYPos = y + (nodeHeight - pageHeight)/2 this.userPage_mc._y = adjustedYPos; } else { this.userPage_mc._y = y; adjustedYPos = y + ( pageHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.userPage_mc._width+5,adjustedYPos); } this.whiteSpace_mc._x = this.userPage_mc._x; this.whiteSpace_mc._y = this.userPage_mc._y; } GenericPageClass.prototype.GetXPos = function() { return this.posX; } GenericPageClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MakeInvisible = function() { this.userPage_mc._visible = false; this.whiteSpace_mc._visible = false; this.textNode_mc.MakeInvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MakeVisible = function() { this.userPage_mc._visible = true; this.whiteSpace_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.GetHeight = function() { var objHeight = this.userPage_mc._height; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the page /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Destroy = function(x,y) { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userPage_mc.Owner = undefined; this.userPage_mc.removeMovieClip(); delete this.userPage_mc; this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.bIsPageVisible; delete this.bItemIn; delete this.posY; delete this.posX; delete this.bOutDone; } var bLoaded = true; #endinitclip PageO?c'#initclip function GenericBookClass(textNode_mc, pfnClicked, dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userBook_mc = book_mc.duplicateMovieClip("book"+_global.textNode.nCount,_global.textNode.nCount+1); this.userBook_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userBook_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userBook_mc._width-1,this.userBook_mc._height); this.whiteSpace_mc.lineTo(this.userBook_mc._width+7,this.userBook_mc._height); this.whiteSpace_mc.lineTo(this.userBook_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userBook_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Create a reference to this object in the icon and the textfield this.userBook_mc.Owner = this; // set the data to be returned when the object is clicked this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsBookVisible = false; // book Height this.objHeight = this.userBook_mc._height; this.objWidth = this.userBook_mc._width; // Set the book closed this.bIsBookOpen = false; // Can this Item be selected this.bItemIn = false; // increment the object count _global.textNode.nCount+=2; // the last frame this.lastFrame = 0; // Store the X and Y Position this.posX = 0; this.posY = 0; // This is set to true when the transition out has been completed this.bOutDone = true; // Initialize object this.Init(); } GenericBookClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Init = function() { // Make the movie clip initially invisible this.userBook_mc._visible = false; // Capture the onClick event this.userBook_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the book is clicked /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Clicked = function() { if (this.Owner.bItemIn) { this.Owner.bIsBookOpen = !(this.Owner.bIsBookOpen); this.Owner.pfnClicked(this.Owner.dataClicked); } }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.NodeClicked = function() { this.dataClicked.bIsBookOpen = !(this.dataClicked.bIsBookOpen); this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; GenericBookClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the book onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition(); } else { this.bItemIn = true; this.userBook_mc.gotoAndPlay("in"); this.userBook_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } } GenericBookClass.prototype.TransitionInComplete = function() { if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { if (this.Owner.bIsBookOpen) { this.Owner.OpenBook(); } this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the book on stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.InNoTransition = function() { this.bItemIn = true; if (this.bIsBookOpen) { this.userBook_mc.gotoAndStop("visibleOpen"); } else { this.userBook_mc.gotoAndStop("visible"); } this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to place the book on stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.OpenBookNoTransition = function() { this.bItemIn = true; this.userBook_mc.gotoAndStop("visibleOpen"); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the book off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userBook_mc.gotoAndPlay("out"); this.userBook_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the book if it is the end of the transition out /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsBookVisible = false; this.onEnterFrame = null; this._visible = false; this.Owner.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to open the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.OpenBook = function() { this.userBook_mc.gotoAndPlay("open"); this.textNode_mc.SetState(true); this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to close the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.CloseBook = function() { this.userBook_mc.gotoAndPlay("close"); } /////////////////////////////////////////////////////////////////////////////////// // used to position the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userBook_mc._x = x; var bookHeight = this.objHeight; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>bookHeight) { this.textNode_mc.MoveTo(x+this.objWidth+5,y); adjustedYPos = y + (nodeHeight - bookHeight)/2 this.userBook_mc._y = adjustedYPos; } else { this.userBook_mc._y = y; adjustedYPos = y + ( bookHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.objWidth+5,adjustedYPos); } this.whiteSpace_mc._x = this.userBook_mc._x; this.whiteSpace_mc._y = this.userBook_mc._y; } GenericBookClass.prototype.GetXPos = function() { return this.posX; } GenericBookClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MakeInvisible = function() { this.whiteSpace_mc._visible = false; this.userBook_mc._visible = false; this.textNode_mc.MakeInvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MakeVisible = function() { this.whiteSpace_mc._visible = true; this.userBook_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.GetHeight = function() { var objHeight = this.userBook_mc._height; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Destroy = function() { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userBook_mc.Owner = undefined; this.userBook_mc.removeMovieClip(); delete this.userBook_mc; this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.bIsBookVisible; delete this.bIsBookOpen; delete this.bItemIn; delete this.lastFrame; delete this.posX; delete this.posY; delete this.bOutDone; } #endinitclip BookOO?n!#initclip function GenericUrlClass(textNode_mc,pfnClicked,dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userUrl_mc = url_mc.duplicateMovieClip("url"+_global.textNode.nCount,_global.textNode.nCount+1); this.userUrl_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userUrl_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userUrl_mc._width-1,this.userUrl_mc._height); this.whiteSpace_mc.lineTo(this.userUrl_mc._width+7,this.userUrl_mc._height); this.whiteSpace_mc.lineTo(this.userUrl_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userUrl_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Create a reference to this object in the icon and the textfield this.userUrl_mc.Owner = this; // set the data to be returned when the object is clicked to undefined this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsUrlVisible = false; // increment the object count _global.textNode.nCount+=2; // Has the object been transitioned in? this.bItemIn = false; // This is set to true when the transition out has been completed this.bOutDone = true; // Save the X and Y position this.posX = 0; this.posY = 0; // Initialize object this.Init(); } GenericUrlClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Init = function() { // Make the movie clip initially invisible this.userUrl_mc._visible = false; // Capture the onClick event this.userUrl_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the url is clicked /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Clicked = function() { this.Owner.pfnClicked(this.Owner.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.NodeClicked = function() { this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the url onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } GenericUrlClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition() } else { this.bItemIn = true; this.userUrl_mc.gotoAndPlay("in"); this.userUrl_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } } GenericUrlClass.prototype.TransitionInComplete = function() { if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the url on stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.InNoTransition = function() { this.bItemIn = true; this.userUrl_mc.gotoAndStop("visible"); this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the url off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userUrl_mc.gotoAndPlay("out"); this.userUrl_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the url if it is the end of the transition out /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { this.onEnterFrame = null; if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsUrlVisible = false; this._visible = false; this.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to position the url /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userUrl_mc._x = x; var urlHeight = this.userUrl_mc._height; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>urlHeight) { this.textNode_mc.MoveTo(x+this.userUrl_mc._width+5,y); adjustedYPos = y + (nodeHeight - urlHeight)/2 this.userUrl_mc._y = adjustedYPos; } else { this.userUrl_mc._y = y; adjustedYPos = y + ( urlHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.userUrl_mc._width+5,adjustedYPos); } this.whiteSpace_mc._x = this.userUrl_mc._x; this.whiteSpace_mc._y = this.userUrl_mc._y; } GenericUrlClass.prototype.GetXPos = function() { return this.posX; } GenericUrlClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MakeInvisible = function() { this.whiteSpace_mc._visible = false; this.userUrl_mc._visible = false; this.textNode_mc.Makeinvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MakeVisible = function() { this.whiteSpace_mc._visible = true; this.userUrl_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.GetHeight = function() { var objHeight = this.userUrl_mc._height; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the url /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Destroy = function() { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userUrl_mc.removeMovieClip(); this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.userUrl_mc; delete this.bIsUrlVisible; delete this.bItemIn; delete this.posY; delete this.posX; delete this.bOutDone; } #endinitclip UrlOO  !"#$%&'()*+,-./013456789:;<=>?@ABCDEFGHIJKLMNOPQRTUVWXYZ[\]_`abcdfghijkmnopqstuvwxy{|}~CPicPage CPicLayer CPicFrame?) Layer 2OO fffp mLPffff zYLMML_000?(  Layer 1OCPicPage CPicLayer CPicFrame CPicShapebb8 Tg3)$0l0b00K0)300,? Layer 5OCPicPage CPicLayer CPicFrame CPicSymbol  ?sp p ?/  ?gM Tgd*3000ax0?hYCPicMorphShape ?Jp p ?, BookO?  "?P- d"? d"? "?c?6 BackCoverO?J?TgJ0H00?J  CMorphSegment CMorphCurve%%%Tg800J0H?^(H0800J?WN#%%%%TgTg(0J0H0?hO?vX Layer 43?f?in?visibleI ?openo? visibleopent ?closeN?out$] LabelsOO??yU ?|stop(); ?R(stop();?Hstop();?%'stop(); ActionsOOCPicPage CPicLayer CPicFrame CPicSymbol   ?ip p  ?\  ?h&p p ?x PageO?I?inj?visibleyd?out%C LabelOO?N?az?@ stop();?pstop();Symbol 33 eSymbol 32^Symbol 9SSymbol 11 ZSymbol 37Y*uSymbol 29\Symbol 31 >tSymbol 35rSymbol 36*uCPicPage CPicLayer CPicFrame?P#initclip // hide the objects on stage book_mc._visible = false; page_mc._visible = false; url_mc._visible = false; // functions to retrieve new objects function CreateNewBook(pfnClicked,dataClicked) { var Obj = new GenericBookClass(textNode_mc,pfnClicked,dataClicked); return Obj; } function CreateNewPage(pfnClicked,dataClicked) { var Obj = new GenericPageClassCPicPage CPicLayer CPicFrame?z TextOO CPicShape(*B3WVm / t 99/  ƀ ƀm\00 \ m m\/t0909 \ / U0s REHryXP`xtl dqXzfy i 2  Zp*3'$n)$` JDB7^|P,IMM3N^ F  -  K1h+FEb5Yox {AS m  7=mb`b ])M47^j-X9'zv ! *X)ep ^vQt\kYUl9}UtR?Yx : 0UnwUa; 7Q#Lzf+yQ?)"COdc6I8 !}e  c   @ /  f30s REHryXP`xtl dqXzfy i 2  Zp*3'$n)$` JDB7^|P,IMM3N^ F  -  K1h+FEb5Yox {AS m  7=mb`b ])M47^j-X9'zv ! *X)ep ^vQt\kYUl9}UtR?Yx : 0UnwUa; 7Q#Lzf+yQ?)"COdc6I8 !}e  c   @ /  ?o Layer 3OO(textNode_mc,pfnClicked,dataClicked); return Obj; } function CreateNewUrl(pfnClicked,dataClicked) { var Obj = new GenericUrlClass(textNode_mc,pfnClicked,dataClicked); return Obj; } if (this._parent == root) { _global.textNode = new Object; _global.textNode.nCount = 0; var bSelected = false; var book = CreateNewBook(undefined,undefined); book.MoveTo(0,0); book.MakeVisible(); book.TransitionIn(); book.pfnClicked = function() { if (!bSelected) { book.OpenBook(); } else { book.Closd*300p0apx0?B Layer 1OCPicPage CPicLayer CPicFrame CPicShapeaR TgSd*300pM0P 00`?W8 Layer 1OCPicPage CPicLayer CPicFrame CPicShape`LTgsx0a*300?YeBook(); } bSelected = !bSelected; }; var page = CreateNewPage(undefined,undefined); page.MoveTo(0,book.GetHeight()+5); page.MakeVisible(); page.TransitionIn(); var url = CreateNewUrl(undefined,undefined); url.MoveTo(0,page.GetHeight() + book.GetHeight()+5); url.MakeVisible(); url.TransitionIn(); } #endinitclip Global3+<UUM+<<<<+MUU<MUU<+UUM<?/y"#initclip function GenericPageClass(textNode_mc,pfnClicked,dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userPage_mc = page_mc.duplicateMovieClip("page"+_global.textNode.nCount,_global.textNode.nCount+1); this.userPage_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userPage_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userPage_mc._width-1,this.userPage_mc._height); this.whiteSpace_mc.lineTo(this.userPage_mc._width+7,this.userPage_mc._height); this.whiteSpace_mc.lineTo(this.userPage_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userPage_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Save initial height this.pageHeight = this.userPage_mc._height; this.pageWidth = this.userPage_mc._width; // Create a reference to this object in the icon and the textfield this.userPage_mc.Owner = this; // set the data to be returned when the object is clicked to undefined this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsPageVisible = false; // increment the object count _global.textNode.nCount+=2; // is the item in? this.bItemIn = false; // Save the X and Y positions this.posY = 0; this.posX = 0; // This is set to true when the transition out has been completed this.bOutDone = true; // Initialize object this.Init(); } GenericPageClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Init = function() { // Make the movie clip initially invisible this.userPage_mc._visible = false; // Capture the onClick event this.userPage_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the page is clicked /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Clicked = function() { this.Owner.pfnClicked(this.Owner.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.NodeClicked = function() { this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the page onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } GenericPageClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition(); } else { this.bItemIn = true; this.userPage_mc.gotoAndPlay("in"); this.userPage_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } }; GenericPageClass.prototype.TransitionInComplete = function() { debug_trace("TransitionInComplete"); if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the page on stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.InNoTransition = function() { this.bItemIn = true; this.userPage_mc.gotoAndStop("visible"); this.textNode_mc.TransitionIn(); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the page off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userPage_mc.gotoAndPlay("out"); this.userPage_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the page if it is the end of the transition out /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { this.onEnterFrame = null; if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsPageVisible = false; this._visible = false; this.Owner.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to position the page /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userPage_mc._x = x; var pageHeight = this.pageHeight; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>pageHeight) { this.textNode_mc.MoveTo(x+this.pageWidth+5,y); adjustedYPos = y + (nodeHeight - pageHeight)/2 this.userPage_mc._y = adjustedYPos; } else { this.userPage_mc._y = y; adjustedYPos = y + ( pageHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.pageWidth+5,adjustedYPos); } this.whiteSpace_mc._x = this.userPage_mc._x; this.whiteSpace_mc._y = this.userPage_mc._y; } GenericPageClass.prototype.GetXPos = function() { return this.posX; } GenericPageClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MakeInvisible = function() { this.userPage_mc._visible = false; this.whiteSpace_mc._visible = false; this.textNode_mc.MakeInvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MakeVisible = function() { this.userPage_mc._visible = true; this.whiteSpace_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.GetHeight = function() { var objHeight = this.pageHeight; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the page /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Destroy = function(x,y) { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userPage_mc.Owner = undefined; this.userPage_mc.removeMovieClip(); delete this.userPage_mc; this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.bIsPageVisible; delete this.bItemIn; delete this.posY; delete this.posX; delete this.bOutDone; } var bLoaded = true; #endinitclip PageO?h)(#initclip function GenericBookClass(textNode_mc, pfnClicked, dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userBook_mc = book_mc.duplicateMovieClip("book"+_global.textNode.nCount,_global.textNode.nCount+1); this.userBook_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userBook_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userBook_mc._width-1,this.userBook_mc._height); this.whiteSpace_mc.lineTo(this.userBook_mc._width+7,this.userBook_mc._height); this.whiteSpace_mc.lineTo(this.userBook_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userBook_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Save initial height this.bookHeight = this.userBook_mc._height; this.bookWidth = this.userBook_mc._width; // Create a reference to this object in the icon and the textfield this.userBook_mc.Owner = this; // set the data to be returned when the object is clicked this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsBookVisible = false; // book Height this.objHeight = this.bookHeight; this.objWidth = this.bookWidth; // Set the book closed this.bIsBookOpen = false; // Can this Item be selected this.bItemIn = false; // increment the object count _global.textNode.nCount+=2; // the last frame this.lastFrame = 0; // Store the X and Y Position this.posX = 0; this.posY = 0; // This is set to true when the transition out has been completed this.bOutDone = true; // Initialize object this.Init(); } GenericBookClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Init = function() { // Make the movie clip initially invisible this.userBook_mc._visible = false; // Capture the onClick event this.userBook_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the book is clicked /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Clicked = function() { if (this.Owner.bItemIn) { this.Owner.bIsBookOpen = !(this.Owner.bIsBookOpen); this.Owner.pfnClicked(this.Owner.dataClicked); } }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.NodeClicked = function() { this.dataClicked.bIsBookOpen = !(this.dataClicked.bIsBookOpen); this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; GenericBookClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the book onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition(); } else { this.bItemIn = true; this.userBook_mc.gotoAndPlay("in"); this.userBook_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } } GenericBookClass.prototype.TransitionInComplete = function() { if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { if (this.Owner.bIsBookOpen) { this.Owner.OpenBook(); } this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the book on stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.InNoTransition = function() { this.bItemIn = true; if (this.bIsBookOpen) { this.userBook_mc.gotoAndStop("visibleOpen"); } else { this.userBook_mc.gotoAndStop("visible"); } this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to place the book on stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.OpenBookNoTransition = function() { this.bItemIn = true; this.userBook_mc.gotoAndStop("visibleOpen"); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the book off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userBook_mc.gotoAndPlay("out"); this.userBook_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the book if it is the end of the transition out //////////////////d?      !"#$%&'()*+,-./0123456789:;<=>@ABCEFGHIJKLMNOPQRSTUVWXYZSymbol 8 2Symbol 10Symbol 7 Symbol 4 E  !"#$%&'()*+,-./013456789:;<=>?@ABCDEFGHIJKLMNOPQRTUVWXYZ[\]_`abcdfghijkmnopqstuvwxy{|}~CPicPage CPicLayer CPicFrame?#initclip // hide the objects on stage book_mc._visible = false; page_mc._visible = false; url_mc._visible = false; // functions to retrieve new objects function CreateNewBook(pfnClicked,dataClicked) { var Obj = new GenericBookClass(textNode_mc,pfnClicked,dataClicked); return Obj; } function CreateNewPage(pfnClicked,dataClicked) { var Obj = new GenericPageClass ActionsOOCPicPage CPicLayer CPicFrame CPicSymbol   ? Ep p  ?c   ?kp p ? PageO??inEN?visible;2?out" LabelOO? &?k? stop();?0stop(); ActionsOOCPicPage CPicLayer CPicFrame?8 Layer 43 CPicSprite 33 CPicSymbol #?%; Layer 3OOer 3OOCPicPage CPicLayer CPicFrame CPicShapeaR S(textNode_mc,pfnClicked,dataClicked); return Obj; } function CreateNewUrl(pfnClicked,dataClicked) { var Obj = new GenericUrlClass(textNode_mc,pfnClicked,dataClicked); return Obj; } if (this._parent == root) { _global.textNode = new Object; _global.textNode.nCount = 0; var bSelected = false; var book = CreateNewBook(undefined,undefined); book.MoveTo(0,0); book.MakeVisible(); book.TransitionIn(); book.pfnClicked = function() { if (!bSelected) { book.OpenBook(); } else { book.Closi Layer 1OCPicPage CPicLayer CPicFrame CPicShapelnTg,%  "    ,w+&?eBook(); } bSelected = !bSelected; }; var page = CreateNewPage(undefined,undefined); page.MoveTo(0,book.GetHeight()+5); page.MakeVisible(); page.TransitionIn(); var url = CreateNewUrl(undefined,undefined); url.MoveTo(0,page.GetHeight() + book.GetHeight()+5); url.MakeVisible(); url.TransitionIn(); } #endinitclip Global3+<UUM+<<<<+MUU<MUU<+UUM<?R2y"#initclip function GenericPageClass(textNode_mc,pfnClicked,dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userPage_mc = page_mc.duplicateMovieClip("page"+_global.textNode.nCount,_global.textNode.nCount+1); this.userPage_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userPage_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userPage_mc._width-1,this.userPage_mc._height); this.whiteSpace_mc.lineTo(this.userPage_mc._width+7,this.userPage_mc._height); this.whiteSpace_mc.lineTo(this.userPage_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userPage_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Save initial height this.pageHeight = this.userPage_mc._height; this.pageWidth = this.userPage_mc._width; // Create a reference to this object in the icon and the textfield this.userPage_mc.Owner = this; // set the data to be returned when the object is clicked to undefined this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsPageVisible = false; // increment the object count _global.textNode.nCount+=2; // is the item in? this.bItemIn = false; // Save the X and Y positions this.posY = 0; this.posX = 0; // This is set to true when the transition out has been completed this.bOutDone = true; // Initialize object this.Init(); } GenericPageClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Init = function() { // Make the movie clip initially invisible this.userPage_mc._visible = false; // Capture the onClick event this.userPage_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the page is clicked /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Clicked = function() { this.Owner.pfnClicked(this.Owner.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.NodeClicked = function() { this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the page onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } GenericPageClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition(); } else { this.bItemIn = true; this.userPage_mc.gotoAndPlay("in"); this.userPage_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } }; GenericPageClass.prototype.TransitionInComplete = function() { debug_trace("TransitionInComplete"); if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the page on stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.InNoTransition = function() { this.bItemIn = true; this.userPage_mc.gotoAndStop("visible"); this.textNode_mc.TransitionIn(); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the page off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userPage_mc.gotoAndPlay("out"); this.userPage_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the page if it is the end of the transition out /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { this.onEnterFrame = null; if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsPageVisible = false; this._visible = false; this.Owner.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to position the page /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userPage_mc._x = x; var pageHeight = this.pageHeight; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>pageHeight) { this.textNode_mc.MoveTo(x+this.pageWidth+5,y); adjustedYPos = y + (nodeHeight - pageHeight)/2 this.userPage_mc._y = adjustedYPos; } else { this.userPage_mc._y = y; adjustedYPos = y + ( pageHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.pageWidth+5,adjustedYPos); } this.whiteSpace_mc._x = this.userPage_mc._x; this.whiteSpace_mc._y = this.userPage_mc._y; } GenericPageClass.prototype.GetXPos = function() { return this.posX; } GenericPageClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MakeInvisible = function() { this.userPage_mc._visible = false; this.whiteSpace_mc._visible = false; this.textNode_mc.MakeInvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MakeVisible = function() { this.userPage_mc._visible = true; this.whiteSpace_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.GetHeight = function() { var objHeight = this.pageHeight; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the page /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Destroy = function(x,y) { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userPage_mc.Owner = undefined; this.userPage_mc.removeMovieClip(); delete this.userPage_mc; this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.bIsPageVisible; delete this.bItemIn; delete this.posY; delete this.posX; delete this.bOutDone; } var bLoaded = true; #endinitclip PageO?6)(#initclip function GenericBookClass(textNode_mc, pfnClicked, dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userBook_mc = book_mc.duplicateMovieClip("book"+_global.textNode.nCount,_global.textNode.nCount+1); this.userBook_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userBook_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userBook_mc._width-1,this.userBook_mc._height); this.whiteSpace_mc.lineTo(this.userBook_mc._width+7,this.userBook_mc._height); this.whiteSpace_mc.lineTo(this.userBook_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userBook_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Save initial height this.bookHeight = this.userBook_mc._height; this.bookWidth = this.userBook_mc._width; // Create a reference to this object in the icon and the textfield this.userBook_mc.Owner = this; // set the data to be returned when the object is clicked this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsBookVisible = false; // book Height this.objHeight = this.bookHeight; this.objWidth = this.bookWidth; // Set the book closed this.bIsBookOpen = false; // Can this Item be selected this.bItemIn = false; // increment the object count _global.textNode.nCount+=2; // the last frame this.lastFrame = 0; // Store the X and Y Position this.posX = 0; this.posY = 0; // This is set to true when the transition out has been completed this.bOutDone = true; // Initialize object this.Init(); } GenericBookClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Init = function() { // Make the movie clip initially invisible this.userBook_mc._visible = false; // Capture the onClick event this.userBook_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the book is clicked /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Clicked = function() { if (this.Owner.bItemIn) { this.Owner.bIsBookOpen = !(this.Owner.bIsBookOpen); this.Owner.pfnClicked(this.Owner.dataClicked); } }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.NodeClicked = function() { this.dataClicked.bIsBookOpen = !(this.dataClicked.bIsBookOpen); this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; GenericBookClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the book onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition(); } else { this.bItemIn = true; this.userBook_mc.gotoAndPlay("in"); this.userBook_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } } GenericBookClass.prototype.TransitionInComplete = function() { if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { if (this.Owner.bIsBookOpen) { this.Owner.Open///////////////////////////////////////////////////////////////// GenericBookClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsBookVisible = false; this.onEnterFrame = null; this._visible = false; this.Owner.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to open the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.OpenBook = function() { this.userBook_mc.gotoAndPlay("open"); this.textNode_mc.SetState(true); this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to close the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.CloseBook = function() { this.userBook_mc.gotoAndPlay("close"); } /////////////////////////////////////////////////////////////////////////////////// // used to position the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userBook_mc._x = x; var bookHeight = this.objHeight; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>bookHeight) { this.textNode_mc.MoveTo(x+this.objWidth+5,y); adjustedYPos = y + (nodeHeight - bookHeight)/2 this.userBook_mc._y = adjustedYPos; } else { this.userBook_mc._y = y; adjustedYPos = y + ( bookHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.objWidth+5,adjustedYPos); } this.whiteSpace_mc._x = this.userBook_mc._x; this.whiteSpace_mc._y = this.userBook_mc._y; } GenericBookClass.prototype.GetXPos = function() { return this.posX; } GenericBookClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MakeInvisible = function() { this.whiteSpace_mc._visible = false; this.userBook_mc._visible = false; this.textNode_mc.MakeInvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MakeVisible = function() { this.whiteSpace_mc._visible = true; this.userBook_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.GetHeight = function() { var objHeight = this.bookHeight; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Destroy = function() { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userBook_mc.Owner = undefined; this.userBook_mc.removeMovieClip(); delete this.userBook_mc; this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.bIsBookVisible; delete this.bIsBookOpen; delete this.bItemIn; delete this.lastFrame; delete this.posX; delete this.posY; delete this.bOutDone; } #endinitclip BookOO? m!#initclip function GenericUrlClass(textNode_mc,pfnClicked,dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userUrl_mc = url_mc.duplicateMovieClip("url"+_global.textNode.nCount,_global.textNode.nCount+1); this.userUrl_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userUrl_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userUrl_mc._width-1,this.userUrl_mc._height); this.whiteSpace_mc.lineTo(this.userUrl_mc._width+7,this.userUrl_mc._height); this.whiteSpace_mc.lineTo(this.userUrl_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userUrl_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Save initial height this.urlHeight = this.userUrl_mc._height; this.urlWidth = this.userUrl_mc._width; // Create a reference to this object in the icon and the textfield this.userUrl_mc.Owner = this; // set the data to be returned when the object is clicked to undefined this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsUrlVisible = false; // increment the object count _global.textNode.nCount+=2; // Has the object been transitioned in? this.bItemIn = false; // This is set to true when the transition out has been completed this.bOutDone = true; // Save the X and Y position this.posX = 0; this.posY = 0; // Initialize object this.Init(); } GenericUrlClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Init = function() { // Make the movie clip initially invisible this.userUrl_mc._visible = false; // Capture the onClick event this.userUrl_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the url is clicked /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Clicked = function() { this.Owner.pfnClicked(this.Owner.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.NodeClicked = function() { this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the url onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } GenericUrlClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition() } else { this.bItemIn = true; this.userUrl_mc.gotoAndPlay("in"); this.userUrl_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } } GenericUrlClass.prototype.TransitionInComplete = function() { if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the url on stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.InNoTransition = function() { this.bItemIn = true; this.userUrl_mc.gotoAndStop("visible"); this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the url off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userUrl_mc.gotoAndPlay("out"); this.userUrl_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the url if it is the end of the transition out /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { this.onEnterFrame = null; if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsUrlVisible = false; this._visible = false; this.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to position the url /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userUrl_mc._x = x; var urlHeight = this.urlHeight; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>urlHeight) { this.textNode_mc.MoveTo(x+this.urlWidth+5,y); adjustedYPos = y + (nodeHeight - urlHeight)/2 this.userUrl_mc._y = adjustedYPos; } else { this.userUrl_mc._y = y; adjustedYPos = y + ( urlHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.urlWidth+5,adjustedYPos); } this.whiteSpace_mc._x = this.userUrl_mc._x; this.whiteSpace_mc._y = this.userUrl_mc._y; } GenericUrlClass.prototype.GetXPos = function() { return this.posX; } GenericUrlClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MakeInvisible = function() { this.whiteSpace_mc._visible = false; this.userUrl_mc._visible = false; this.textNode_mc.Makeinvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MakeVisible = function() { this.whiteSpace_mc._visible = true; this.userUrl_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.GetHeight = function() { var objHeight = this.urlHeight; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the url /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Destroy = function() { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userUrl_mc.removeMovieClip(); this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.userUrl_mc; delete this.bIsUrlVisible; delete this.bItemIn; delete this.posY; delete this.posX; delete this.bOutDone; } #endinitclip UrlOO CPicSprite $Mfhgeneric_compvarName defaultValue*0Kqց"  Layer 1OCPicPage CPicLayer CPicFrameCPicText $c(<@W_sans(HINT: book_mc: This movie clip displays the icon for a book in the TOC. Use the labeled frames to define the various states of the book. page_mc: This movie clip displays the icon for a page. url_mc: This movie clip is used when a web address is used as a TOC item. fhgeneric_comp: This component is required for proper runtime behavior. ?qT Hint3 CPicSprite %@fhgeneric_compvarName defaultValue*0Kqց"? ComponentO  Fdmbook_mc?A/ BookO    d^qpage_mc?X PageOO x xd 1=url_mc?s URLOO ) CDocumentPagePage 1Scene 1֖>2? Symbol 35Question#B ? Symbol 35B ? Symbol 34 BackCover"? Symbol 34? Symbol 33Tween 2!A?~A? Symbol 32Tween 1 '?|'?Symbol 9page placeholder 7,>+&>)Symbol 9N ? Symbol 11url placeholder 7,>+&>* page_img copy>Symbol 8Pageݖ>6PageSymbol 8N ? Symbol 10Url Rߖ>;Url Page copy ?Symbol 7book placeholder7,>+ &>(Symbol 7ڪ>Symbol 4Bookٖ>.BookSymbol 4? Symbol 29page2}>.\skin_index.flapage2>}>> Symbol 37Generic FH Toc Component%qN> generic TocFlashHelp_Components.swf+C:\FlashComponents\FlashHelp_Components.flaGeneric FH Toc Component>)?qN>>)?varName defaultValue*0Kqց"&phhhhz%PublishFormatProperties::htmlFileName skin_TOC.html"PublishHtmlProperties::StartPaused0!PublishGifProperties::PaletteName PublishRNWKProperties::speed256K0PublishFormatProperties::jpeg0Vector::Debugging Permitted0PublishHtmlProperties::Loop1"PublishQTProperties::MatchMovieDim1 PublishQTProperties::AlphaOption PublishQTProperties::LayerOptionPublishHtmlProperties::Units0$PublishPNGProperties::OptimizeColors1PublishQTProperties::Width300&PublishRNWKProperties::singleRateAudio0&PublishRNWKProperties::speedSingleISDN0%PublishFormatProperties::projectorMac0&PublishFormatProperties::flashFileName skin_TOC.swfVector::Compress Movie1PublishGifProperties::Smooth1#PublishRNWKProperties::flashBitRate1200%PublishRNWKProperties::mediaCopyright(c) 2000PublishFormatProperties::html0$PublishFormatProperties::pngFileName skin_TOC.png(PublishHtmlProperties::VerticalAlignment1PublishHtmlProperties::Quality4"PublishGifProperties::DitherOption"PublishRNWKProperties::exportAudio1 PublishRNWKProperties::speed384K0!PublishRNWKProperties::exportSMIL1Vector::Override Sounds0!PublishHtmlProperties::DeviceFont0"PublishPNGProperties::FilterOption'PublishRNWKProperties::mediaDescriptionPublishFormatProperties::gif0*PublishFormatProperties::generatorFileName skin_TOC.swtVector::Template0Vector::Protect0Vector::Quality80*PublishHtmlProperties::HorizontalAlignment1"PublishHtmlProperties::DisplayMenu1PublishGifProperties::Interlace0"PublishGifProperties::DitherSolids0PublishPNGProperties::Smooth1PublishPNGProperties::BitDepth24-bit with AlphaPublishJpegProperties::DPI4718592PublishQTProperties::Flatten1#PublishFormatProperties::qtFileName skin_TOC.movPublishGifProperties::Width300PublishGifProperties::Loop1PublishRNWKProperties::speed28K1!PublishRNWKProperties::mediaTitle$PublishRNWKProperties::mediaKeywordsPublishFormatProperties::flash1#PublishGifProperties::MatchMovieDim1#PublishGifProperties::PaletteOption"PublishPNGProperties::DitherOptionPublishJpegProperties::Quality80$PublishRNWKProperties::realVideoRate100000$PublishRNWKProperties::speedDualISDN0-PublishFormatProperties::projectorWinFileName skin_TOC.exePublishHtmlProperties::Align0#PublishPNGProperties::MatchMovieDim1#PublishPNGProperties::PaletteOption$PublishJpegProperties::MatchMovieDim1%PublishFormatProperties::jpegFileName skin_TOC.jpgVector::Omit Trace Actions0Vector::Debugging PasswordPublishHtmlProperties::Width300PublishHtmlProperties::Height100"PublishPNGProperties::DitherSolids0"PublishJpegProperties::Progressive0#PublishQTProperties::PlayEveryFrame0PublishFormatProperties::png0PublishFormatProperties::rnwk0-PublishFormatProperties::projectorMacFileName skin_TOC.hqxVector::TopDown0!PublishHtmlProperties::WindowMode0'PublishHtmlProperties::TemplateFileNameeC:\Documents and Settings\edigre\Application Data\Macromedia\Flash MX\Configuration\Html\Default.htmlPublishGifProperties::Height100PublishPNGProperties::Interlace0PublishJpegProperties::Size0"PublishFormatProperties::generator0Vector::Report0PublishGifProperties::LoopCount'PublishGifProperties::TransparentOptionPublishGifProperties::MaxColors255%PublishPNGProperties::RemoveGradients0PublishQTProperties::Height100PublishRNWKProperties::speed56K1PublishFormatProperties::qt0Vector::Stream Compress7Vector::Event Format0Vector::Version6$PublishGifProperties::OptimizeColors1"PublishRNWKProperties::audioFormat0Vector::Event Compress7PublishHtmlProperties::Scale0%PublishGifProperties::RemoveGradients0PublishPNGProperties::Width300PublishPNGProperties::Height100PublishJpegProperties::Height100 PublishRNWKProperties::speed512K0$PublishFormatProperties::gifFileName skin_TOC.gifVector::Stream Format0PublishGifProperties::Animated0&PublishGifProperties::TransparentAlpha128!PublishPNGProperties::Transparent0!PublishPNGProperties::PaletteNamePublishJpegProperties::Width300*PublishQTProperties::UseQTSoundCompression0PublishQTProperties::Looping0"PublishRNWKProperties::exportFlash1&PublishRNWKProperties::showBitrateDlog1(PublishRNWKProperties::speedCorporateLAN0"PublishRNWKProperties::mediaAuthorPropSheet::ActiveTab1599%PublishFormatProperties::defaultNames1%PublishFormatProperties::projectorWin0%PublishFormatProperties::rnwkFileName skin_TOC.smilPublishPNGProperties::MaxColors255%PublishQTProperties::ControllerOption0"PublishQTProperties::PausedAtStart0 CColorDef3PfP0PHP`Px333(3f<03CH3F`3Hxf0f30ff(0f5Hf<`f@x3330333xf3d03]H3Z`3Xx3333303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`f03f0ffx0fkHfd`f`x3f033fPH3ffxPH3fdx`3f]x3fZff0f3fPHfff`ffP0xffPxffPH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3dfHf3x`ff0xfx0xf̙dxf]`3`f``x`px3`33x3fx3x3xx3nf`f3xffxfxfxxfkx3xfxxxxx3x333f333xfxf3fffffxxH3 HfH(H2`8x`3 `f`̙`(`0xx3xfxx x(xPx3H33x`f3x`3(x`35x3<3`33xf3 x̙3x3(x323x33f3 333(xfH3fx`ff0xf(0xf<xfCf`3fxffx̙fxf(xf5fx3ffff ff((xH3x`f0x̙PPP`3xfx̙P̙(P<x3f̙(xx`3xfxPxPd`3xfx̙PPx3f(Book(); } this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the book on stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.InNoTransition = function() { this.bItemIn = true; if (this.bIsBookOpen) { this.userBook_mc.gotoAndStop("visibleOpen"); } else { this.userBook_mc.gotoAndStop("visible"); } this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to place the book on stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.OpenBookNoTransition = function() { this.bItemIn = true; this.userBook_mc.gotoAndStop("visibleOpen"); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the book off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userBook_mc.gotoAndPlay("out"); this.userBook_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the book if it is the end of the transition out /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsBookVisible = false; this.onEnterFrame = null; this._visible = false; this.Owner.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to open the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.OpenBook = function() { this.userBook_mc.gotoAndPlay("open"); this.textNode_mc.SetState(true); this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to close the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.CloseBook = function() { this.userBook_mc.gotoAndPlay("close"); } /////////////////////////////////////////////////////////////////////////////////// // used to position the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userBook_mc._x = x; var bookHeight = this.objHeight; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>bookHeight) { this.textNode_mc.MoveTo(x+this.objWidth+5,y); adjustedYPos = y + (nodeHeight - bookHeight)/2 this.userBook_mc._y = adjustedYPos; } else { this.userBook_mc._y = y; adjustedYPos = y + ( bookHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.objWidth+5,adjustedYPos); } this.whiteSpace_mc._x = this.userBook_mc._x; this.whiteSpace_mc._y = this.userBook_mc._y; } GenericBookClass.prototype.GetXPos = function() { return this.posX; } GenericBookClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MakeInvisible = function() { this.whiteSpace_mc._visible = false; this.userBook_mc._visible = false; this.textNode_mc.MakeInvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MakeVisible = function() { this.whiteSpace_mc._visible = true; this.userBook_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.GetHeight = function() { var objHeight = this.bookHeight; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Destroy = function() { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userBook_mc.Owner = undefined; this.userBook_mc.removeMovieClip(); delete this.userBook_mc; this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.bIsBookVisible; delete this.bIsBookOpen; delete this.bItemIn; delete this.lastFrame; delete this.posX; delete this.posY; delete this.bOutDone; } #endinitclip BookOO?o!#initclip function GenericUrlClass(textNode_mc,pfnClicked,dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userUrl_mc = url_mc.duplicateMovieClip("url"+_global.textNode.nCount,_global.textNode.nCount+1); this.userUrl_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userUrl_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userUrl_mc._width-1,this.userUrl_mc._height); this.whiteSpace_mc.lineTo(this.userUrl_mc._width+7,this.userUrl_mc._height); this.whiteSpace_mc.lineTo(this.userUrl_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userUrl_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Save initial height this.urlHeight = this.userUrl_mc._height; this.urlWidth = this.userUrl_mc._width; // Create a reference to this object in the icon and the textfield this.userUrl_mc.Owner = this; // set the data to be returned when the object is clicked to undefined this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsUrlVisible = false; // increment the object count _global.textNode.nCount+=2; // Has the object been transitioned in? this.bItemIn = false; // This is set to true when the transition out has been completed this.bOutDone = true; // Save the X and Y position this.posX = 0; this.posY = 0; // Initialize object this.Init(); } GenericUrlClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Init = function() { // Make the movie clip initially invisible this.userUrl_mc._visible = false; // Capture the onClick event this.userUrl_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the url is clicked /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Clicked = function() { this.Owner.pfnClicked(this.Owner.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.NodeClicked = function() { this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the url onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } GenericUrlClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition() } else { this.bItemIn = true; this.userUrl_mc.gotoAndPlay("in"); this.userUrl_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } } GenericUrlClass.prototype.TransitionInComplete = function() { if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the url on stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.InNoTransition = function() { this.bItemIn = true; this.userUrl_mc.gotoAndStop("visible"); this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the url off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userUrl_mc.gotoAndPlay("out"); this.userUrl_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the url if it is the end of the transition out /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { this.onEnterFrame = null; if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsUrlVisible = false; this._visible = false; this.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to position the url /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userUrl_mc._x = x; var urlHeight = this.urlHeight; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>urlHeight) { this.textNode_mc.MoveTo(x+this.urlWidth+5,y); adjustedYPos = y + (nodeHeight - urlHeight)/2 this.userUrl_mc._y = adjustedYPos; } else { this.userUrl_mc._y = y; adjustedYPos = y + ( urlHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.urlWidth+5,adjustedYPos); } this.whiteSpace_mc._x = this.userUrl_mc._x; this.whiteSpace_mc._y = this.userUrl_mc._y; } GenericUrlClass.prototype.GetXPos = function() { return this.posX; } GenericUrlClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MakeInvisible = function() { this.whiteSpace_mc._visible = false; this.userUrl_mc._visible = false; this.textNode_mc.Makeinvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MakeVisible = function() { this.whiteSpace_mc._visible = true; this.userUrl_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.GetHeight = function() { var objHeight = this.urlHeight; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the url /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Destroy = function() { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userUrl_mc.removeMovieClip(); this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.userUrl_mc; delete this.bIsUrlVisible; delete this.bItemIn; delete this.posY; delete this.posX; delete this.bOutDone; } #endinitclip UrlOOSymbol 37*uSymbol 29\Symbol 31 >tSymbol 35rSymbol 36*uCPicPage CPicLayer CPicFrame?9#initclip // hide the objects on stage book_mc._visible = false; page_mc._visible = false; url_mc._visible = false; // functions to retrieve new objects function CreateNewBook(pfnClicked,dataClicked) { var Obj = new GenericBookClass(textNode_mc,pfnClicked,dataClicked); return Obj; } function CreateNewPage(pfnClicked,dataClicked) { var Obj = new GenericPageClass(textNode_mc,pfnClicked,dataClicked); return Obj; } function CreateNewUrl(pfnClicked,dataClicked) { var Obj = new GenericUrlClass(textNode_mc,pfnClicked,dataClicked); return Obj; } if (this._parent == root) { _global.textNode = new Object; _global.textNode.nCount = 0; var bSelected = false; var book = CreateNewBook(undefined,undefined); book.MoveTo(0,0); book.MakeVisible(); book.TransitionIn(); book.pfnClicked = function() { if (!bSelected) { book.OpenBook(); } else { book.CloseBook(); } bSelected = !bSelected; }; var page = CreateNewPage(undefined,undefined); page.MoveTo(0,book.GetHeight()+5); page.MakeVisible(); page.TransitionIn(); var url = CreateNewUrl(undefined,undefined); url.MoveTo(0,page.GetHeight() + book.GetHeight()+5); url.MakeVisible(); url.TransitionIn(); } #endinitclip Global3+<UUM+<<<<+MUU<MUU<+UUM<?ay"#initclip function GenericPageClass(textNode_mc,pfnClicked,dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userPage_mc = page_mc.duplicateMovieClip("page"+_global.textNode.nCount,_global.textNode.nCount+1); this.userPage_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userPage_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userPage_mc._width-1,this.userPage_mc._height); this.whiteSpace_mc.lineTo(this.userPage_mc._width+7,this.userPage_mc._height); this.whiteSpace_mc.lineTo(this.userPage_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userPage_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Save initial height this.pageHeight = this.userPage_mc._height; this.pageWidth = this.userPage_mc._width; // Create a reference to this object in the icon and the textfield this.userPage_mc.Owner = this; // set the data to be returned when the object is clicked to undefined this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsPageVisible = false; // increment the object count _global.textNode.nCount+=2; // is the item in? this.bItemIn = false; // Save the X and Y positions this.posY = 0; this.posX = 0; // This is set to true when the transition out has been completed this.bOutDone = true; // Initialize object this.Init(); } GenericPageClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Init = function() { // Make the movie clip initially invisible this.userPage_mc._visible = false; // Capture the onClick event this.userPage_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the page is clicked /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Clicked = function() { this.Owner.pfnClicked(this.Owner.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.NodeClicked = function() { this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the page onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } GenericPageClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition(); } else { this.bItemIn = true; this.userPage_mc.gotoAndPlay("in"); this.userPage_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } }; GenericPageClass.prototype.TransitionInComplete = function() { debug_trace("TransitionInComplete"); if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the page on stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.InNoTransition = function() { this.bItemIn = true; this.userPage_mc.gotoAndStop("visible"); this.textNode_mc.TransitionIn(); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the page off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userPage_mc.gotoAndPlay("out"); this.userPage_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the page if it is the end of the transition out /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { this.onEnterFrame = null; if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsPageVisible = false; this._visible = false; this.Owner.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to position the page /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userPage_mc._x = x; var pageHeight = this.pageHeight; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>pageHeight) { this.textNode_mc.MoveTo(x+this.pageWidth+5,y); adjustedYPos = y + (nodeHeight - pageHeight)/2 this.userPage_mc._y = adjustedYPos; } else { this.userPage_mc._y = y; adjustedYPos = y + ( pageHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.pageWidth+5,adjustedYPos); } this.whiteSpace_mc._x = this.userPage_mc._x; this.whiteSpace_mc._y = this.userPage_mc._y; } GenericPageClass.prototype.GetXPos = function() { return this.posX; } GenericPageClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MakeInvisible = function() { this.userPage_mc._visible = false; this.whiteSpace_mc._visible = false; this.textNode_mc.MakeInvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.MakeVisible = function() { this.userPage_mc._visible = true; this.whiteSpace_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.GetHeight = function() { var objHeight = this.pageHeight; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the page /////////////////////////////////////////////////////////////////////////////////// GenericPageClass.prototype.Destroy = function(x,y) { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userPage_mc.Owner = undefined; this.userPage_mc.removeMovieClip(); delete this.userPage_mc; this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.bIsPageVisible; delete this.bItemIn; delete this.posY; delete this.posX; delete this.bOutDone; } var bLoaded = true; #endinitclip PageO?w7)(#initclip function GenericBookClass(textNode_mc, pfnClicked, dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userBook_mc = book_mc.duplicateMovieClip("book"+_global.textNode.nCount,_global.textNode.nCount+1); this.userBook_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userBook_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userBook_mc._width-1,this.userBook_mc._height); this.whiteSpace_mc.lineTo(this.userBook_mc._width+7,this.userBook_mc._height); this.whiteSpace_mc.lineTo(this.userBook_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userBook_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Save initial height this.bookHeight = this.userBook_mc._height; this.bookWidth = this.userBook_mc._width; // Create a reference to this object in the icon and the textfield this.userBook_mc.Owner = this; // set the data to be returned when the object is clicked this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsBookVisible = false; // book Height this.objHeight = this.bookHeight; this.objWidth = this.bookWidth; // Set the book closed this.bIsBookOpen = false; // Can this Item be selected this.bItemIn = false; // increment the object count _global.textNode.nCount+=2; // the last frame this.lastFrame = 0; // Store the X and Y Position this.posX = 0; this.posY = 0; // This is set to true when the transition out has been completed this.bOutDone = true; // Initialize object this.Init(); } GenericBookClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Init = function() { // Make the movie clip initially invisible this.userBook_mc._visible = false; // Capture the onClick event this.userBook_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the book is clicked /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Clicked = function() { if (this.Owner.bItemIn) { this.Owner.bIsBookOpen = !(this.Owner.bIsBookOpen); this.Owner.pfnClicked(this.Owner.dataClicked); } }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericBookClasxx3fxx3f̙xx3ff`zf*]h:Placeholder Graphics7,>+"PublishQTProperties::QTSndSettingsCQTAudioSettingss.prototype.NodeClicked = function() { this.dataClicked.bIsBookOpen = !(this.dataClicked.bIsBookOpen); this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; GenericBookClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the book onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition(); } else { this.bItemIn = true; this.userBook_mc.gotoAndPlay("in"); this.userBook_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } } GenericBookClass.prototype.TransitionInComplete = function() { if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { if (this.Owner.bIsBookOpen) { this.Owner.OpenBook(); } this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the book on stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.InNoTransition = function() { this.bItemIn = true; if (this.bIsBookOpen) { this.userBook_mc.gotoAndStop("visibleOpen"); } else { this.userBook_mc.gotoAndStop("visible"); } this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to place the book on stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.OpenBookNoTransition = function() { this.bItemIn = true; this.userBook_mc.gotoAndStop("visibleOpen"); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the book off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userBook_mc.gotoAndPlay("out"); this.userBook_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the book if it is the end of the transition out /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsBookVisible = false; this.onEnterFrame = null; this._visible = false; this.Owner.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to open the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.OpenBook = function() { this.userBook_mc.gotoAndPlay("open"); this.textNode_mc.SetState(true); this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to close the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.CloseBook = function() { this.userBook_mc.gotoAndPlay("close"); } /////////////////////////////////////////////////////////////////////////////////// // used to position the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userBook_mc._x = x; var bookHeight = this.objHeight; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>bookHeight) { this.textNode_mc.MoveTo(x+this.objWidth+5,y); adjustedYPos = y + (nodeHeight - bookHeight)/2 this.userBook_mc._y = adjustedYPos; } else { this.userBook_mc._y = y; adjustedYPos = y + ( bookHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.objWidth+5,adjustedYPos); } this.whiteSpace_mc._x = this.userBook_mc._x; this.whiteSpace_mc._y = this.userBook_mc._y; } GenericBookClass.prototype.GetXPos = function() { return this.posX; } GenericBookClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MakeInvisible = function() { this.whiteSpace_mc._visible = false; this.userBook_mc._visible = false; this.textNode_mc.MakeInvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.MakeVisible = function() { this.whiteSpace_mc._visible = true; this.userBook_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.GetHeight = function() { var objHeight = this.bookHeight; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the book /////////////////////////////////////////////////////////////////////////////////// GenericBookClass.prototype.Destroy = function() { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userBook_mc.Owner = undefined; this.userBook_mc.removeMovieClip(); delete this.userBook_mc; this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.bIsBookVisible; delete this.bIsBookOpen; delete this.bItemIn; delete this.lastFrame; delete this.posX; delete this.posY; delete this.bOutDone; } #endinitclip BookOO?wQ!#initclip function GenericUrlClass(textNode_mc,pfnClicked,dataClicked) { // Create a new instance of TextNode for this object this.textNode_mc = _parent.tocTextNode_mc.CreateNewObj(this.NodeClicked,this); // Duplicate the movie clips this.userUrl_mc = url_mc.duplicateMovieClip("url"+_global.textNode.nCount,_global.textNode.nCount+1); this.userUrl_mc.tabEnabled = false; // Make the whitespace between the book and page hot this.whiteSpace_mc = createEmptyMovieClip("whiteSpace"+_global.textNode.nCount,_global.textNode.nCount); this.whiteSpace_mc._alpha = 0; this.whiteSpace_mc.moveTo(this.userUrl_mc._width-1,0); this.whiteSpace_mc.beginFill(0x000000,100); this.whiteSpace_mc.lineStyle(1,0x000000,100); this.whiteSpace_mc.lineTo(this.userUrl_mc._width-1,this.userUrl_mc._height); this.whiteSpace_mc.lineTo(this.userUrl_mc._width+7,this.userUrl_mc._height); this.whiteSpace_mc.lineTo(this.userUrl_mc._width+7,0); this.whiteSpace_mc.lineTo(this.userUrl_mc._width-1,0); this.whiteSpace_mc.Owner = this; // Save initial height this.urlHeight = this.userUrl_mc._height; this.urlWidth = this.userUrl_mc._width; // Create a reference to this object in the icon and the textfield this.userUrl_mc.Owner = this; // set the data to be returned when the object is clicked to undefined this.pfnClicked = pfnClicked; this.dataClicked = dataClicked; // Set visible to false this.bIsUrlVisible = false; // increment the object count _global.textNode.nCount+=2; // Has the object been transitioned in? this.bItemIn = false; // This is set to true when the transition out has been completed this.bOutDone = true; // Save the X and Y position this.posX = 0; this.posY = 0; // Initialize object this.Init(); } GenericUrlClass.prototype = new MovieClip(); /////////////////////////////////////////////////////////////////////////////////// // Initialize the object /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Init = function() { // Make the movie clip initially invisible this.userUrl_mc._visible = false; // Capture the onClick event this.userUrl_mc.onPress = this.Clicked; this.whiteSpace_mc.onPress = this.Clicked; }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the url is clicked /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Clicked = function() { this.Owner.pfnClicked(this.Owner.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // Executed when the textnode is clicked /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.NodeClicked = function() { this.dataClicked.pfnClicked(this.dataClicked.dataClicked); }; /////////////////////////////////////////////////////////////////////////////////// // used to transition the url onto the stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.SetState = function(bState) { this.bItemIn = bState; this.textNode_mc.SetState(bState); } GenericUrlClass.prototype.TransitionIn = function() { if (this.bItemIn) { this.InNoTransition() } else { this.bItemIn = true; this.userUrl_mc.gotoAndPlay("in"); this.userUrl_mc.onEnterFrame = this.TransitionInComplete; this.textNode_mc.TransitionIn(); } } GenericUrlClass.prototype.TransitionInComplete = function() { if (this.Owner.lastFrame == this._currentframe) { this.onEnterFrame = undefined; if (this.Owner.Owner.nState == 1) { this.Owner.Owner.nState = 2; } } else { this.Owner.lastFrame = this._currentFrame; } } /////////////////////////////////////////////////////////////////////////////////// // used to place the url on stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.InNoTransition = function() { this.bItemIn = true; this.userUrl_mc.gotoAndStop("visible"); this.textNode_mc.TransitionIn(); } /////////////////////////////////////////////////////////////////////////////////// // used to transition the url off of the stage /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.TransitionOut = function() { this.bItemIn = false; this.userUrl_mc.gotoAndPlay("out"); this.userUrl_mc.onEnterFrame = this.HideOnOut; this.textNode_mc.TransitionOut(); this.bOutDone = false; }; /////////////////////////////////////////////////////////////////////////////////// // Checks the current frame and hides the url if it is the end of the transition out /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.HideOnOut = function() { if (this._currentframe == this._totalframes) { this.onEnterFrame = null; if (this.Owner.Owner.nState == 4) { this.Owner.Owner.nState = 5; } this.Owner.bIsUrlVisible = false; this._visible = false; this.bOutDone = true; } }; /////////////////////////////////////////////////////////////////////////////////// // used to position the url /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MoveTo = function(x,y) { this.posX = x; this.posY = y; this.userUrl_mc._x = x; var urlHeight = this.urlHeight; var nodeHeight = this.textNode_mc.GetHeight(); var adjustedYPos = 0; if (nodeHeight>urlHeight) { this.textNode_mc.MoveTo(x+this.urlWidth+5,y); adjustedYPos = y + (nodeHeight - urlHeight)/2 this.userUrl_mc._y = adjustedYPos; } else { this.userUrl_mc._y = y; adjustedYPos = y + ( urlHeight - nodeHeight)/2 this.textNode_mc.MoveTo(x+this.urlWidth+5,adjustedYPos); } this.whiteSpace_mc._x = this.userUrl_mc._x; this.whiteSpace_mc._y = this.userUrl_mc._y; } GenericUrlClass.prototype.GetXPos = function() { return this.posX; } GenericUrlClass.prototype.GetYPos = function() { return this.posY; } /////////////////////////////////////////////////////////////////////////////////// // Make invisible /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MakeInvisible = function() { this.whiteSpace_mc._visible = false; this.userUrl_mc._visible = false; this.textNode_mc.Makeinvisible(); } /////////////////////////////////////////////////////////////////////////////////// // Make visible /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.MakeVisible = function() { this.whiteSpace_mc._visible = true; this.userUrl_mc._visible = true; this.textNode_mc.MakeVisible(); } /////////////////////////////////////////////////////////////////////////////////// // set the text of the internal textnode /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.SetText = function(text_str) { this.textNode_mc.SetText(text_str); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode selected /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Select = function() { this.textNode_mc.Select(); } /////////////////////////////////////////////////////////////////////////////////// // set the textnode unselected /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Unselect = function() { this.textNode_mc.Unselect(); } /////////////////////////////////////////////////////////////////////////////////// // Get the height of the object /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.GetHeight = function() { var objHeight = this.urlHeight; var objNodeHeight = this.textNode_mc.GetHeight(); if (objNodeHeight > objHeight) { objHeight = objNodeHeight; } return objHeight+1; } /////////////////////////////////////////////////////////////////////////////////// // used to destroy the url /////////////////////////////////////////////////////////////////////////////////// GenericUrlClass.prototype.Destroy = function() { this.whiteSpace_mc.Owner = undefined; this.whiteSpace_mc.removeMovieClip(); delete this.whiteSpace_mc; this.userUrl_mc.removeMovieClip(); this.textNode_mc.DestroyNode(); delete this.textNode_mc; delete this.userUrl_mc; delete this.bIsUrlVisible; delete this.bItemIn; delete this.posY; delete this.posX; delete this.bOutDone; } #endinitclip UrlOO  Layer 1OCPicPage CPicLayer CPicFrameCPicText $c(<@W_sans(HINT: book_mc: This movie clip displays the icon for a book in the TOC. Use the labeled frames to define the various states of the book. page_mc: This movie clip displays the icon for a page. url_mc: This movie clip is used when a web address is used as a TOC item. fhgeneric_comp: This component is required for proper runtime behavior. ?M Hint3 CPicSprite %2fhgeneric_compvarName defaultValue*0Kqց"?Nd ComponentO  FdTbook_mc?f BookO    dpage_mc?4B PageOO x xd A/url_mc?He URLOO ) CDocumentPagePage 1Scene 1֖>2T? Symbol 35Question#B ? Symbol 35B ? Symbol 34 BackCover"? Symbol 34? Symbol 33Tween 2!A?~A? Symbol 32Tween 1 '?|'?Symbol 9page placeholder 7,>+&>)Symbol 9N ? Symbol 11url placeholder 7,>+&>* page_img copy>Symbol 8Pageݖ>6PageSymbol 8N ? Symbol 10Url Rߖ>;Url Page copy ?Symbol 7book placeholder7,>+ &>(Symbol 7ڪ>Symbol 4Bookٖ>.BookSymbol 4? Symbol 29page2}>.\skin_index.flapage2>}>> Symbol 37Generic FH Toc Component%qN> generic Tocflashhelp_components.swf+C:\FlashComponents\FlashHelp_Components.flaGeneric FH Toc Component>)?2T?varName defaultValue*0Kqց"&phhhhz PublishRNWKProperties::speed256K0!PublishGifProperties::PaletteName"PublishHtmlProperties::StartPaused0%PublishFormatProperties::htmlFileName skin_TOC.html PublishQTProperties::LayerOption PublishQTProperties::AlphaOption"PublishQTProperties::MatchMovieDim1PublishHtmlProperties::Loop1Vector::Debugging Permitted0PublishFormatProperties::jpeg0&PublishRNWKProperties::speedSingleISDN0&PublishRNWKProperties::singleRateAudio0PublishQTProperties::Width300$PublishPNGProperties::OptimizeColors1PublishHtmlProperties::Units0%PublishRNWKProperties::mediaCopyright(c) 2000#PublishRNWKProperties::flashBitRate1200PublishGifProperties::Smooth1Vector::Compress Movie1&PublishFormatProperties::flashFileName skin_TOC.swf%PublishFormatProperties::projectorMac0!PublishRNWKProperties::exportSMIL1 PublishRNWKProperties::speed384K0"PublishRNWKProperties::exportAudio1"PublishGifProperties::DitherOptionPublishHtmlProperties::Quality4(PublishHtmlProperties::VerticalAlignment1$PublishFormatProperties::pngFileName skin_TOC.pngPublishFormatProperties::html0'PublishRNWKProperties::mediaDescription"PublishPNGProperties::FilterOption!PublishHtmlProperties::DeviceFont0Vector::Override Sounds0PublishQTProperties::Flatten1PublishJpegProperties::DPI4718592PublishPNGProperties::BitDepth24-bit with AlphaPublishPNGProperties::Smooth1"PublishGifProperties::DitherSolids0PublishGifProperties::Interlace0"PublishHtmlProperties::DisplayMenu1*PublishHtmlProperties::HorizontalAlignment1Vector::Quality80Vector::Protect0Vector::Template0*PublishFormatProperties::generatorFileName skin_TOC.swtPublishFormatProperties::gif0$PublishRNWKProperties::mediaKeywords!PublishRNWKProperties::mediaTitlePublishRNWKProperties::speed28K1PublishGifProperties::Loop1PublishGifProperties::Width300#PublishFormatProperties::qtFileName skin_TOC.mov$PublishRNWKProperties::speedDualISDN0$PublishRNWKProperties::realVideoRate100000PublishJpegProperties::Quality80"PublishPNGProperties::DitherOption#PublishGifProperties::PaletteOption#PublishGifProperties::MatchMovieDim1PublishFormatProperties::flash1$PublishJpegProperties::MatchMovieDim1#PublishPNGProperties::PaletteOption#PublishPNGProperties::MatchMovieDim1PublishHtmlProperties::Align0-PublishFormatProperties::projectorWinFileName skin_TOC.exe#PublishQTProperties::PlayEveryFrame0"PublishJpegProperties::Progressive0"PublishPNGProperties::DitherSolids0PublishHtmlProperties::Height100PublishHtmlProperties::Width300Vector::Debugging PasswordVector::Omit Trace Actions0%PublishFormatProperties::jpegFileName skin_TOC.jpgPublishJpegProperties::Size0PublishPNGProperties::Interlace0PublishGifProperties::Height100'PublishHtmlProperties::TemplateFileNameeC:\Documents and Settings\edigre\Application Data\Macromedia\Flash MX\Configuration\Html\Default.html!PublishHtmlProperties::WindowMode0Vector::TopDown0-PublishFormatProperties::projectorMacFileName skin_TOC.hqxPublishFormatProperties::rnwk0PublishFormatProperties::png0PublishRNWKProperties::speed56K1PublishQTProperties::Height100%PublishPNGProperties::RemoveGradients0PublishGifProperties::MaxColors255'PublishGifProperties::TransparentOptionPublishGifProperties::LoopCountVector::Report0"PublishFormatProperties::generator0"PublishRNWKProperties::audioFormat0$PublishGifProperties::OptimizeColors1Vector::Version6Vector::Event Format0Vector::Stream Compress7PublishFormatProperties::qt0 PublishRNWKProperties::speed512K0PublishJpegProperties::Height100PublishPNGProperties::Height100PublishPNGProperties::Width300%PublishGifProperties::RemoveGradients0PublishHtmlProperties::Scale0Vector::Event Compress7"PublishRNWKProperties::mediaAuthor(PublishRNWKProperties::speedCorporateLAN0&PublishRNWKProperties::showBitrateDlog1"PublishRNWKProperties::exportFlash1PublishQTProperties::Looping0*PublishQTProperties::UseQTSoundCompression0PublishJpegProperties::Width300!PublishPNGProperties::PaletteName!PublishPNGProperties::Transparent0&PublishGifProperties::TransparentAlpha128PublishGifProperties::Animated0Vector::Stream Format0$PublishFormatProperties::gifFileName skin_TOC.gif"PublishQTProperties::PausedAtStart0%PublishQTProperties::ControllerOption0PublishPNGProperties::MaxColors255%PublishFormatProperties::rnwkFileName skin_TOC.smil%PublishFormatProperties::projectorWin0%PublishFormatProperties::defaultNames1PropSheet::ActiveTab1599 CColorDef3PfP0PHP`Px333(3f<03CH3F`3Hxf0f30ff(0f5Hf<`f@x3330333xf3d03]H3Z`3Xx3333303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`f03f0ffx0fkHfd`f`x3f033fPH3ffxPH3fdx`3f]x3fZff0f3fPHfff`ffP0xffPxffPH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3dfHf3x`ff0xfx0xf̙dxf]`3`f``x`px3`33x3fx3x3xx3nf`f3xffxfxfxxfkx3xfxxxxx3x333f333xfxf3fffffxxH3 HfH(H2`8x`3 `f`̙`(`0xx3xfxx x(xPx3H33x`f3x`3(x`35x3<3`33xf3 x̙3x3(x323x33f3 333(xfH3fx`ff0xf(0xf<xfCf`3fxffx̙fxf(xf5fx3ffff ff((xH3x`f0x̙PPP`3xfx̙P̙(P<x3f̙(xx`3xfxPxPd`3xfx̙PPx3f(xx3fxx3f̙xx3ff`zf*]k:Placeholder Graphics7,>+"PublishQTProperties::QTSndSettingsCQTAudioSettings