Hi,
I'm trying to set the width of a flying hotspot to the stagewidth:
Code
<hotspot name="test"
ath="0" atv="0"
type="text"
distorted="true"
bgcolor="0x663366"
bgalpha="0.9"
wordwrap="true"
edge="center"
width="1"
zoom="false"
flying="1"
html="bla bla bla..."
onloaded="set(width,get(stagewidth))"
/>
Alles anzeigen
While it does set the width of the hotspot, the results are different among various devices (tested on Chrome on Mac, iPad, Pixel smartphone). Do I have to correct for certain device properties? I tried to find a connection to device.pixelratio, but I couldn't find any.