tags:

views:

63

answers:

0

I know that a parse error means formatted unproperly, but I don't know what's wrong.

It has the error right here:

<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

It is in my main.mxml file. I am trying to make a game application.

This is what it shows for the error:

Severity and Description Path Resource Location Creation Time Id Parse error at '\n{\n import flash.display.DisplayObject;\n \n import mx.core.UIComponent;\n \n public class DisplayObjectUIComponent extends UIComponent\n {\n public function DisplayObjectUIComponent(sprite:DisplayObject)\n {\n super ();\n \n
explicitHeight = sprite.height;\n
explicitWidth = sprite.width;\n \n
addChild (sprite);\n }\n }\n}\n\n{\n import org.flixel.*;\n\n public class FlixelGame extends FlxGame\n {\n public function FlixelGame():void\n {\n super(320, 240, MenuState, 2, 0xff131c1b, true, 0xff729954);\n
help(\"Jump\", \"Shoot\", \"Nothing\");\n
useDefaultVolumeControls(true);\n }\n }\n}\t\n'. A Game/src main.mxml line 2 1262490422084 3

And I have no clue what that means. Help!