Hi Klaus,
I've tried your method. Thing is i don't know which part of the action i've to replace. I started with flyin action, but all attributes are written like :
tween(hotspot[%1].flyin, 0.0); not tween(flyin, ...); so i replaced all hotspots attributes 1st arguments with my hotspot name, didn't work! I've tried only with this action, then with others, didn't work either!
I'm sorry to be such basic with code, but i would need enlightments more precise. Also for the swf video player
plugin, which line should i replace to get my player fly in and out when called from a
hotspot ?
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!-- fly in a hotspot = show hotspot fixed at screen -->
<action name="flyin">
if(hotspot[%1].flying == 0.0, hotspot[%1].resetsize(); calc_flyout_size(%1); );
if(hotspot[%1].oldscale === null, copy(hotspot[%1].oldscale, hotspot[%1].scale) );
if(hotspot[%1].oldrx === null, copy(hotspot[%1].oldrx, hotspot[%1].rx) );
if(hotspot[%1].oldry === null, copy(hotspot[%1].oldry, hotspot[%1].ry) );
if(hotspot[%1].oldrz === null, copy(hotspot[%1].oldrz, hotspot[%1].rz) );
set(hotspot[%1].enabled,true);
set(hotspot[%1].visible,true);
tween(hotspot[%1].alpha, 1.0);
tween(hotspot[%1].flying, 1.0);
tween(hotspot[%1].scale, 1.0);
tween(hotspot[%1].rx, 0.0);
tween(hotspot[%1].ry, 0.0);
tween(hotspot[%1].rz, 0.0);
</action>
|
Thanks for your time.
Steph.