Welcome!

Adobe Flex Authors: Liz McMillan, RealWire News Distribution, Maureen O'Gara, Yakov Fain, Keith Swenson

Related Topics: Adobe Flex

Adobe Flex: Article

How to Develop Photo Galleries Using Dreamweaver

Sharing photos

Time it takes: 20 minutes Requirements: Dreamweaver
Build a Flash gallery in Dreamweaver

Screen16: Setting up the page
Open a new document, save and give it a page title. Go to the Insert bar and select Flash Elements. Or select the tab, depending on your view. I know it says Elements plural, but there is only one element called the "Flash Viewer" I believe the intent was that more would be developed but here we are on the second year since it was added and it's still all alone.

Screen17: Add the Flash Element
Click on the Flash Element. The "Save Flash Element" dialog box opens. Navigate to where you'd like to save the generated Flash movie. Name it and save. You will now notice a gray box added to your document. Notice the Property inspector, how it's changed. You'll be able to preview right here in Dreamweaver.

Screen18: Flash Element Panel
Look in the Panels area, there is a new panel added "Flash Element". You'll see all the properties available. This is where you'll edit the movie file to display your photos. You should have your images resized prior to inserting. Select the Flash Element, in the Property inspector change the dimensions to just a little larger than your largest image.

Boxout annotation. (I don't know how much space this will take so I may need to do some editing when I return from vacation. I'm winging this )

Use image annotations.gif (but screen18.tif cropped please)

  1. bgColor: Click in the bgColor box and select a color. This is the background of the Flash movie not of your document.
  2. imageLinks (I have a screeshot if it can be fit in): You can add links that correspond to each image if you'd like. Click the little pencil icon to open the Image Links Array dialog. Add links in the same order as image URLs.
  3. imageURLs: Click the pencil icon, enter the URL of each image. Click in the first name and click the yellow folder to navigate to your image files. Click the + button to add more image links.
  4. showControls/slideAutoPlay: These two kind of go together. You can have the movie AutoPlay with or without navigation controls.
  5. slideDelay: The number you enter determines how much time elapses before the next slide is seen. You'll probably need to test a few times to get the timing just right.
  6. transitionsType: There are 11 types of transitions, you'll want to test them all! Or you can choose to have no transition at all.
Screen19 (depending on room left I can expand or contract these last couple of steps)

Test the movie
Select the Flash Element and in the Property inspector click on Play. For me a delay of 5 is too much so I'm changing it to 3. Stop the movie, change the transition, then play again to test. Repeat as often as needed.

Screen20: Preview in a Browser
Press F12 to view in your default browser. This Flash Element can be used in any design. Just be sure to size the images and viewer to fit in the available space.

Resources

More Stories By Joyce Evans

Joyce J. Evans is a training veteran with over 10 years of experience in educational teaching, tutuorial development, and Web design. She has presented at conferences such as Macromedia MAX 2003 and TODCON. Joyce has authored books including Macromedia Studio MX 2004 Bible, Dreamweaver MX 2004 Complete Course, and others. Joyce is a Team Macromedia volunteer and her work is also featured in the Macromedia Design/Developer center. Her Web site is www.JoyceJEvans.com.

Comments (1) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Web Developer's & Designer's Journal 08/15/06 03:23:05 PM EDT

Everyone is toting a digital camera these days it seems and they have photos to share with you. I'm sure you're not one of those who want to bore family and friends with your gazillion pictures of your dog/cat/snake. Even if you are, you can now do it with some pizzazz and it's easier than you may think. You could send the photos via email but then they'd take forever to arrive and your family probably doesn't know how to open them anyway. So the best solution is a spiffy new photo gallery.