You are not logged in.

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

1

Thursday, May 3rd 2012, 1:27pm

How to flyout picture displayed when exit full screen?

Hi,

As written in the title, i'd like to set an event which flyout the hotspot fixed at screen when exit full screen. I tried :

Source code

1
<events onexitfullscreen="flyout(pic_desserts);"

It didn't work.
I don't know how to set a general flyout action like: flyout(get(name));

Any help would be welcome!
Thanks.
Steph. *smile*
Steph

2

Friday, May 4th 2012, 7:09pm

Hi,

please show also the code of the 'flyout' action in your case!
maybe that code is designed only for direct calling from the hotspot itself...

best regards,
Klaus

esys

Intermediate

  • "esys" started this thread

Posts: 267

Location: Balazé France

Occupation: photographer

  • Send private message

3

Saturday, May 5th 2012, 1:07pm

Hi Klaus,

Sorry. 235 posts and i still to do poor requests. I should know now!

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
    <events onenterfullscreen=""
        onexitfullscreen="set(plugin[fullscreen].visible, true); 
			      set(plugin[txt_presentation_deux].visible, false); 
                              flyout(get(name)); />

   <action name="flyout">
		set(hotspot[%1].enabled,false);
		tween(hotspot[%1].alpha,  0.0, 0.5, default, set(hotspot[%1].visible,false); );
		tween(hotspot[%1].flying, 0.0);
		tween(hotspot[%1].scale,  get(hotspot[%1].oldscale));
		tween(hotspot[%1].rx,  get(hotspot[%1].oldrx));
		tween(hotspot[%1].ry,  get(hotspot[%1].oldry));
		tween(hotspot[%1].rz,  get(hotspot[%1].oldrz));
		set(plugin[bton_mute].visible,false); 
		set(plugin[bton_son].visible,true);
		set(hotspot[pic_glaces].visible, true);
		set(hotspot[noir].visible, false);
		set(hotspot[noir].alpha, 0.0);
	</action>	


Thanks for your time Klaus. *smile*
Steph.
Steph

4

Saturday, May 12th 2012, 10:06am

Hi,

Quoted

onexitfullscreen="set(plugin[fullscreen].visible, true);
set(plugin[txt_presentation_deux].visible, false);
flyout(get(name));"
The get(name) is wrong here - you need to enter there the name of the hotspot!
Additionally there is a closing " missing at the end.

And I'm not sure if you want it that way - but this 'flyout' action code makes the 'flying' hotspot back to normal - in the example from where you had this code were was also a 'flyin' action that makes the hotspot flying. That 'flyout' action here can be used only when the 'flyin' action was used before.

Best regards,
Klaus