Quantcast
Channel: Adobe Community : Unanswered Discussions - Flash Site Design
Viewing all articles
Browse latest Browse all 252

Buttons, Html 1086: Syntax error: expecting semicolon before 9.

$
0
0

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?

 

Picture 19.jpg


Viewing all articles
Browse latest Browse all 252

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>