Does not work change backgroundcolor in textfield on HTML5 DESKTOP!

  • Hello Klaus!
    I am trying to change backgroundcolor of the textfield plugin.
    But color is not displayed.
    Еxample:


    This is a bug?

  • Hi,

    this is a limitation in HTML5 at the moment - the textfield plugin updates itself only on changes of the html and css attributes.
    A workaround could be adding - copy(html,html) - after the change. This way the html setting will be copied to itself and so the textfield plugin will rebuild itself (and then with the new background color).

    Best regards,
    Klaus

  • Hi all,

    came across the same problem:
    it works fine with a static layer/plugin, the workaround to draw it again with copy(html, html) works perfect. But when I have generated the textfield(s) dynamically with addplugin(), there`s no way to change it`s attributes like alpha, backgroundcolor, even x or y values can`t be changed...the only property which works is visible... *confused*
    By the way: the Flash Version changes it`s attributes like it should...

    Has anyone a solution for this?
    Thanks for help,
    Steve

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!