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 1095, AS3 Error 1084
This ActionScript Error is a quick one. I hope this helps you solve it.
As always Happy Flashing
Pingback: curtismorley.com » Search Engine Optimization Example
Pingback: curtismorley.com » Flex / Flash ActionScript Error #1095