             return null;
 
         if (target is GraphicElement)
-            return GraphicElement(target).getBitmapData(true, 0, false);
+            return GraphicElement(target).captureBitmapData(true, 0, false);
         else if (!(target is IUIComponent))
             throw new Error(resourceManager.getString("sparkEffects", "cannotOperateOn"));
         return BitmapUtil.getSnapshot(IUIComponent(target));

import spark.effects.supportClasses.AnimateTransitionShaderInstance;
import spark.primitives.supportClasses.GraphicElement;
import spark.utils.BitmapUtil;

//--------------------------------------
//  Other metadata

import flash.utils.ByteArray;

import mx.core.IUIComponent;
import mx.core.mx_internal;
import mx.effects.IEffectInstance;
import mx.resources.IResourceManager;
import mx.resources.ResourceManager;
