Hallo, bin noch ziemlich neu und hab vom Scripten etc noch nicht so die ahnung.
Also ich habe mit dem Editor einen "Image Hotspot" erzeugt.
siehe:
</hotspot>
<hotspot name="hs1" devices="all"
url="Logo_150.jpg"
keep="false"
ath="-6.691935864908245" atv="-15.800152462616717"
zoom="false" distorted="false" details="8" flying="0"
width="150" height="73"
scale="1" scale9grid="" scalechildren="false" rotate="0"
rx="7.9125000000000085" ry="6.125" rz="0"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="true" enabled="true" usecontentsize="false" handcursor="true" capture="true" children="true" maskchildren="false"
zorder="0"
alpha="1.00" autoalpha="false" blendmode="normal" effect="" smoothing="true" pixelhittest="false"
refreshrate="auto"
onloaded=""
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick=""
bgalpha="0"
bgcapture="false"
bgcolor="0"
type="image"
>
</hotspot>
Wenn ich auf diesen klicke. Soll ein Video abgepsielt werden. Nahc möglichkeit so wie in dem Beispiel hier, alleridngs kann es auch im Player sein ,wie in den Krpano Beisoielen. Allerdins dann etwas größer. Irgendwie hab ich schon alles mögliche probiert. komme aber einfach nicht zum richtigen Ergebnis
Hier das Video Script, dabie wird allerdings mit Polygonen gearbeitet... bei mir soll es halt ne Grafik, die ich nach möglichkeit über den Editor Hotspot einbinden kann... Wie bekomm ich beides zusammen??
<hotspot name="Mitte"
keep="false"
visible="true" enabled="true" usecontentsize="false" handcursor="true" capture="true" children="true"
zorder="0"
fillcolor ="0xff0000" fillalpha ="0.00" borderwidth ="0.0" bordercolor ="0xff0000" borderalpha ="1.00"
fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="4.0" bordercolorhover="0xff0000" borderalphahover="0.80"
fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick="
if(plugin[videospot] !== null, removeplugin(videospot)); addplugin(videospot); set(plugin[videospot].url,%SWFPATH%/plugins/videoplayer.swf);
set(plugin[videospot].align,center);
set(plugin[videospot].x,10);
set(plugin[videospot].y,20);
set(plugin[videospot].updateeveryframe,true);
set(plugin[videospot].videourl,m1.flv);
set(plugin[videospot].volume,0.7);
set(plugin[videospot].onhover,showtext('Durch erneutes Klicken schliesst sich das Fenster.')); set(plugin[videospot].onclick, removeplugin(videospot) ); set(plugin[videospot].loop, false); set(plugin[videospot].onvideocomplete, removeplugin(videospot) );"
editor=""
>
<point ath="-35.5530" atv=" 18.4997" /> <point ath="-35.5930" atv=" 19.3575" /> <point ath="-35.3321" atv=" 19.7149" /> <point ath="-32.5682" atv=" 19.4953" /> <point ath="-32.6225" atv=" 18.5096" /> <point ath="-32.8088" atv=" 18.2314" /> </hotspot>
Danke