I don't get what you want? You want to click hotspot "test" and then the hotspot "test-info" gets faded in? So what's up with Ath en x/y? Or do you want to tween the image from ath to another ath?
you have like this in your code in the ondown of test
|
Quellcode
|
1
|
ondown="tween(hotspot[test-info].x,0%); tween(alpha,0.9); tween(area.x,0%); tween(area.width,100%);set(autorotate.enabled,false);"
|
first you tween test-info x to 0% ?
shouldnt it be tween(hotspot[test-info].ath, 10)
replace 10 with your own value.
Then tween the alpha of test-info. Or rather tween the alpha first (so you can see it) and then tween the ath.
tween(hotspot[test-info].alpha,0.9);
And if you want to tween to a relative spot on the screen. take the view.hlookat and add your offset value
add(dst, 10, get(view.hlookat));
tween(hotspot[test-info].ath, dst);