I manage to create a textfield button that links to a page. It is working, but the linked page is opening in a new browser window. I want to open the page in the same window as the VTtour is.
Please help, the code I am using is bellow —
Code
<style name="button"
url="%SWFPATH%/plugins/textfield.swf"
keep="true"
children="false"
height="22"
onloaded="set(alpha,0); set(textblur,15); set(blur,15); tween(alpha,1.0,0.3); tween(textblur,0,0.3); tween(blur,0,0.3);"
onover="tween(alpha,0.7,distance(0.3,0.2));"
onout="tween(alpha,1.0,distance(0.3,0.2));"
autosize="none"
css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin-left:5; margin-right:5; text-align:center; }"
background="true" backgroundcolor="0x000000" backgroundalpha="0.7"
bordercolor="0" borderwidth="0"
blur="0"
glow="4"
glowcolor="16777215"
roundedge="5"
shadow="1"
textblur="0" textglow="0" textglowcolor="16777215" textshadow="0"
/>
<plugin name="back"
style="button"
align="lefttop" x="40" y="10" width="80"
html="[p]Back[/p]"
onclick="openurl(../start.html);"
/>
Alles anzeigen