Archive for February, 2007
Using Getters and Setters
class State
{
var population:Number;
function State( )
{
//constructor
}
function setPopulation( population:Number) { this.population = population + ( population * 0.5 ); }
function getPopulation( ):Number { return population; }
}
Because of the versatility of getters and setters, getting and setting property values directly is considered bad coding practice. Set up and use Getter andSetter methods instead.
Using Implict Get and Set Methods
class [...]
Filed under: Flash! | 1 Comment
Frequently used scripts
onEnterFrame = function( ) {
//….
if ( blah) delete onEnterFrame;
}
same applies to set/clearInterval ( );
Filed under: Flash! | Leave a Comment
Rakion Southeast Service (RSS)
Fuck Softnyx for the decision to transfer SG/MY players over to the PH servers.
Experienced a downtime of 3 weeks, and the migration from RIS to RSS was a total lie, I did not get to keep my old account, and login.exe for RSS was so user-unfriendly that we players have to figure the problems out [...]
Filed under: Daily Life entries | Leave a Comment