Hi,
that's just a second plugin,
a small image (e.g. just 8x8 pixel large) with a single color that will be scaled to 100% x 100% of the screen, and is ordered behind the textfield (zorder="1" for the image and zorder="2" for the textfield),
e.g. here a small simple example:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<plugin name="textbg" url="small8x8bg.png" alpha="0.0" visible="false"
align="lefttop" width="100%" height="100%"
handcursor="false"
onclick="action(closetext);"
/>
<plugin name="text" url="textfield.swf" .... zorder="2" visible="false" />
<action name="showtext">
set(plugin[textbg].visible,true);
set(plugin[text].visible,true);
</action>
<action name="closetext">
set(plugin[textbg].visible,false);
set(plugin[text].visible,false);
</action>
|
best regards,
Klaus