Blogs

A tip for Flash developers: how to get rid of #1088 "Bad XML markup"

If you get the annoying message '#1088: The markup in the document following the root element must be well-formed', here is (possibly) the solution.
Some say, the slash is necessary in the opening tag (like <"entry"> is not correct, you should write "entry /">. Some say there couldn't be more than 30 items in the root element. The truth is out there, just do the following:

  • Check if there are any extra characters in the beginning. For example, UTF-8 header (also called BOM, Byte Order Mark).
  • Check if there's 0x1A (#26 ASCII, 'EOF') in the end of the file.

Another busy month

We're getting more orders, that's why no articles or content. BUT be sure to check again soon, another top-down scroller is 99% complete!

Plans

This month we continue work on the Tower Defense project, and custom version of Skylark.

Free Action Script 3 code: homing missiles

This article is for the beginners and those, who like to save their time with copy/paste programming. Though it is assumed the reader is familiar with at least one programming language, preferably JavaScript or Lua, if not Action Script.

Ok, here we go. I prefer Flex, but the .fla file is available as well. If you like to put this tutorial on your site, be sure to ask first (please use the contact form). I also would like to mention that the provided code is far from optimal, and is written for educational purposes only.

The final result looks as follows:

Download SWF+Flex Project archive

Download SWF+.fla archive

Looking for sponsorship

If you like to become the exlcusive sponsor of MAMAUCAN, please click here

Syndicate content