Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 426 Bytes
package{
import org.godfat.fgbg.Composer;
import flash.display.Sprite;
public class Main{
public function Main(parent: Sprite){
const fg_uri: String = parent.loaderInfo.parameters['fg'];
const bg_uri: String = parent.loaderInfo.parameters['bg'];
parent.stage.scaleMode = 'exactFit';
new Composer(fg_uri, bg_uri, parent,
// parent.stage.stageWidth, parent.stage.stageHeight);
100, 100);
}
}
}