You are not logged in.

1

Tuesday, June 10th 2014, 6:04pm

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

Umalo

Professional

Posts: 1,051

Location: Osijek, Croatia, EU

  • Send private message

2

Tuesday, June 10th 2014, 9:18pm

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

Tuesday, June 10th 2014, 9:51pm

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

Umalo

Professional

Posts: 1,051

Location: Osijek, Croatia, EU

  • Send private message

4

Tuesday, June 10th 2014, 10:58pm

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

Source code

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

Tuesday, June 17th 2014, 3:35pm

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

Source code

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

Umalo

Professional

Posts: 1,051

Location: Osijek, Croatia, EU

  • Send private message

6

Tuesday, June 17th 2014, 6:04pm

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.