      */
     public function get duration():Number
     {
-        if (!mx_internal::durationExplicitlySet &&
-            mx_internal::parentCompositeEffect)
-        {
-            return mx_internal::parentCompositeEffect.duration;
+        if (!durationExplicitlySet &&
+            parentCompositeEffect)
+        {
+            return parentCompositeEffect.duration;
         }
         else
         {

            // make temporary PropertyChangesArray
            var additionalPropertyChangesArray:Array = captureValues(null, true);
            
            mx_internal::propertyChangesArray = 
                mx_internal::propertyChangesArray.concat(additionalPropertyChangesArray);
        }
    }
    

    {
        // captureValues will create propertyChangesArray if it does not
        // yet exist
        propertyChangesArray =
            captureValues(propertyChangesArray, false);
        endValuesCaptured = true;
    }
        
