Commit 571cf4f6 authored by Anssi Piirainen's avatar Anssi Piirainen
Browse files

Add names for progress bar and buffer bar child display objects, to be able to...

Add names for progress bar and buffer bar child display objects, to be able to fetch them using getChildByName().
parent f0b75269
......@@ -361,10 +361,12 @@ package org.flowplayer.controls.scrubber {
private function createBars():void {
_progressBar = new Sprite();
_progressBar.name = "progressBar";
addChild(_progressBar);
_bufferBar = new Sprite();
addChild(_bufferBar);
_bufferBar.name = "bufferBar";
swapChildren(_dragger, _bufferBar);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment