Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 1st, 2012  |  syntax: None  |  size: 0.57 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to make a frame1 in the timeline, to be my startpage, when I already have a frame on the first timeline?
  2. myStartClip.visible = true;
  3.        
  4. var startContainer:Sprite = new Sprite();  
  5. addChild(startContainer);  // and maybe position it with x and y
  6.        
  7. var infoTf:TextField = new TextField();
  8. infoTf.text = "some game description and how to play";
  9. var bg:SomeBackground = new SomeBackground();
  10. var startBtn:SomeBtn = new SomeBtn();
  11. startBtn.addEventListener(MouseClick.CLICK, handleMClick_startGame);
  12.        
  13. startContainer.addChild(bg);  // add the other things too of course