ah yes thank you that fixed that problem! but now when I try running the program, I get the error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at flixel.tile::FlxTilemap/loadMap()
at IntroTiled()
at PlayState/create()
at flixel::FlxGame/switchState()
at flixel::FlxGame/update()
at flixel::FlxGame/step()
at flixel::FlxGame/onEnterFrame()
now from that error I get that FlxTileMap cannot read the Tiled(.tmx) file because the layer format is at base64. I change it to CSV layer format but then I get the error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at flixel.addons.editors.tiled::TiledLayer/getByteArrayData()
at flixel.addons.editors.tiled::TiledLayer/get_tileArray()
at IntroTiled()
at PlayState/create()
at flixel::FlxGame/switchState()
at flixel::FlxGame/update()
at flixel::FlxGame/step()
at flixel::FlxGame/onEnterFrame()
and now Tiled can't read the layers because they are on CSV format. How can I fix this?