624
ActionScript classes
var filter:GradientBevelFilter = new GradientBevelFilter(distance,
angleInDegrees,
colors,
alphas,
ratios,
blurX,
blurY,
strength,
quality,
type,
knockout);
var filterArray:Array = new Array();
filterArray.push(filter);
art.filters = filterArray;
function setUpFlatRectangle(w:Number, h:Number, bgColor:Number,
name:String):MovieClip {
var mc:MovieClip = this.createEmptyMovieClip(name,
this.getNextHighestDepth());
mc.beginFill(bgColor);
mc.lineTo(w, 0);
mc.lineTo(w, h);
mc.lineTo(0, h);
mc.lineTo(0, 0);
return mc;
}
See also
ratios (GradientBevelFilter.ratios property)
knockout (GradientBevelFilter.knockout property)
public knockout : Boolean
Specifies whether the object has a knockout effect. A knockout effect makes the object's fill
transparent and reveals the background color of the document. The value
true
specifies a
knockout effect; the default is
false
(no knockout effect).
Availability:
ActionScript 1.0; Flash Player 8
Содержание FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Страница 1: ...ActionScript 2 0 Language Reference ...
Страница 1352: ...1352 ActionScript classes ...