            !videoPlayer.scrubBar.enabled)) ||
            ((childID == VIDEOPLAYER_CURRENTTIMEDISPLAY && !videoPlayer.currentTimeDisplay) || 
            (childID == VIDEOPLAYER_CURRENTTIMEDISPLAY && 
-           !videoPlayer.currentTimeDisplay.enabled)) ||
+           !(videoPlayer.currentTimeDisplay is UIComponent && UIComponent(videoPlayer.currentTimeDisplay).enabled))) ||
            ((childID == VIDEOPLAYER_MUTEBUTTON && !videoPlayer.volumeBar) || (childID == VIDEOPLAYER_MUTEBUTTON && 
            !videoPlayer.volumeBar.enabled)) ||
            ((childID == VIDEOPLAYER_VOLUMEBAR && !videoPlayer.volumeBar) || (childID == VIDEOPLAYER_VOLUMEBAR && 

import mx.resources.IResourceManager;
import mx.resources.ResourceManager;

import spark.components.Button;
import spark.components.mediaClasses.VolumeBar;
import spark.components.supportClasses.ToggleButtonBase;
import spark.components.VideoPlayer;
import spark.components.mediaClasses.ScrubBar;
import spark.components.supportClasses.ButtonBase;
import spark.events.SkinPartEvent;
import spark.events.VideoEvent;


import flash.events.FocusEvent;
import flash.events.MouseEvent;

import mx.accessibility.AccConst;
import mx.accessibility.AccImpl;
import mx.core.UIComponent;
