textfield event feature broken in 2014-04-03 build

  • 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.

    Code
    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

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!