Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

GlowFilter Type appears as DropShadowFilter #56

Closed
jgranick opened this issue Sep 11, 2013 · 0 comments
Closed

GlowFilter Type appears as DropShadowFilter #56

jgranick opened this issue Sep 11, 2013 · 0 comments

Comments

@jgranick
Copy link
Member

#56 Issue by llavayssiere,

var s:Sprite = new Sprite();
s.filters = [new GlowFilter(0xff0000, 0.5, 0, 0)];
trace(s.filters);

=> [DropShadowFilter]

GlowFilter class constructor doesn't define Class Type property "GlowFilter".

type property is declared in base class BitmapFilter and only set in first level inherited classes (DropShadowClass for example), not in second level inherited classes as GlowFilter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant