little planet -> normal view action?

  • I'd like to create 02 buttons.
    The code I'm using is:



    Now for the normal button (to come back to the normal view) the plugin is:

    Code
    <plugin name="ver_normal" url="images/normal.png" ath="0" atv="0" onclick="action(rectview);"
    	align="bottom left"		
    edge="center"	
    scale="0.8"	
    x="285" y="80"		
    ox="0" oy="0"	
    onhover="tween(scale,1,0.1); showtext(Voltar à visualização 360°, texto)"
    onout="tween(scale,0.8,0.1)"	/>

    Now my question is: I'd like this action "rectview" to set this values: <view hlookat="0" vlookat="0" fovtype="MFOV" fov="110" maxpixelzoom="1.5" fovmax="130"/>

    Can you help me?

  • He Felippe,

    i think this should work..

    Code
    <plugin name="ver_normal" url="images/normal.png" ath="0" atv="0" onclick="action(rectview);"
    	align="bottom left"		
    edge="center"	
    scale="0.8"	
    x="285" y="80"		
    ox="0" oy="0"	
    onhover="tween(scale,1,0.1); showtext(Voltar à visualização 360°, texto)"
    onout="tween(scale,0.8,0.1)"
    	/>

    does that work??


    Cheers
    Tuur *thumbsup*

Participate now!

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