Sie sind nicht angemeldet.

1

Dienstag, 10. Juni 2014, 18:04

Zoom in while opening an image from a hot spot

Hi,

On a project I am actually working on, each hotspots already starts a different soundtrack and open an image with a single click. That's already done. When I open an image with a HS I need to add a zoom effect on that image. Tried a few things but I always end up with errors. Can you help? Thank you

2

Dienstag, 10. Juni 2014, 21:18

What to you mean by HS?
What do you mean by add a zoom effect. To be zoomed on screen or that user have buttons to zoom in/out.
You can add two buttons and make image scale with some steps.

3

Dienstag, 10. Juni 2014, 21:51

What to you mean by HS?
What do you mean by add a zoom effect. To be zoomed on screen or that user have buttons to zoom in/out.
You can add two buttons and make image scale with some steps

HS = hot spot
I have program my hot spots to start a specific narration and an image appear on screen. I would like this image to appear with a zoom in effect.
Here is the link....
http://www.360-image.com/360/helico/

Click on the help (6) check the help menu, it's zooming in

4

Dienstag, 10. Juni 2014, 22:58

Addfirst and last line in pasted action to your of the same name in the file: helico-en_skin.xml

Quellcode

1
2
3
4
5
6
7
8
9
10
 <action name="setDisplayedImageObjectParameters">     
    set(layer[displayedStandardImage].scale, 0);
    set(layer[displayedStandardImage].url    , %1);
    set(layer[displayedStandardImage].align  , %2);
    set(layer[displayedStandardImage].x      , %3);
    set(layer[displayedStandardImage].y      , %4);
    set(layer[displayedStandardImage].width  , %5); 
    set(layer[displayedStandardImage].height , %6);    
    tween(layer[displayedStandardImage].scale, 1);
  </action>

5

Dienstag, 17. Juni 2014, 15:35

Zoom effect on image opened from a hot spot

Addfirst and last line in pasted action to your of the same name in the file: helico-en_skin.xml

Quellcode

1
2
3
4
5
6
7
8
9
10
 <action name="setDisplayedImageObjectParameters">     
    set(layer[displayedStandardImage].scale, 0);
    set(layer[displayedStandardImage].url    , %1);
    set(layer[displayedStandardImage].align  , %2);
    set(layer[displayedStandardImage].x      , %3);
    set(layer[displayedStandardImage].y      , %4);
    set(layer[displayedStandardImage].width  , %5); 
    set(layer[displayedStandardImage].height , %6);    
    tween(layer[displayedStandardImage].scale, 1);
  </action>


This does not seems to work. There is no variable to set the time. I add the code but it didn't changed the behaviour of the image

6

Dienstag, 17. Juni 2014, 18:04

You just do what I told you and it will work.
See that in your file:
http://www.360-image.com/360/helico/heli…ico-en_skin.xml
you didn't change action setDisplayedImageObjectParameters as I told you.