XML Image Gallery with Star Style
| Category | : Flash | Views | : 92455 | ||
| Version | : 8 | Rating | : | ||
| Type | : Text | Source File | : xml-image-gallery-with-star-style.zip | ||
| Result | : See the result | ||||
The images are loaded and are put on random positions.

When the user clicks on an image, the "camera" will travel thought the other images like they were stars in the space and the image clicked will enlarge in the middle of the screen.

First create a new MC to use as a frame for the pictures:

The rectangle inside the frame on my MC has the size "200x150", if your is different just remember the number because we are going to use it.
Allow this MC to be exported for actionscript and set the identifier to "frame".
Create an XML file like the one below and save it in the same folder of your flash files.
<xml>
<images>
<image1 title = "1.jpg" />
<image2 title = "2.jpg" />
<image3 title = "3.jpg" />
<image4 title = "4.jpg" />
</images>
</xml>
Take some images and copy their paths to the attribute "title" of any node.
