srawr42 0 Report post Posted April 2, 2009 Hello,I have created an image map which links to various external pages. I'm not sure what went wrong but the links worked fine when I had just a couple buttons on the page, but once I added more I started getting the 1084 compiler error.I am using the following code: button1.addEventListener(MouseEvent.CLICK, callLink51);function callLink51 (event: MouseEvent) :void { var url:String = ("https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl;); var request:URLRequest = new URLRequest (url);try { navigateToURL (request, "_blank");} catch (e:Error) {trace ("Error occurred!");} Whenever I try to view the .flv I get around 42 errors saying the same thing."1084: Syntax error: expecting rightbrace before end of program."The location of the error is listed as "Scene 1, Layer 'button1', Frame 1"I have double checked all of my code, added right braces left and right, and even tried deleting the layer. Whichever layer is listed last becomes the source of the error, which is the same every time.Any and all help would be much appreciated. Thank you! Share this post Link to post Share on other sites