| One of the most effective ways to keep the file size of your FlashR project to a minimum is to use external assets as much as possible. Whether these assets are images, text or swf files, if they are external to the main Flash movie, they do not contribute to its download time. In this tutorial, we will learn how to use ActionScript 3 to load an external image into our main Flash movie. This image file can be a GIF, PNG, JPEG or progressive JPEG. By default, the top left corner of the image will be aligned with the 0,0 X and Y coordinates on the Stage. However, this can be changed with ActionScript. Also be default, the image will be placed above, ie on top of, the current contents on the Stage.
Join us in the Flash forum. |
View This Article in Regular Layout
Content copyright © 2009 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Diane Cipollo for details.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Diane Cipollo for details.
| About BellaOnline | Privacy Policy | Advertising | Become an Editor | Website copyright © 2009
Minerva WebWorks LLC. All rights reserved.
|

