Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
32 views

MANUAL "Fullscreen XML VRT V2": How To Add/remove Images?

This manual provides instructions for customizing a photo gallery XML file and Flash files. It explains how to add and remove images by editing the XML file and provides code examples. It also describes how to change thumbnail sizes by editing the "main.fla" file and code, change the background image by editing the "background.fla" file and code, modify gradient colors, edit background images, add SWF files, and modify objects by accessing the library in the .fla files.
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

MANUAL "Fullscreen XML VRT V2": How To Add/remove Images?

This manual provides instructions for customizing a photo gallery XML file and Flash files. It explains how to add and remove images by editing the XML file and provides code examples. It also describes how to change thumbnail sizes by editing the "main.fla" file and code, change the background image by editing the "background.fla" file and code, modify gradient colors, edit background images, add SWF files, and modify objects by accessing the library in the .fla files.
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

MANUAL “Fullscreen Xml VRT V2”

How to add/remove images?


Open the file “photoGallery.xml”.
For each image add this code:
<images>
<title><![CDATA[PICTURE NAME]]></title>
<description><![CDATA[Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus
id lectus. Duis turpis dui, pellentesque id, rutrum sed.]]></description>
<tmb>photoGallery/tmb1.jpg</tmb>
<img>photoGallery/img1.jpg</img>
</images>

You can add a tile, description, thumbnail and large image for a single item.
The thumbnails must have 80x60px resolution.
The images could have the resolution you wish.
Both type of images need to be saved on the folder “photoGallery”.

How many images can I add?


As many images as you want.

Are the images used in the gallery the same used in the thumbnails?
No. This gallery needs to have 2 kinds of images: thumbnails with a fixed size of 80x60 and
images with random size.

How to change the size of the thumbnails?


Open the “main.fla” file. Enter the object “tmb” from the library and select the stage object
with the instance name “containerTmb”. Resize the object to your needs. Also, with the object
selected, press F9 for the actions painel and edit this code:
onClipEvent (load) {
this._width = 80;
this._height = 60;
}

You must alter these values to your new resolution thumbnails images.

How to change the background?


To change the background enter the folder “backgrounds”, open “background.fla” file and edit
the “mc_fill_image” movieclip and replace to any tiled image. Enter the actions painel and alter
this code with the correct dimensions of the new image:
tileBackgroundWidth = 227;
tileBackgroundHeight = 417;

How to change the gradient colors?


If you want to change the gradient colors edit the “mc_filter_for_image” movieclip and paint it
as you want.

How to edit the background images?


You can access the image inside your background library .fla file and export it as an image
outside flash. Edit it and then import it again. Use the instructions on topic How to change the
background?.

Is this gallery capable of loading swf files?


Yes. Nevertheless, Triworks.net does not give support on this issue. This functionality does not
belong to the original package. As a warning advice, be careful with the fact that the images
have invisible buttons below them to open information data. If you load a swf the interactivity
with other objects from that file may be damage by the layered button.

I wish to edit any object of this file. How can I do it?


Every object you may need, you’ll find it the .fla file library. There aren’t many objects to edit so
there’s no need to specify each case.

You might also like