Posted By

Bonky on 01/24/08


Tagged

filter Glow effect


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

abdsign
weavermedia


apply glow filter


 / Published in: ActionScript
 

Includes some useful Fuse commands

  1. import flash.filters.GradientGlowFilter;
  2.  
  3. var gradientGlow:GradientGlowFilter = new GradientGlowFilter(0, 45, [2359295,0], [0, 1], [0, 123], 40, 40, 1, 1, "outer");
  4. orb1.orb.filters=[gradientGlow];
  5. /*FuseFMP.setFilterProps(orb1.orb, 'GradientGlow', {
  6. GradientGlow_type:"outer",
  7. GradientGlow_knockout:false,
  8. GradientGlow_strength:1,
  9. GradientGlow_quality:1,
  10. GradientGlow_blur:20,
  11. GradientGlow_ratios:"0,123",
  12. GradientGlow_alphas:"0,1",
  13. GradientGlow_colors:"2359295,0",
  14. GradientGlow_angle:45,
  15. GradientGlow_knockout:true,
  16. GradientGlow_distance:0});*/
  17. //FuseFMP.traceAllFilters()
  18.  
  19. /*trace("GradientGlow_type:"+FuseFMP.getFilterProp(orb1.orb,"GradientGlow_type" ));
  20. trace( "GradientGlow_knockout:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_knockout"));
  21. trace("GradientGlow_strength:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_strength"));
  22. trace("GradientGlow_quality:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_quality"));
  23. trace("GradientGlow_blur:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_blur"));
  24. trace("GradientGlow_ratios:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_ratios"));
  25. trace("GradientGlow_alphas:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_alphas"));
  26. trace("GradientGlow_colors:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_colors"));
  27. trace("GradientGlow_angle:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_angle"));
  28. trace( "GradientGlow_distance:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_distance"));*/

Report this snippet  

You need to login to post a comment.