11.07.07

Flex 2 / Flash CS3 Syntax Error #1100

Posted in Error, Error, errors, Flash, Flex at 12:38 am by Curtis J. Morley

Error #1100: Syntax error: XML does not have matching begin and end tags.

Description:
Here is another easy AS3 error. This Flex/Flash Error means that your XML is not valid because the end tag is simply missing or you left off the end slash (/). *Note: This AS3 error is similar to ActionScript Error #1085

Solution:
Close that end tag.

Bad Code 1

var dogXML:XML =
<dog>
<name>Fido
</dog>

or

var dogXML:XML = new XML();
dogXML =
<dog>
<name>Fido<name>
</dog>

Good Code

var dogXML:XML = new XML();
dogXML =
<dog>
<name>Fido</name>
</dog>

Related Errors:
ActionScript Error #1085

I hope this helps you solve ActionScript Error #1100

As Always Happy Flashing

Curtis J. Morley

2 Comments »

  1. curtismorley.com » Flex 2 / Flash CS3 Error #1085 said,

    November 7, 2007 at 12:43 am

    […] Description: Here is another easy AS3 error. This Flash Error means that your XML is not valid because the end tag either does not match the opening tag or that the tag is simply missing. When it says “The element type” it is talking about the XML element. In my case this would be <name>. *Note: This AS3 error is similar to ActionScript Error #1100 […]

  2. curtismorley.com » ActionScript Warning #1100 said,

    March 24, 2008 at 12:25 pm

    […] This is not ActionScript Error #1100.  Click this link to find AS3 Error #1100. This should help you resolve Flash / Flex Warning […]

Leave a Comment