2 Replies Latest reply on Feb 10, 2009 1:59 PM by rtalton

    Flex Embed Issue

    bnns Level 1
      Hi,

      I've been working with flex for some time now and i cannot seem to get any embed function to work properly on my machine. Another individual that i'm working with doesn't have any problems with the code and it compiles and runs perfectly fine, but when i try to compile it, the compiler breaks.

      <mx:SWFLoader id="loaderimage" source="@Embed(source='load/loading_icon_halfspeed.swf')" y="1" x="2"/>

      The above line of code simply beaks the compile and i end up with 10 error messages posted below and none of which point to any specific line of code when double clicked.

      Compiler Error Messages
      Severity and Description Path Resource Location Creation Time Id
      1084: Syntax error: expecting rightbrace before end of program. will-generic line 29 1232423436288 170
      Severity and Description Path Resource Location Creation Time Id
      1084: Syntax error: expecting rightbrace before end of program. will-generic line 29 1232423436288 171
      Severity and Description Path Resource Location Creation Time Id
      1084: Syntax error: expecting rightbracket before end of program. will-generic line 29 1232423436287 169
      Severity and Description Path Resource Location Creation Time Id
      1084: Syntax error: expecting rightparen before s. will-generic line 25 1232423436285 162
      Severity and Description Path Resource Location Creation Time Id
      1093: Syntax error. will-generic line 25 1232423436286 163
      Severity and Description Path Resource Location Creation Time Id
      1093: Syntax error. will-generic line 25 1232423436286 164
      Severity and Description Path Resource Location Creation Time Id
      1093: Syntax error. will-generic line 25 1232423436286 165
      Severity and Description Path Resource Location Creation Time Id
      1093: Syntax error. will-generic line 25 1232423436287 166
      Severity and Description Path Resource Location Creation Time Id
      1093: Syntax error. will-generic line 25 1232423436287 167
      Severity and Description Path Resource Location Creation Time Id
      1094: Syntax error: A string literal must be terminated before the line break. will-generic line 25 1232423436287 168

      Any assistance with this bug would be much appreciated,
      Thanks in Advance,

      bnns