Hi!
I do have a hotspot (swf) that should tween another image from alpha0 to alpha1. The image has to be positioned relative (via ATH) not via x and y.
So far I tried:
Code
<hotspot name="test"
url="test_info-button.swf"
keep="false"
ath="-32.364944053725246" atv="-1.232997967570483"
zoom="false" distorted="false"
scale="0.2" alpha="0.3" scale9grid="" scalechildren="false" rotate="0"
rx="0" ry="0" rz="0"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
blendmode="normal" smoothing="true"
refreshrate="auto"
onloaded=""
onover="tween(alpha,0.9);tween(scale,0.3);"
onout="tween(alpha,0.3);tween(scale,0.2);"
ondown="tween(hotspot[test-info].x,0%); tween(alpha,0.9); tween(area.x,0%); tween(area.width,100%);set(autorotate.enabled,false);"
onup="tween(hotspot[test-info].x,-0%); tween(alpha,0.3); tween(area.x,0%); tween(area.width,100%);set(autorotate.enabled,true);"
details="8"
effect=""
flying="0"
inverserotation="false"
/>
Display More
As you can see ondown the hotspot "test-info" is called, but it does not work. The "test-info" is shown all the time and not alpha tweened in. I tried to call a plugin instead of hotspot and it works, but I can't position a plugin via ATH but only via x and y.
Here's the called hotspot:
Code
<hotspot name="test-info"
url=info.swf"
keep="false"
ath="-22.364944053725246" atv="-1.232997967570483"
zoom="false" distorted="false"
scale="0.2" scale9grid="" scalechildren="false" rotate="0"
rx="0" ry="0" rz="0"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
blendmode="normal" smoothing="true"
refreshrate="auto"
onloaded=""
details="8"
effect=""
flying="0"
inverserotation="false"
/>
Display More
Is it possible somehow, that when a hotspot is clicked, an relatively positioned image (ath) is alpha tweened in?
Greetings,
M.