[Pkg-javascript-commits] [jarisplayer] 07/80: fixed introduced bug on fullscreen out
Jonas Smedegaard
dr at jones.dk
Tue May 10 08:45:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository jarisplayer.
commit 85e648009d42002e4148f3ccdd824b6796307217
Author: jgmylm <jgmylm at edf201c3-a14d-0410-a11e-aa85364efa9f>
Date: Wed Mar 10 05:17:27 2010 +0000
fixed introduced bug on fullscreen out
git-svn-id: https://jaris.svn.sourceforge.net/svnroot/jaris/trunk@7 edf201c3-a14d-0410-a11e-aa85364efa9f
---
bin/JarisFLVPlayer.swf | Bin 18759 -> 18786 bytes
src/jaris/player/controls/Controls.hx | 23 +++++++++++++----------
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/bin/JarisFLVPlayer.swf b/bin/JarisFLVPlayer.swf
index b29684a..0c107be 100644
Binary files a/bin/JarisFLVPlayer.swf and b/bin/JarisFLVPlayer.swf differ
diff --git a/src/jaris/player/controls/Controls.hx b/src/jaris/player/controls/Controls.hx
index 739990d..240f7e8 100644
--- a/src/jaris/player/controls/Controls.hx
+++ b/src/jaris/player/controls/Controls.hx
@@ -580,19 +580,16 @@ class Controls extends MovieClip {
*/
private function redrawControls():Void
{
- _seekBar.graphics.clear();
- _trackBar.graphics.clear();
- _track.graphics.clear();
- _thumb.graphics.clear();
-
- drawSeekControls();
- drawPlayingControls();
-
+ var count:UInt = 1;
//draw until seekbar width == stage width
- if(_seekBar.width != _stage.stageWidth)
+ if(_seekBar.width != _stage.stageWidth && count <= 3)
{
- redrawControls();
+ drawSeekControls();
+
+ count++;
}
+
+ drawPlayingControls();
}
/**
@@ -623,6 +620,12 @@ class Controls extends MovieClip {
*/
private function drawSeekControls()
{
+ //Reset sprites for redraw
+ _seekBar.graphics.clear();
+ _trackBar.graphics.clear();
+ _track.graphics.clear();
+ _thumb.graphics.clear();
+
_seekBar.x = 0;
_seekBar.y = _stage.stageHeight - 25;
_seekBar.graphics.lineStyle();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jarisplayer.git
More information about the Pkg-javascript-commits
mailing list