The scrubber is an internal asset to the scrub bar, so no listeners can be added to it in a clean way.
If the goal is to have a listener triggered when the user seeks though, then that can be done by getting the SeekTrait object from the current media element, and listening for a SeekEvent.SEEKING_CHANGE event being dispatched by it. The time property on the event holds the target seek time, and using the element's TimeTrait, its total duration can be queried for.
Thank you for the help.
I am attempting to add a listener as you suggested but I am getting a null object refence error on the bolded line.
mediaElement = createMediaElement(url);
var seekTrait:SeekTrait = mediaElement.getTrait(MediaTraitType.SEEK) as SeekTrait;
What am I doing incorrectly here?
I got it. You have to use this.
To wait till the trait is avalible.