
February 4th, 2004, 02:32 PM
|
|
Gotta get to the next screen..
|
|
Join Date: Nov 2003
Location: Legion of Dynamic Discord
|
|
Hi, to make simple thumbnail pop-ups - 1st make a smaller image of the original.
- Now open a new flash document.
- Open the library (window->library).
- Now choose file->import to library. Choose the smaller image you just made. Now you should see a new bitmap object in your library.
- Click the icon at the top right of the lib and select create symbol. Give it a name and choose button. A button symbol has four frames which are the four states.
- Drop the image from the library into the first fame of the button. If you want to make highlights etc for each state then read up on buttons in the flash help.
- Now navigate back to the top level of the movie. You should still have a blank stage at this point.
- Now drag an instance of the button from the library to the stage.
- Left click on the button once and then open the actionscript panel. If you cant type directly in the AS window then choose expert from the little blue icon drop down box. Now type:
on(release)
{
getURL("largerImage.jpg", "_blank");
}
That's assuming the larger version is called largerImage.jpg and also that you want it to open in a new browser window.
__________________
-Tann
-Vote for your favorite ActionScript editor here.
|