1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<style name="textfeld_white"
keep="true"
visible="true"
zorder="20"
background="true"
backgroundcolor="0xFF0000"
autosize="none"
borderwidth="0"
selectable="false"
enabled="false"
css="p{color:#FFFFFF; font-family:Arial; font-size:12px; text-align:left;}"
url="%CURRENTXML%/global/plugins/textfield.swf"
/>
<!-- Textfeld platzieren -->
<action name="addText">
<!--
%1 = Name
%2 = Style
%3 = Parent
%4 = Align
%5 = x
%6 = y
%7 = width
%8 = height
%9 = html-Text
-->
ifnot (%1 EQ "",
addplugin(%1);
ifnot (%2 EQ "", plugin[%1].loadstyle(%2); );
ifnot (%3 EQ "", set(plugin[%1].parent, %3); );
ifnot (%4 EQ "", set(plugin[%1].align, %4); );
ifnot (%5 EQ "", set(plugin[%1].x, %5); );
ifnot (%6 EQ "", set(plugin[%1].y, %6); );
ifnot (%7 EQ "", set(plugin[%1].width, %7); );
ifnot (%8 EQ "", set(plugin[%1].height, %8); );
txtadd(innertexttmp, [p], %9, [/p]);
ifnot (%9 EQ "", set(plugin[%1].html, get(innertexttmp)); );
set(innertexttmp, "");
);
</action>
|