Just tried using the example in the textfield plugin page and it also doesn't work.
Also FYI
set(plugin[textfield].html,data:dataname);
has stopped working and needs to be
copy(plugin[textfield].html,data[dataname].content);
Just tried using the example in the textfield plugin page and it also doesn't work.
Also FYI
set(plugin[textfield].html,data:dataname);
has stopped working and needs to be
copy(plugin[textfield].html,data[dataname].content);
Hi,
that should still work of course...
Which example do you mean?
Best regards,
Klaus
https://krpano.com/plugins/textfield/#top
<a href="event:showlog(); trace('link clicked');">link</a>
Unless something in my tours causes the new textfield to fail.
No, I think its just broken..test code is below.
It won't work in at least chrome flash (INFO: Flashplayer WIN 11.9.900.170 PlugIn (debug))
html5 works. maybe its flash debug.
krpano.call("addplugin(test)");
krpano.call("set(plugin[test].url,%SWFPATH%/plugins/textfield.swf)");
krpano.call("set(plugin[test].html,<a href=\"event:showlog(); trace('link clicked');\">link</a>)");
krpano.call("set(plugin[test].visible,true)");
krpano.call("set(plugin[test].alpha,1)");
krpano.call("set(plugin[test].align,center)");
krpano.call("set(plugin[test].enabled,true)");
Ahhh... okay, there are two different questions here
I had only seen this one here:
set(plugin[textfield].html,data:dataname);
has stopped working and needs to be
copy(plugin[textfield].html,data[dataname].content);
And this should still work!
The other problem with the events is already known - the problem was to get a 'handcursor' over then text like in HTML5 - in the Flashplayer there was no explicit way to enable this, so this was done internally by disabling the mouse events for the textfield element. This way it works, but unintentionally also disabled the links.
In the next release (1.17.1) this will be fixed again, then the text itself will be only disabled for mouse events when the html content doesn't contain any links.
A workaround for the moment would be enabling the text selection by adding - selectable="true" - then the text itself will be enabled and the links will work too.
Best regards,
Klaus
Don’t have an account yet? Register yourself now and be a part of our community!