SLPlayer is an open-source virtual machine used to render graphical user interfaces and digital publications. It takes XML, CSS and haXe script as an input, and runs un javascript / HTML 5, ActionScript Flash and php / neko
public function initDone():Void
{
var publication:Publication = Publication.getPublicationByStyleManager(this);
var block:Block = publication.getBlockByStyleManager(this);
var domElement:DOMElement = block.domElement;
should be replaced by a constructor like
public function new(publication:Publication, block:Block)
should be replaced by a constructor like
public function new(publication:Publication, block:Block)