Flash Templates

Flash Templates Today
Web Sites
Free Shape
Photoshop Tutorials
Flash Tutorials

Free Website Templates
View All Templates!
Preview & Download
Preview & Download
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
Free Website Templates: 123456789101112131415
Preview & Download Preview & Download Preview & Download

Welcome To MyFreeWebTemplates.info Flash Tutorials Area - Load JPEG with loadMovie()

  1. Launch Flash Designer and choose "Blank Animation". Choose "Frame" > "Frame Size" to set movie dimensions. Enter 300 x 300 and click OK.
  2. Choose "Sprite" tool and draw a rectangle on the frame. Flash Designer will create new sprite and display blank "chessboard" frame.
  3. Choose "Movie" > "Go to Main Thread" to quit sprite thread. You should see "Sprite1" as the name of the empty sprite.
  4. Choose "Item" > "Placement properties" and check "ActionScript" target. Click OK.
  5. Choose "Item" > "Resize", uncheck "Keep proportions" and enter width and height that will match your jpeg image size. Click OK.
  6. Choose "Button" tool and draw a button below the sprite.
  7. Choose "Item" > "Edit Properties". Rename button to "Load Movie". Click OK.
  8. Choose "Item" > "Actions" > "OnClick", select "ActionScript" and enter the code:

    Sprite1.loadMovie("t1023.jpg");
    Sprite1.play();

    The name must match your jpeg file name. Click OK.

  9. Choose "Frame" > "Frame Delay" and check "Stop" options to create static frame. Click OK.
  10. Choose "File" > "Export SWF file" and export flash movie to the same folder where your jpeg image is.
  11. Choose "File" > "Export HTML Page". The page will popup in a new browser window.
  12. Click "Load Movie" in your Flash file to load jpeg image

JPEG image must be in baseline compression, progressive is not supported (Flash player will not show progressive JPEG). See Macromedia TechNote

Import JPEG image to Flash Designer to check if the image is not progressive compressed, use "File" > "Import Image" command. If the image is progressive Flash Designer will display a warning message.

Flash Designer 5.0.13.14 or earlier does not save "ActionScript Target" attribute. Upgrade to newer version to fix this.

To load image use ActionScript code:

Sprite1.loadMovie("imagename.jpg");

to load Flash movie use

Sprite1.loadMovie("flash.swf");


Illustrator Tutorials
HTML Tutorials
Flash Templates
Free Web Templates
Free Website Templates
Free Flash Templates
Web Templates Forum
Welcome to MyFreeWebTemplates.info we have a collection of Free Templates available for download created by designers from around the globe. Our collection is growing daily so be sure to check back often for more Free Templates. If you can't find a Free Template that suits your needs, we may offer you many professional web templates and flash web templates.

Website templates are pre-made website designs that you can customize and personalize to suit your company's image.You can save time and money by using website templates for your design project.
All Rights Reserved 2007-2008 by MyFreeWebTemplates.info