Skip to content

Instantly share code, notes, and snippets.

@hopewise
Created November 2, 2013 02:57
Show Gist options
  • Select an option

  • Save hopewise/7274950 to your computer and use it in GitHub Desktop.

Select an option

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
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