
Untitled
By: a guest on
Jun 1st, 2012 | syntax:
None | size: 0.57 KB | hits: 9 | expires: Never
How to make a frame1 in the timeline, to be my startpage, when I already have a frame on the first timeline?
myStartClip.visible = true;
var startContainer:Sprite = new Sprite();
addChild(startContainer); // and maybe position it with x and y
var infoTf:TextField = new TextField();
infoTf.text = "some game description and how to play";
var bg:SomeBackground = new SomeBackground();
var startBtn:SomeBtn = new SomeBtn();
startBtn.addEventListener(MouseClick.CLICK, handleMClick_startGame);
startContainer.addChild(bg); // add the other things too of course