Hi all,
Happy New Year 2010
I want that the textfield not open in center of pano but on cursor, possible ?
Thank's for reply
Hi all,
Happy New Year 2010
I want that the textfield not open in center of pano but on cursor, possible ?
Thank's for reply
i bet it could be done. get this setting, get that setting, set this ,set that. i just dont know how to code it but if it can be done i can think of a few places to use that.
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.
<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
Hi , Klaus
Thank a lot
It's working, but the plugin keep on the cursor and I can't close it
Hi,
what do you mean with "can't close it" ?
you could add a onclick event to the plugin and close/remove it...
best regards,
Klaus
Hi Job.1,
It's working, but the plugin keep on the cursor and I can't close it
If I understand, the plugin follows the cursor and, then, you can not click on it to close it...
If so, just erase the delayedcall(0.02, updatemousepos() ); line...
I have not tried the code... it's just an idea...
Can you show what you are trying to do?
SAlut.
Hi Klaus and Michel
yes michel you understand well
QuoteIf so, just erase the delayedcall(0.02, updatemousepos() ); line...
yes good, it's working well now
Don’t have an account yet? Register yourself now and be a part of our community!