Hello all,
I would like to have a layer follow a hotspot's position on screen. I'm using a parent system and the layer tracks the hotspot fairly well but, since I have the layer alignment values in pixels, the position of the layer changes in relation to the background when viewed on different sized screens.
When the layer position looks good on my laptop (1440 x 900 screen size) it is not correct when I look at it on my iMac (2560 x 1440 screen size) or vice versa.
I'm thinking that I need to use screentosphere (or spheretoscreen?) but my coding skill are not that great.
I have to get the hotspots x/y position relative to the screen and then apply them to the layer using, I'm guessing, onviewchange.
If anyone can point me to an existing thread that explains it in terms that I might be able to understand (I've searched but haven't had any success finding what I need), or help me out with some instruction, it would be greatly appreciated.
Thanks in advance,
Roger