Hi there !
I’m trying to use glowfilter on textfields and some buttons on a html5 export, here are the issues i’m facing;
I want to get this result with a button ;
Here’s the code i’m using:
var closeBtn:MovieClip = cast(getChildByName("close_btn"), MovieClip); var glowFilter:GlowFilter = new GlowFilter(0xFF9900, 1, 2, 2, 3, 3, false, false); btnClose.filters = [glowFilter];
But that’s what it does:
It think the property “inner” of the glowfilter has some issues, it doesn’t seem to do anything different if i set inner to true or false.
I’ve got the same issue trying to add a glowfilter on a textfield, here’s the result i try to get:
And this is the html5 export:
Even if it can’t be done using glowfilter, do you have any lead/ideas to make an outline on textfield for html5 ?
I also realized that filters don’t work on html5 canvas build, do you know any means to do something equivalent ?
I tried looking for solutions but didn’t find anything much .
Thanks for reading.
ps: my openfl version is 4.9.2-Lv6pxC and lime 4.0.3