I am trying to create a text-box that loads with the panorama that closes when clicked, exactly like this example —
Here is the code I am using —
Code
<plugin name="info_text"
url="%SWFPATH%/plugins/textfield.swf"
html="data:info_html"
css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin-left:5; margin-right:5; text-align:center; }"
keep="true"
children="false"
visible="false"
width="400"
height="500"
backgroundcolor="0x000000"
roundedge="15"
shadow="1"
borderwidth="0"
glow="4"
align="center"
x="0"
y="0"
autosize="center"
onloaded="action(show_info_text);"
onclick="action(hide_info_text);"
/>
<action name="show_info_text">
set(plugin[info_button].enabled,false);
set(plugin[info_text].alpha,0);
set(plugin[info_text].textblur,15);
set(plugin[info_text].blur,15);
set(plugin[info_text].visible,true);
set(plugin[info_text].enabled,true);
tween(plugin[info_text].alpha,1,0.3);
tween(plugin[info_text].textblur,0,0.3);
tween(plugin[info_text].blur,0,0.3);
</action>
<action name="hide_info_text">
set(plugin[info_text].enabled,false);
set(plugin[info_button].enabled,true);
tween(plugin[info_text].alpha,0,0.3,null,set(plugin[info_text].visible,false));
tween(plugin[info_text].textblur,20,0.3);
tween(plugin[info_text].blur,20,0.3);
</action>
Display More
All I get is a thin line (see screen capture attached)
What am I doing wrong? Please help.