Hi,
I've found a bug with the comment
If I use :
Code
<action name="add_button">
addplugin(button_%1);
set(plugin[button_%1].url,plugins/textfield.swf);
set(plugin[button_%1].align,topright);
set(plugin[button_%1].x,10);
mul(plugin[button_%1].y,%1,30);
<!-- add(plugin[button_%1].y,get(plugin[button_%1].y),10) -->
set(plugin[button_%1].width,150);
set(plugin[button_%1].height,20);
set(plugin[button_%1].html,[p]%2[/p]);
set(plugin[button_%1].css,160);
set(plugin[button_%1].background,true);
set(plugin[button_%1].textglow,4);
set(plugin[button_%1].textglowcolor,0xFFFFFF);
set(plugin[button_%1].autosize,left);
set(plugin[button_%1].selectable,false);
set(plugin[button_%1].alpha,.5);
set(plugin[button_%1].roundedge,6);
set(plugin[button_%1].keep,true);
set(plugin[button_%1].onclick,set(view.maxpixelzoom,%3);)
<!-- set(plugin[button_%1].html,[p]%1 px[/p]);
set(plugin[button_%1].onclick,[p]%1 px[/p]);); -->
set(plugin[button_%1].children,false);
</action>
Alles anzeigen
The last line is not set, even if it's written in the xml on editor.swf
If I switch the line like this :
Code
<action name="add_button">
addplugin(button_%1);
set(plugin[button_%1].url,plugins/textfield.swf);
set(plugin[button_%1].align,topright);
set(plugin[button_%1].x,10);
mul(plugin[button_%1].y,%1,30);
<!-- add(plugin[button_%1].y,get(plugin[button_%1].y),10) -->
set(plugin[button_%1].width,150);
set(plugin[button_%1].height,20);
set(plugin[button_%1].html,[p]%2[/p]);
set(plugin[button_%1].css,160);
set(plugin[button_%1].background,true);
set(plugin[button_%1].textglow,4);
set(plugin[button_%1].textglowcolor,0xFFFFFF);
set(plugin[button_%1].autosize,left);
set(plugin[button_%1].selectable,false);
set(plugin[button_%1].alpha,.5);
set(plugin[button_%1].roundedge,6);
set(plugin[button_%1].keep,true);
set(plugin[button_%1].onclick,set(view.maxpixelzoom,%3);)
set(plugin[button_%1].children,false);
<!-- set(plugin[button_%1].html,[p]%1 px[/p]);
set(plugin[button_%1].onclick,[p]%1 px[/p]);); -->
</action>
Alles anzeigen
It's ok.
Is it the normal behavior or is there something wrong ?
Thanks