Hi,
at the moment there is no automatic way to place a textfield at the mouse cursor position,
but one way would be to use a "invisible" and "fullscreen" plugin (alpha="0.0" width="100%" height="100%"),
and use the
showtext() action, it supports all flash html tags, but just with '[',']' instead of '<','>',
or a bit tricky - set the position of the textfield to the mouse position in short intervals via delayedcall,
but I'm not sure how accurate that will work...
e.g.
|
Quellcode
|
1
2
3
4
5
6
7
|
<action name="updatemousepos">
set(plugin[text].align, lefttop);
set(plugin[text].edge, center);
copy(plugin[text].x, mouse.x);
copy(plugin[text].y, mouse.y);
delayedcall(0.02, updatemousepos() );
</action>
|
best regards,
Klaus