English Deutsch 中文   




Skin Editor Masking

From Garden Gnome Software

Jump to: navigation, search



Download the source files
Download Video

Masking allows you to show parts of an image or sets of images and hide other parts, so masking off the unseen area. This effect can be used when building Galleries, Load Bars and gives you another resource to create some good effects.

Contents

How Does Masking Work?

Masking is accomplished by using containers, when enabled you will be able to see the contents of the container but anything outside of the containers area will be hidden.

Enable Masking

Open a project, then open the Skin Editor, place a container in the Skin Editor's window and then double click it to get to the containers Element Editor. You will see an Enable check box as show below:

Masking pic 1.png

For the masking to work the elements to be masked must be a Child of the masking container:

Masking pic 2.png

You can see from the above picture that the thumbnails and thumb_bg elements are indeed a Child or the masking container, container_thumbnails. The container,container_thumbnails has the same dimensions as one of the thumbnail images, so you will only see one thumbnail at a time, the others outside of the containers area will be masked. There are actions in the map hotspots that when the mouse enters them, the element, thumbnails will slide across a set distance placing a new thumbnail image in the area of the container_thumbnails.
This masking effect will open up many possibilities to create, in tour galleries, loaders and other effects that were not possible before.


Printable version or PDF

This page was last modified on 14 September 2011, at 11:08.


© 2012 Garden Gnome Software