01.17.08

Flex / Flash ActionScript Error #1094

Posted in Error, errors, Flash, Flex at 8:14 pm by Curtis J. Morley

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

Description:
Error 1094 is a simple and fairly well described ActionScript Error.  This error will appear when you have 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 syntax error 1083 and syntax error 1084 after this this one.  These can most likely be ignored and will go away once the 1094 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 single quote + someVar);

Good Code:

trace('This is not missing a single quote'+ someVar);

Related ActionScript Errors - AS3 Error 1095AS3 Error 1084

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

As always Happy Flashing

2 Comments »

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

    January 18, 2008 at 4:21 pm

    […] 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 […]

  2. curtismorley.com » Search Engine Optimization Example said,

    June 2, 2008 at 4:48 pm

    […] AS3 Error 1094 – #1,2 hit on Google […]

Leave a Comment