Tuesday, April 13, 2004

PuSsSiiiingggggggggg !!!!!!!

// source: http://kullasyah.bloghspot.com
MovieClip.kullasyah-prototype.fade = function(desAlpha, rate){
this.onEnterFrame = function(){
if (this._alpha <= desAlpha){
this._alpha += rate;
if(this._alpha > desAlpha){
delete(this.onEnterFrame);
}
}

if (this._alpha >= desAlpha){
this._alpha -= rate;
if(this._alpha < desAlpha){
delete(this.onEnterFrame);
}
}
}
}
swInterface.init();

this.onKeyUp = function()
{
if ( Key.getCode() == Key.ESCAPE )
{
swApplication.quit();
}
}

this.onWindowActivate = function()
{
kulla-logo.fade(100,6);
}

this.onWindowDeactivate = function()
{
kulla-logo.fade(50,3);
}

Key.addListener(this);
swEvents.addListener(this);

var mbtype = MB_OK | MB_ICONINFORMATION;

swSystem.Messages.messageBox(
"KulLasYah :: r e B o r n." + "\n\n" +
"Wellcome",
mbtype
);

0 Comments:

Post a Comment

<< Home