Package | com.greensock.plugins |
Class | public class BevelFilterPlugin |
Inheritance | BevelFilterPlugin com.greensock.plugins.FilterPlugin |
- distance : Number [0]
- angle : Number [0]
- highlightColor : uint [0xFFFFFF]
- highlightAlpha : Number [0.5]
- shadowColor : uint [0x000000]
- shadowAlpha :Number [0.5]
- blurX : Number [2]
- blurY : Number [2]
- strength : Number [0]
- quality : uint [2]
- index : uint
- addFilter : Boolean [false]
- remove : Boolean [false]
USAGE:
import com.greensock.TweenLite; import com.greensock.plugins.TweenPlugin; import com.greensock.plugins.BevelFilterPlugin; TweenPlugin.activate([BevelFilterPlugin]); //activation is permanent in the SWF, so this line only needs to be run once. TweenLite.to(mc, 1, {bevelFilter:{blurX:10, blurY:10, distance:6, angle:45, strength:1}});
Copyright 2008-2013, GreenSock. All rights reserved. This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for Club GreenSock members, the software agreement that was issued with the membership.