You can use the following code to resize the scene, where width and height are the variables you set
// Set the scene for proper dimensions
getScene( ).sceneWidth = width * tileWidth;
getScene( ).sceneHeight = height * tileHeight;
Engine.sceneWidth = getScene( ).sceneWidth;
Engine.sceneHeight = getScene( ).sceneHeight;
I have an extension published to the forums that implements FAST XML parsing. I've used this extension to save/load world data like you are describing. Use the TileAPI to create layers and tiles as you need them.