| Scene 1, Layer 'action', Frame 1, Line 24 | 1093: Syntax error. |
import flash.events.MouseEvent;
stop();
function button1_clicked(e:MouseEvent):void{gotoAndStop("page1");}
function button2_clicked(e:MouseEvent):void{gotoAndStop("page2");
}
button1.addEventListener(MouseEvent.CLICK, button1_clicked);
button2.addEventListener(MouseEvent.CLICK, button2_clicked);
site.addEventListener(MouseEvent.CLICK,goThere);
function goThere(e:MouseEvent){
var request:URLRequest = new URLRequest("http://www.youtube.com/user/TheBudWorld/videos");
navigateToURL(request);
}
body {
margin: 50;px 0;px;
padding: 0;px;
text-align; center;
}
div=#main {
width: 600px;
margin: 0px auto;
text-align: left;
padding: 15px;
border: 1px solid #000000;
background-color: #eeeeee;
}
Im still learning actionscript
North America
Europe, Middle East and Africa
Asia Pacific