4 Replies Latest reply on Feb 15, 2010 1:37 PM by NickDF__

    How to fix a Syntax Error?


      I have a problem with my MXML Application. I keep getting an error: 1084: Syntax error: expecting rightparen before rightbrace, But I don't know what that means. Here's my MXML,

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
          backgroundAlpha="0" width="1050" height="1000">
          <mx:Text width="964" height="497" enabled="true" fontSize="15">
              <mx:text>For right now, Changer098.com is still under construction and is progressing. However the change from Adobe Dreamweaver to Adobe Flex has left Changer098.com with new difficulties. Such as; the longing bearing task for loading the page as you have experienced. Also, Flex requires Adobe Flash, AIR, and Shochwave to work correctly. So if you are viewing this site and do not have these plugins enabled, please enable them for designated viewing pleasure.</mx:text>
          <mx:TextInput x="127" y="505" maxChars="30" editable="true" enabled="true"/>
          <mx:Label x="0" y="507" text="Your Email Addresse" enabled="true"/>
          <mx:TextInput x="127" y="535" editable="true" enabled="true" maxChars="30"/>
          <mx:Label x="0" y="537" text="Your Username" width="119"/>
          <mx:TextInput x="0" y="565" editable="true" enabled="true" maxChars="500" width="287" height="140"/>
          <mx:CheckBox x="0" y="713" label="By clicking this you agree to the terms and conditions" selected="false" enabled="true"/>
          <mx:Button x="10" y="743" label="Terms And Conditions">
              <mx:click>navigateToURL(new URLRequest('http://changer098.webs.com/tac.html'), '_blank')</mx:click>
          <mx:Button x="0" y="773" label="Send" id="send">
              <mx:click>(navigateToURL(new URLRequest('mailto:RyanRocks2008@Hotmail.com') , navigateToURL(new URLRequest('http://changer098.webs.com/sent.html'), '_blank')</mx:click>
          <mx:Label x="0" y="803" text="Do Not Send Unless You Agree To Terms And Conditions" fontSize="15" textDecoration="underline" fontWeight="bold"/>
      It says there is an error at line: 18. Can anyone help me?