Topic: How to get the same effect as seen on the demo ?

Hello everyone,

I actually working on a website with SimpleViewer-Pro.
I would like to configure my Options.as file to get the same black effect on the images as seen on the demo here :

http://www.simpleviewer.net/autoviewer/app/

I know that I have to change the unselectedBrightness and the initialBrightness, but which number should I use ?

static var unselectedBrightness:Number = -120; //Brightness applied to unselected images (-255 = black, 255 = white)
static var initialBrightness:Number = -255; //Brightness applied to first image when loaded (-255 = black, 255 = white)

Thanks a lot for your answers,
G

Re: How to get the same effect as seen on the demo ?

The default values should match the demo.

Felix Turner
SimpleViewer Support Team.

Re: How to get the same effect as seen on the demo ?

Thanks for your quick answer.
I used the default file Options.as but the effect is not the same.

In the demo the image becomes normal (no transparency effect) when it reach the center of the screen. In the website i'm building when you clic on an image it become normal and then slide to the middle of the screen. I want the image to become normal when it reach the center of the screen.

Please find here the exemple of what I get now.

http://www.acielouvert.net/anne/web/test.html

The Options.as file is set as follow (default) :

    static var unselectedBrightness:Number = -120; //Brightness applied to unselected images (-255 = black, 255 = white)
    static var initialBrightness:Number = -255; //Brightness applied to first image when loaded (-255 = black, 255 = white)

Re: How to get the same effect as seen on the demo ?

Try changing the 'slideAnimationLength' and 'colorFadeAnimationLength' options to alter the timing of the animations.

Felix Turner
SimpleViewer Support Team.

Re: How to get the same effect as seen on the demo ?

I got it right, thanks for your help.