home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Puzzle
/
Easter_Eggs.swf
/
scripts
/
__Packages
/
com
/
novelgames
/
flashgames
/
commonAS2
/
Instructions.as
< prev
next >
Wrap
Text File
|
2008-09-04
|
645b
|
31 lines
class com.novelgames.flashgames.commonAS2.Instructions extends MovieClip
{
function Instructions()
{
super();
this.startButton.onRelease = function()
{
this._parent.startButtonClicked();
};
}
function initialize(shownFromGame)
{
if(shownFromGame == undefined)
{
shownFromGame = false;
}
this.shownFromGame = shownFromGame;
}
function startButtonClicked()
{
if(!this.shownFromGame)
{
this._parent.gotoGamePage();
}
else
{
this._parent.hideInstructionsFromGame();
}
}
}