//----------------------------------------------------------------------------
public void drawObject(Movie movie, int layer, int speed)
{
Frame frame = movie.appendFrame();
Shape shape = new Shape();
AlphaColor line_color = new AlphaColor( pen_color_.getRed(), pen_color_.getGreen(), pen_color_.getBlue(), pen_color_.getAlpha() );
if( gradient_ == null )
{
AlphaColor fill_color = new AlphaColor( fill_color_.getRed(), fill_color_.getGreen(), fill_color_.getBlue(), fill_color_.getAlpha() );
shape.defineFillStyle(fill_color);
}
else
{
shape.defineFillStyle( getGradientColors4Flash(gradient_), getRatios4Flash(gradient_), getTransform4Flash(gradient_), isRadial(gradient_) );