Код: Выделить всё
var button1:* = VK.createLightButton( "Чат", 10, 50, 150, VK.Utils.BK_COL, VK.Utils.BLUE_BK_COL, VK.Utils.BUT1_TXT_COL, VK.Utils.BUT1_TXT_COL, VK.LightButton.LEFT, 10 ); addChild( button1 ); button1.addEventListener( MouseEvent.CLICK, function(event:MouseEvent) { gotoAndStop(2); })