01.16.08

Flex / Flash ActionScript Error #1095

Posted in Browser, Computers, errors, Flash, Flex at 10:43 pm by Curtis J. Morley

ActionScript Error #1095: Syntax error: A string literal must be terminated before the line break.

Description:
Error 1095 is a simple and fairly well described ActionScript Error. This error will appear when you have left off the closing double quote marks in a particular line. This is very closely related to AS3 Error #1094 which will help you out when you improperly use single quotes. You will most likely get AS3 syntax error 1083 and syntax error 1084 after this this one. These can most likely be ignored and will go away once the 1095 Error is taken care of

Fix:
End the string properly by putting double quotes in the proper place

Bad Code:

trace("This is missing a double quote + someVar);

Good Code:

trace("This is not missing a double quote"+ someVar);

Related ActionScript Errors - AS3 Error #1094, AS3 Error 1084

This ActionScript Error is a quick one. I hope this helps you solve it.

As always Happy Flashing

3 Comments »

  1. curtismorley.com » Flex / Flash ActionScript Error #1094 said,

    January 18, 2008 at 4:16 pm

    […] left off the closing single quote marks in a particular line.  This is very closely related to AS3 Error 1095 which will help you out when you improperly use double quotes.  You will most likely get AS3 […]

  2. curtismorley.com » ActionScript Error #2032 said,

    February 8, 2008 at 8:09 pm

    […] Related ActionScript Errors – AS3 Error 2044 Unhandled IOError Event […]

  3. Rico Roberts said,

    September 2, 2009 at 2:35 am

    thx so much, I was going crazy trying to figure this out!

Leave a Comment