Best opensource tile map editor (Vector based for actionscript)
===

I am looking for an online tile map editor. After searching a lot I stopped on Tiled(http://www.mapeditor.org/), but its an offline solution. I am looking for an editor like http://www.youtube.com/watch?v=v3Nq9I7CPPU (Dofus?)and this demo looks awesome http://www.youtube.com/watch?v=wk5QYPtDQ4U&feature=related

Looking for Dofus pointed me to the game. I just want an editor which can export in a predefined XML/JSON schema and I should be able to load it in my ActionScript game.

Please point me to the right resources to implement something like Dofus(Virtual World).
