hey 360 freaks! :)
need help pls
my code looks like this
----------------------------------------------------------------------------------------------------------------------------------------------------------------
copy(distorted, hotspot[%1].distorted);
copy(ath, hotspot[%1].ath);
copy(atv, hotspot[%1].atv);
copy(scale, hotspot[%1].scale);
copy(rx, hotspot[%1].rx);
copy(ry, hotspot[%1].ry);
copy(rz, hotspot[%1].rz);
keep="false"
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
fillcolor ="0xffffff" fillalpha ="0.00" borderwidth ="0.0" bordercolor ="0xffffff" borderalpha ="0.00"
fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="4.0" bordercolorhover="0xffffff" borderalphahover="0.80"
fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
onover=""
onhover="showtext(Öffne Lade 1, smalltext)"
onout=""
ondown=""
onup=""
onclick="set(plugin[bild1].visible,true); tween(plugin[bild1].alpha, 1, 0.5,default);"
details="8"
effect=""
flying="0"
inverserotation="false"
>
url="pix/2.jpg"
keep="false"
ath="32.328283045969464" atv="-13.417895465497201"
zoom="false" distorted="true"
width="459" height="700"
scale="1" scale9grid="" scalechildren="false" rotate="0"
rx="0" ry="0" rz="0"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="false" enabled="true" handcursor="true" capture="true" children="true"
zorder="2"
alpha="0.00" blendmode="normal" smoothing="true"
refreshrate="auto"
onloaded="copyhotspotsettingsfrom(spot1);"
onover=""
onhover="showtext(Schließe Lade 1, smalltext)"
onout=""
ondown=""
onup=""
onclick="set(plugin[bild1].visible,false);"
details="8"
effect=""
flying="0"
inverserotation="false"
/>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
i want that bild1 shows up centered and is fix.
now the position is on top left and only shows half of the picture
thx for helping me!
pax
sebastian
got it! :) did it like this
----------------------------------------------------------------------
<action name="copyhotspotsettingsfrom">
copy(distorted, hotspot[%1].distorted);
copy(ath, hotspot[%1].ath);
copy(atv, hotspot[%1].atv);
copy(scale, hotspot[%1].scale);
copy(rx, hotspot[%1].rx);
copy(ry, hotspot[%1].ry);
copy(rz, hotspot[%1].rz);
</action>
<hotspot name="spot1"
keep="false"
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
fillcolor ="0xffffff" fillalpha ="0.00" borderwidth ="0.0" bordercolor ="0xffffff" borderalpha ="0.00"
fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="4.0" bordercolorhover="0xffffff" borderalphahover="0.80"
fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
onover=""
onhover="showtext(Öffne Lade 1, smalltext)"
onout=""
ondown=""
onup=""
onclick="set(plugin[bild1].visible,true); tween(plugin[bild1].alpha, 1, 0.5,default);"
details="8"
effect=""
flying="0"
inverserotation="false"
>
<point ath=" 21.0427" atv="-28.8498" />
<point ath=" 26.5797" atv="-30.6329" />
<point ath=" 26.4481" atv=" 2.9733" />
<point ath=" 17.9388" atv=" 2.5928" />
</hotspot>
<plugin name="bild1"
url="pix/2.jpg"
keep="false" preload="false"
visible="false" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
alpha="0.54" blendmode="normal"
smoothing="true"
align="center" edge=""
x="" y="" ox="" oy=""
width="35%" height="90%"
crop="" ondowncrop="" onovercrop=""
scale="1" scale9grid="" scalechildren="false"
rotate="0"
parent=""
mask=""
onloaded="copyhotspotsettingsfrom(spot1);"
onover=""
onhover="showtext(Schließe Lade 1, smalltext)"
onout=""
ondown=""
onup=""
onclick="set(plugin[bild1].visible,false);"
effect=""
usecontentsize="false"
/>
---------------------------------------------------------------------------------
This post has been edited 1 times, last edit by "pano-erbauer.com" (Jun 17th 2010, 10:45pm)