hallo,
durch ausschlußverfahren bin ich jetzt soweit, dass sich das scrolltextfeld durch klick auf den button einblendet und im textfeld habe ich einen link zum ausblenden.
letztes problem
wenn sich das pano lädt, soll das textfeld nicht erscheinen - wie mach ich das?!?!
<plugin name="nav_info" url="images/b_info.png" keep="true" zorder="2" origin="rightbottom" x="240" y="-70" onhover="showtext(Hilfe);" onover="set(blendmode,add);" onout="set(blendmode,normal);" onclick="action(show_textbox_field);" />
<action name="show_textbox_field">
set(plugin[button].enabled,false);
set(plugin[textbox].y,-1500);
tween(plugin[button].alpha,0,,,set(plugin[button].visible,false));
tween(plugin[textbox].alpha,1,0);
tween(plugin[textbox].textblur,0,0);
tween(plugin[textbox].blur,0,0);
set(plugin[textbox].visible,true);
set(plugin[textbox].enabled,true);
tween(plugin[textbox].y,0);
</action>
<action name="showbutton">
set(plugin[button].visible,true);
set(plugin[button].enabled,true);
tween(plugin[button].alpha,1);
</action>
<action name="move">
plugin[%1].changeorigin(lefttop,lefttop);
tween(plugin[%1].x,0,1,easeoutquad);
tween(plugin[%1].y,0,1,easeoutquad,action(move2,%1));
</action>
<action name="move2">
plugin[%1].changeorigin(rightbottom,rightbottom);
tween(plugin[%1].x,0,1,easeoutquad);
tween(plugin[%1].y,0,1,easeoutquad,action(moveback,%1));
</action>
<action name="moveback">
plugin[%1].changeorigin(center,center);
tween(plugin[%1].x,0,1,easeoutquad);
tween(plugin[%1].y,0,1,easeoutquad);
</action>
<action name="hidewindow">
set(plugin[%1].enabled,false);
tween(plugin[%1].alpha,0);
tween(plugin[%1].blur,20);
tween(plugin[%1].textblur,20,,,set(plugin[%1].visible,false));
</action>
<!-- scale9grid scaled textbox image -->
<plugin name="textbox" url="images/textfield.png"
align="leftbottom" x="10" y="10"
scale9grid="5|5|12|55"
width="280"
height="200"
/>
<!-- the textfield itself -->
<plugin name="text" url="../plugins/textfield.swf"
parent="textbox"
align="lefttop" x="10" y="10"
background="false" borderwidth="0"
html="data:testtext"
css="p{color:#000000; font-family:Arial; font-size:12;}"
autosize="left"
mask="textmask"
/>
<!-- textfield mask to maskout hidden/out-scrolled text -->
<plugin name="textmask" url="images/box.png"
parent="textbox"
align="lefttop"
x="5" width="255"
y="5" height="190"
/>
<!-- buttons for textscrolling - just move the textfield up and down -->
<plugin name="scrollup" url="images/dirbutton.png"
parent="textbox"
align="righttop"
x="24"
y="5"
rotate="-90"
crop="0|0|19|19" onovercrop="0|19|19|19" ondowncrop="0|38|19|19"
ondown="tween(plugin[text].y, 10, distance(400,0.7), linear);"
onup="stoptween(plugin[text].y);"
/>
<plugin name="scrolldown" url="images/dirbutton.png"
parent="textbox"
align="rightbottom"
x="24"
y="5"
rotate="+90"
crop="0|0|19|19" onovercrop="0|19|19|19" ondowncrop="0|38|19|19"
ondown="tween(plugin[text].y, -265, distance(400,0.7), linear);"
onup="stoptween(plugin[text].y);"
/>
<!-- testtext -->
<data name="testtext">
<p>
test text test text test text<br/>
<br/>
test text test text test<br/>
text test text test
<br/>
<a href="event:action(hidewindow,textbox);action(showbutton);">schliessen</a>
<br/>
text test text test text test<br/>
text test text<br/>
test text test text test text<br/>
</p>
</data>