Created
November 2, 2013 02:57
-
-
Save hopewise/7274950 to your computer and use it in GitHub Desktop.
the above will look different on windows/ android, but it will look correct on flash ..
its related to the filter it self, not the swf library I think
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var glow:GlowFilter = new GlowFilter(0xdc2127, 1, 25, 25,8 ); | |
| glow.inner = true; | |
| glow.knockout = false; | |
| var sh:Shape = new Shape(); | |
| sh.graphics.beginFill(0xeeeeee); | |
| sh.graphics.drawCircle(0, 0, 100); | |
| sh.graphics.endFill(); | |
| sh.x = 300; | |
| sh.y = 300; | |
| sh.filters = [glow]; | |
| stage.addChild(sh); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment