Welcome To MyFreeWebTemplates.info Flash Tutorials Area - Load JPEG with loadMovie()
Launch Flash Designer and choose "Blank Animation". Choose "Frame" > "Frame Size" to set movie dimensions. Enter 300 x 300 and click OK.
Choose "Sprite" tool and draw a rectangle on the frame. Flash Designer will create new sprite and display blank "chessboard" frame.
Choose "Movie" > "Go to Main Thread" to quit sprite thread. You should see "Sprite1" as the name of the empty sprite.
Choose "Item" > "Placement properties" and check "ActionScript" target. Click OK.
Choose "Item" > "Resize", uncheck "Keep proportions" and enter width and height that will match your jpeg image size. Click OK.
Choose "Button" tool and draw a button below the sprite.
Choose "Item" > "Edit Properties". Rename button to "Load Movie". Click OK.
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.
Choose "Frame" > "Frame Delay" and check "Stop" options to create static frame. Click OK.
Choose "File" > "Export SWF file" and export flash movie to the same folder where your jpeg image is.
Choose "File" > "Export HTML Page". The page will popup in a new browser window.
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.
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.