home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Puzzle
/
Easter_Eggs.swf
/
scripts
/
__Packages
/
com
/
novelgames
/
flashgames
/
commonAS2
/
NewTextField.as
< prev
next >
Wrap
Text File
|
2008-09-04
|
2KB
|
91 lines
class com.novelgames.flashgames.commonAS2.NewTextField extends TextField
{
function NewTextField()
{
super();
}
function set x(x)
{
this._x = x;
}
function get x()
{
return this._x;
}
function set y(y)
{
this._y = y;
}
function get y()
{
return this._y;
}
function set rotation(rotation)
{
this._rotation = rotation;
}
function get rotation()
{
return this._rotation;
}
function set visible(visible)
{
this._visible = visible;
}
function get visible()
{
return this._visible;
}
function set alpha(alpha)
{
this._alpha = alpha * 100;
}
function get alpha()
{
return this._alpha / 100;
}
function get width()
{
return this._width;
}
function set width(width)
{
this._width = width;
}
function get height()
{
return this._height;
}
function set height(height)
{
this._height = height;
}
function set scrollV(scrollV)
{
this.scroll = scrollV;
}
function get scrollV()
{
return this.scroll;
}
function set maxScrollV(maxScrollV)
{
this.maxscroll = maxScrollV;
}
function get maxScrollV()
{
return this.maxscroll;
}
function setTextFormat(textFormat, beginIndex, endIndex)
{
if(beginIndex == undefined || endIndex == undefined)
{
super.setTextFormat(textFormat);
}
else
{
super.setTextFormat(beginIndex,endIndex,textFormat);
}
}
}