This image viewer allows you to specify an image file inside an XML file, and this image is loaded into the viewer at startup.
The image can be of any size and any dimension and the image viewer will automatically adjust itself to suit.
You can also open up the FLA file and change the stage size and republish, and once again the application will automatically readjust itself to suit - completely automatically with no adjustments required to the code.
All of the code is inside an external .as class file apart from a single line that instantiates the class within the FLA, so it's really easy to edit the look and functionality of the class should you want to.
The image can be of any size and any dimension and the image viewer will automatically adjust itself to suit.
You can also open up the FLA file and change the stage size and republish, and once again the application will automatically readjust itself to suit - completely automatically with no adjustments required to the code.
All of the code is inside an external .as class file apart from a single line that instantiates the class within the FLA, so it's really easy to edit the look and functionality of the class should you want to.