Gallery Builder
It never was so easy like now to show photos in an amazing view. It's like one-two-three: choose photos, customize any of 10 galleries, publish the gallery. That's all.
Publishing the gallery
Publishing without a configuration file
- Drop the gallery’s component to the stage from the Components panel.
- Set a name for the gallery’s instance in the Properties panel
- Set a position and dimensions of the instance in the Properties panel
- Customize the view of the gallery using parameters in the Parameters panel or the Properties panel
- Set values for the parameters “imagesFolder” and “thumbnailsFolder”. (If you do not set paths to these folders you should include it by yourself in the path to every image, e.g. “images/1.jpg”)
- Open the actions panel or the main class of your flash-movie
- Set all info about images as follows:
- Build the gallery with added items:
- Now you can publish your Flash movie.

Fig. 1. Gallery Flash Component

Fig. 2. Name for the gallery’s instance

Fig. 3. Position and dimensions

Fig. 4. Component parameters

Fig. 5. Path to images and thumbnails folders

Fig. 6. Actions panel
galleryInstance.items=[{source:”1.jpg", thumb:”1t.jpg”, description:”first image”},
{source:”2.jpg", thumb:”2t.jpg”, description:”second image”},
{source:”3.jpg", thumb:”3t.jpg”, description:”third image”}];

Fig. 7. Info about images
galleryInstance.build();

Fig. 8. Build the gallery
Publishing using a configuration file
An XML or JSON file can be used to add gallery images.
- Drop the gallery’s component to the stage from the Components panel.
- Set a position and dimensions of the instance in the Properties panel
- Customize the view of the gallery using parameters in the Parameters panel or the Properties panel
- Set values for the parameters “imagesFolder” and “thumbnailsFolder”. (If you do not set paths to these folders you should include it by yourself in the path to every image , e.g. “images/1.jpg”
- Create a configuration file with info about images using a JSON or XML structure
- Set a path to the configuration file using the parameter “configPath” in the list of parameters:
- Now you can publish your Flash movie.

Fig. 9. Gallery Flash Component

Fig. 10. Position and dimensions

Fig. 11. Component parameters

Fig. 12. Path to images and thumbnails folders

Fig. 13. Path to the configuration file





