XML Image Gallery with Star Style

Category : Flash Views : 58415
Version : 8 Rating
3.3/5 (86 votes)
Type : Text Source File: xml-image-gallery-with-star-style.zip
Result: See the result


Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Next

The images are loaded and are put on random positions.
Free Flash Tutorials, XML Image Gallery, Star Style Image Gallery

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.
Free Flash Tutorials, XML Image Gallery, Star Style Image Gallery

First create a new MC to use as a frame for the pictures:
Free Flash Tutorials, XML Image Gallery, Star Style Image Gallery

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.


del.icio.us digg it Reddit Stumble Upon Technorati

Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Next




Supporters

Reseller Web Hosting