I use a glow effect on movieclip and textfield on Animate. And it seems to affect performance on some mobiles. Is there any way to disable the effect easily by code when I’m using a movieclip from a swf? Or do I need to make a alternative movieclip without the effect in Animate?
How can I know that the app is currently running in mobile?
For HTML5, it’s user-agent sniffing (or perhaps some other detection mechanism? touch screen event support?) that would tell you what device type. You should be able to remove your filter using myObject.getChildByName ("myOtherObject").filters = [] or something similar, but if it’s a frame in a larger animation, the object may get recreated. For a static object, removing the filters once should do it