how to align text on a distored hotspot?

  • or how to track a distored hotspot position on the screen?


    Code
    <hotspot name="hotspot04" style="hotspot_1" url="hotspot04.png"  			/>
    <style name="hotspot_1"  edge="bottom" distorted="true" inverserotation="true" 			/>


    and onviewchange event set hotspot ath atv rx ty ry scale and ox oy

    and i want a textfield layer always align the image center

  • Than use something like:

  • i want to align text to airhotspot


    if i made the textfield as airhotspot,the textfield hotspot acts like a 3D object,it would roll 。

    U

    Einmal editiert, zuletzt von tmhok (12. Juni 2015 um 01:06)

  • Code
    <hotspot name="bubble2"  scale="0.5" style="skin_base" crop="128|192|80|80" ath="10" atv="10" distorted="true" />
    			<layer name="bubble2_inner3" url="%SWFPATH%/plugins/textfield.swf"	parent="hotspot[bubble2]"	 align="center" css="font-family:myFont; font-size:16px;" html="Test text..." />

    Works for me.
    The nested parent architecture for hotspot parents does not work for some odd reason. I think it was a fringe case Klaus never got around to thinking about.. so you have to set the parent manually.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!