RE: [flexcoders] Syntax Error: A string literal must be terminated before the line break.

2007-01-29 Thread Gordon Smith
A "string literal" is a string value enclosed in single or double
quotes.

 

Both FlexBuilder and the command-line mxmlc should be giving you the
line number of the problematic line. Is this not happening?

 

- Gordon

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Roger Ross
Sent: Friday, January 26, 2007 12:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Syntax Error: A string literal must be terminated
before the line break. 

 

Hello,

What does this error mean?
I have compared my code to the code in the tutorial files and it looks
the same.

Syntax Error: A string literal must be terminated before the line break.


I get the error for this code as well;





other code


any idea's...

Thanks

Roger

 



RE: [flexcoders] Syntax Error: A string literal must be terminated before the line break.

2007-01-29 Thread Tracy Spratt
Probably somewhere you have code like this:

mailto:[EMAIL PROTECTED] On
Behalf Of Roger Ross
Sent: Friday, January 26, 2007 3:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Syntax Error: A string literal must be terminated
before the line break. 

 

Hello,

What does this error mean?
I have compared my code to the code in the tutorial files and it looks
the same.

Syntax Error: A string literal must be terminated before the line break.


I get the error for this code as well;





other code


any idea's...

Thanks

Roger

 



Re: [flexcoders] Syntax Error: A string literal must be terminated before the line break.

2007-01-27 Thread Troy Gilbert

Sounds to me like there's got to be an attribute that's not closed off
(starts with a quote but doesn't end with a quote). That's what I'd take
that error to mean... double check your code (and you can always try just
copy-n-paste the code from the example and see if it makes a difference).

If you *did* copy-n-paste part of the code from a help doc, you may want to
double-check all of your quotes and make sure they're really quotes (delete
them and re-type them, don't copy-n-paste). That's because I've run into a
few text editors (don't know if Eclipse/Flex Builder is one) where quotes
get copied to the clipboard as richtext and the second quote (or both) will
be "corrected" quotes that turn in toward the phrase being quoted (smart
quotes I think is what Word calls it). Anyway, some text editors don't
convert them back to straight quotes, but rather interprets it as unicode
character, and in a string, don't recognize it as a closing quote.

Just an idea...

Troy.


On 1/26/07, Roger Ross <[EMAIL PROTECTED]> wrote:


  Hello,

What does this error mean?
I have compared my code to the code in the tutorial files and it looks
the same.

Syntax Error: A string literal must be terminated before the line break.

I get the error for this code as well;





other code


any idea's...

Thanks

Roger

 



[flexcoders] Syntax Error: A string literal must be terminated before the line break.

2007-01-26 Thread Roger Ross
Hello,

What does this error mean?
I have compared my code to the code in the tutorial files and it looks
the same.

Syntax Error: A string literal must be terminated before the line break.

I get the error for this code as well;





 other code


any idea's...

Thanks

Roger