I tried to make the components and classes so you lose as little functionality in flash as possible. Sqew and rotate or such functionalities that might become very usefull and interesting. The Mapviewer will always calculate the maximum pxicels needed to make it look correct on the page.
This example shows you how easy you can do rotate and skew.
How do you make use of a class instead of the component?
Draw a box on the stage and convert this into a movieclip. Make sure Movieclip is selected and the aker point is on the upper right corner. Check the "Export for actionscript" under linkage. Then type "maps_v2.Mapviewer" under the AS2.0 field. (It is case sensitive so make sure you typed a big M)
Call the Movie Clip instance on the stage "my_map"
Now you have a movie clip converted into a Mapviewer. Close the window and go to the first frame. Open the Action script Panel F9. Since the class is not executing anything you need to put some action script code.
// Link the map to the IMSConnector
my_map.connector = my_conn;
// Ask to process an image
my_map.processImage();
This Movieclip can now do any animation you have in mind.