C

SWFFilter
newGradientBevelFilter(SWFGradient gradient /* gradient */, 
                       SWFBlur blur /* blur */,
                       SWFShadow shadow /* shadow */,
                       int flags /* FILTER_MODE_INNER,  FILTER_MODE_KO, FILTER_MODE_ONTOP */)

Example

see also BevelFilter

PHP

$f = new SWFFilter(SWFFILTER_TYPE_GRADIENTBEVEL, $gradient, $blur, $shadow, $flags);

see also BevelFilter