• hello,

    if hotspot can be a container, it's possible te create a complexe hotspot like layer, no ?

    With container hotspot and children, only the first hotspot is visible.

    As layer, no problem.


    Thanks a lot,
    Damien

    Hotspot view and Layer view


    Code
    <hotspot name="hs"  type="text" zorder="200" depth="1000.0"  keep="true" ath="0.0" atv="0.0" renderer="css3d" align="center" edge="center"  maskchildren="false" enablechildren="true" bg="true" bgcolor="0xFFFFFF" bgalpha="0.5" bgborder="0" bgroundedge="0"  width="100" height="300" >
    
    		<hotspot name="barre"  type="text" parent="hs" zorder="400" depth="1000.0"  keep="true" x="0" y="0" align="center" edge="bottom"  bg="true" bgcolor="0xFF6600" bgalpha="1" bgborder="0"  width="2" height="200" oversampling="1.0" mipmapping="false"/>
    
    		<hotspot name="titre"  type="text" parent="hs" zorder="300" depth="1000.0"  keep="true" x="10" y="10" align="center" edge="bottom"  width="100" height="100"    text="sous text" rawhtml="false" css="font-family:Arial; font-size:16px; color:#000000;" textalign="center" padding="2" wordwrap="true" ellipsis="false" interactive="false" selectable="false" bg="true" bgcolor="0xFFFFFF" bgalpha="1.0" bgborder="0" bgroundedge="0" oversampling="1.0" mipmapping="false" />
    
    </hotspot>
  • Sorry if i don't understand but i've always nothing using this code, layer under hotspot :

    Code
    <hotspot name="hs"  type="container" zorder="200" depth="1000.0"  keep="true" ath="0.0" atv="0.0" renderer="css3d" align="center" edge="bottom"  maskchildren="false" enablechildren="true" bg="true" bgcolor="0xFFFFFF" bgalpha="0.5" bgborder="0" bgroundedge="0"  width="100" height="200" >
    
    		<layer name="barre"  type="container" parent="hs" zorder="400" depth="1000.0"  keep="true" x="0" y="0" align="center" edge="bottom"  bg="true" bgcolor="0xFF6600" bgalpha="1" bgborder="0"  width="2" height="200" oversampling="1.0" mipmapping="false"/> -->
    
    		<layer name="titre"  type="text" parent="hs" zorder="300" depth="1000"  keep="true"  x="10" y="10" alpha="1" align="center" edge="center"  width="100" height="100"  text="sous text" rawhtml="false" css="font-family:Arial; font-size:16px; color:#000000;" textalign="center" padding="2" wordwrap="true" ellipsis="false" interactive="false" selectable="false" bg="true" bgcolor="0xFFFFFF" bgalpha="1.0" bgborder="1" bgroundedge="0" oversampling="1.0" mipmapping="false" />
    
    </hotspot>

    Thanks,
    Damien

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!