Return to Snippet

Revision: 4873
at January 24, 2008 17:05 by Bonky


Initial Code
import flash.filters.GradientGlowFilter;

var gradientGlow:GradientGlowFilter = new GradientGlowFilter(0, 45, [2359295,0], [0, 1], [0, 123], 40, 40, 1, 1, "outer");
orb1.orb.filters=[gradientGlow];
/*FuseFMP.setFilterProps(orb1.orb, 'GradientGlow', {
GradientGlow_type:"outer",
GradientGlow_knockout:false,
GradientGlow_strength:1,
GradientGlow_quality:1,
GradientGlow_blur:20,
GradientGlow_ratios:"0,123",
GradientGlow_alphas:"0,1",
GradientGlow_colors:"2359295,0",
GradientGlow_angle:45,
GradientGlow_knockout:true,
GradientGlow_distance:0});*/
//FuseFMP.traceAllFilters()

/*trace("GradientGlow_type:"+FuseFMP.getFilterProp(orb1.orb,"GradientGlow_type" ));
trace( "GradientGlow_knockout:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_knockout"));
trace("GradientGlow_strength:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_strength"));
trace("GradientGlow_quality:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_quality"));
trace("GradientGlow_blur:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_blur"));
trace("GradientGlow_ratios:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_ratios"));
trace("GradientGlow_alphas:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_alphas"));
trace("GradientGlow_colors:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_colors"));
trace("GradientGlow_angle:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_angle"));
trace( "GradientGlow_distance:"+FuseFMP.getFilterProp(orb1.orb, "GradientGlow_distance"));*/

Initial URL

                                

Initial Description
Includes some useful Fuse commands

Initial Title
apply glow filter

Initial Tags
filter

Initial Language
ActionScript