 		// Call super function first so we don't clobber resetting the alpha.
 		super.onTweenEnd(value);	
 			
-		if (mx_internal::hideOnEffectEnd || restoreAlpha)
+		if (hideOnEffectEnd || restoreAlpha)
 		{
 			target.alpha = origAlpha;
 		}

import mx.core.mx_internal;
import mx.events.FlexEvent;

/**
 *  The FadeInstance class implements the instance class
 *  for the Fade effect.

		super.play();

		// Try to cache the target as a bitmap.
		//EffectManager.startBitmapEffect(target);

		// Remember the original value of the target object's alpha
		origAlpha = target.alpha;
