hello dear forum
switch(hotspot.alpha,1,0);
is not working on iphone.?!
is there a possibility to switch hotspots on/off in html 5 ????
wbr
klaus
hello dear forum
switch(hotspot.alpha,1,0);
is not working on iphone.?!
is there a possibility to switch hotspots on/off in html 5 ????
wbr
klaus
Hi,
in the Flash version all plugin and hotspots elements are organized in separate layers and the visibility and alpha of these layers can be controlled by the 'plugin.visible', 'plugin.alpha', 'hotspot.visible' and 'hotspot.alpha' settings.
But in the HTML5 version, there is (due technically reasons) no separated layer for these elements - and there fore these settings are not available there.
An alternative would be to use an action, which is changing the alpha value from all hotspots,
e.g.
<action name="set_hotspots_alpha">
for(set(i,0), i LT hotspot.count, inc(i),
set(hotspot[get(i)].alpha, %1);
);
</action>
to call it:
or
Best regards,
Klaus
thanks derar klaus
is it possible to make a switch action, to flip between two states
lg klaus
hallo klaus
this works fine. but after loading a next scene, the hidden hotspots get visible again ............
is it possible, to hide hotspots permanent (also at scene changes).
mfg klaus
Hi,
no, in the next scene, new hotspots were generated and there they would need to be hidden again...
A solution might be:
Best regards,
Klaus
Don’t have an account yet? Register yourself now and be a part of our community!