I am building a super simple website in flash. The main set of buttons for navigation work fine. But when I add the Save, Print, Email and Facebook link buttons I get a looped video with no buttons and these errors:
TempInit 5 1086: Syntax error: expecting semicolon before 9.
TempInit 6 1086: Syntax error: expecting semicolon before 8.
TempInit 9 1086: Syntax error: expecting semicolon before 7.
This is the actionscript:
stop();
Home_But.addEventListener(MouseEvent.CLICK, goHome);
function goHome (event:MouseEvent):void{
gotoAndStop(1);}
Menu_But.addEventListener(MouseEvent.CLICK, goMenu);
function goMenu (event:MouseEvent):void{
gotoAndStop(2);}
Bio_But.addEventListener(MouseEvent.CLICK, goBio);
function goBio (event:MouseEvent):void{
gotoAndStop(3);}
Contact_But.addEventListener(MouseEvent.CLICK, goContact);
function goContact (event:MouseEvent):void{
gotoAndStop(4);}
Symbol5.onRelease = function() {
getURL('http://www.facebook.com/hungryhippyalpena/');
}
Symbol6.onRelease = function() {
getURL('http://www.facebook.com/hungryhippyalpena/');
}
Symbol9.onRelease = function() {
getURL('http://www.facebook.com/hungryhippyalpena/');
}
Symbol8.onRelease = function() {
getURL('http://www.facebook.com/hungryhippyalpena/');
}
Symbol7.onRelease = function() {
getURL('http://www.facebook.com/hungryhippyalpena/');
}
Any ideas? Does my problem stem from the layout of my timeline and the extra buttons falling on random frames?