|
|
Quellcode |
1 |
<hotspot name="hotspot_49" style="link_hs_sm" type="image" keep="true" url="%SWFPATH%/add_hotspot/picture/test-video-small.png" distorted="true" enabled="false" visible="false" zorder="5" ath="-57.6705" atv="15.2249" width="100" height="prop" scale="3.377" edge="center" install_onclick="7" title="Test Video" scene_EL="scene1" info_Ah="test-video.mp4" fov_EL="119.38" enabled2="true" visible2="true" drag_hs="true" volume_adhs="0.5" poster_Ah="test-video-poster.jpg" loop="true" video_h="80" onclick="videoplayer_open(test-video.mp4,get(poster_Ah));" ondown="drag_LinkSM()"/> |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »San7« (26. Januar 2021, 16:57)
You need to write the code yourself, which will display a sketch and signature, or order from specialists. Then, using the plugin, you can assign code execution to the hotspot (onover / onut)Anyone knows how to to preview the hotspot thumbnail image and text on hover action with Add Hotspot plugin?
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<!-- container for miniature -->
<layer name="mini" keep="true" url="" align="bottom" edge="bottom" width="150" height="prop"
enabled="false" alpha="0" y="100" bgborder="2 0xFFFFFF 1" bgroundedge="10" >
<!-- text -->
<layer name="text_sh" type="text" align="top" edge="bottom" html="" y="-10"
css="font-family:Arial; color:#000000; font-size:20px; text-align: center;"
width="100%" bgroundedge="5" padding="5"/>
</layer>
<!-- shoumini(hotspot name, path to miniature , signature text ); -->
<action name="shoumini" >
set(layer[mini].parent, hotspot[%1]);
set(layer[mini].url, %2);
set(layer[text_sh].html, %3);
tween(layer[mini].alpha, 1);
</action>
<!-- hide thumbnail - hidemini() -->
<action name="hidemini" >
tween(layer[mini].alpha, 0);
</action>
|
|
|
Quellcode |
1 2 |
onover="shoumini(hotspot_5,panos/Spal.tiles/thumb.jpg, text );" onout="hidemini();" |
This is a simple example of thumbnail display code
![]()
Quellcode
1 2 3 4 5 6 7 8 9 set(layer[mini].parent, hotspot[%1]); set(layer[mini].url, %2); set(layer[text_sh].html, %3); tween(layer[mini].alpha, 1); tween(layer[mini].alpha, 0);
This is an example of how it should be assigned to the corresponding access point
![]()
Quellcode
1 2 onover="shoumini(hotspot_5,panos/Spal.tiles/thumb.jpg, text );" onout="hidemini();"