Hello,
i have a button-hotspot in my tour. When ckiked on it — showing html-popup window (used textfield.swf). How can i embed a video inside this html-window?
Now i use this code (video opening outside of html-window):
Code
<hotspot name="button" style ="viewpoint"ath="-5"atv="13"scale="5"onhover="showtext('See video');"onclick="action(show_html_field);" />
<action name="show_html_field"> set(plugin[button].enabled,false); set(plugin[htmltext].y,-1500); tween(plugin[button].alpha,0,,,set(plugin[button].visible,false));
tween(plugin[htmltext].alpha,1,0); tween(plugin[htmltext].textblur,0,0); tween(plugin[htmltext].blur,0,0); set(plugin[htmltext].visible,true); set(plugin[htmltext].enabled,true); tween(plugin[htmltext].y,0); </action><plugin name="video1" url="%SWFPATH%/plugins/videoplayer.swf" align="center" x="0" y="0" pausedonstart="false" loop="false" volume="1.0" buffertime="0.1" updateeveryframe="false" onvideocomplete="" /> <action name="show_videos"> set(plugin[video1].enabled,TRUE); set(plugin[video1].alpha,1); set(plugin[video1].width,640); set(plugin[video1].height,480); plugin[video1].playvideo(%SWFPATH%/video.flv);</action><plugin name="htmltext" url="%SWFPATH%/plugins/textfield.swf" align="center" width="500" height="300" x="0" y="-1100" visible="false" html="data:html1" css="data:css1" roundedge="0" borderwidth="1" bordercolor="0xFFFFFF" backgroundcolor="0xFFFFFF" selectable="false" shadow="5" autosize="center" /><data name="html1">
<-a href="event:action(show_videos);">Open video</a->
sorry, i dont now how make goodlooking this code