/**
* Copyright satoru.net ( http://wonderfl.net/user/satoru.net )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/6bS4
*/
package {
import com.bit101.components.*;
import flash.display.Sprite;
import org.si.sion.*;
public class main extends Sprite {
public var sion:SiONDriver = new SiONDriver();
public function main():void{
new PushButton(this, stage.stageWidth/2-50,stage.stageHeight/2, "Push Me!",pressed);
}
public function pressed(e:*):void{
sion.play("t200;%1@4s63q8l16q0s22o6b<e");
var size:Object = {w:150,h:100}
var w:Window = new Window(this,stage.stageWidth/2-(size.w/2),stage.stageHeight/2-(size.h/2),"Thank you!");
var bt:PushButton = new PushButton(w, size.w - 20, 3, "X", function(e:*):void {
sion.play("t200;%1@4s63l128o5b-<cr16f64");
w.visible = false});
bt.setSize(15,15)
w.setSize(size.w,size.h);
new Label(w,44,50,"Simple is best.");
}
}
}