Skip to content

Commit

Permalink
- update source for flex 4.13
Browse files Browse the repository at this point in the history
- update robotlegs
  • Loading branch information
kutu committed Oct 2, 2014
1 parent 7af42db commit a4c1761
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -6,13 +6,13 @@ Grind Player — is a OSMF + Flex based flash video player, which provides most

# Dependencies

- [Robotlegs Framework 2.1 →](http://www.robotlegs.org/)
- [Robotlegs Framework 2 →](http://www.robotlegs.org/)
- [Blooddy Crypto Library →](http://www.blooddy.by/crypto/)
- [Open Sans →](http://www.google.com/webfonts/specimen/Open+Sans) font

# Build

1. Install [Flex 4.11.0+ →](http://flex.apache.org/installer.html)
1. Install [Flex 4.13.0+ →](http://flex.apache.org/installer.html)
2. Download [playerglobal.swc 10.2 →](http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html#playerglobal) and put it in
`flex_sdk\frameworks\libs\player\10.2\playerglobal.swc`

Expand Down
Binary file removed libs/robotlegs-framework-v2.1.0.swc
Binary file not shown.
Binary file added libs/robotlegs-framework-v2.2.1.swc
Binary file not shown.
1 change: 0 additions & 1 deletion src/ru/kutu/grindplayer/media/GrindMediaPlayer.as
@@ -1,7 +1,6 @@
package ru.kutu.grindplayer.media {

import org.osmf.events.MediaPlayerCapabilityChangeEvent;
import org.osmf.media.MediaElement;

import ru.kutu.grind.media.GrindMediaPlayerBase;
import ru.kutu.osmf.subtitles.SubtitlesEvent;
Expand Down
Expand Up @@ -4,19 +4,15 @@ package ru.kutu.grindplayer.views.components {
import flash.geom.Point;
import flash.geom.Rectangle;

import mx.core.mx_internal;

import spark.components.PopUpAnchor;

use namespace mx_internal;

public class PopUpAnchorCentered extends PopUpAnchor {

public function PopUpAnchorCentered() {
super();
}

mx_internal override function determinePosition(placement:String, popUpWidth:Number, popUpHeight:Number, matrix:Matrix, registrationPoint:Point, bounds:Rectangle):void {
override protected function determinePosition(placement:String, popUpWidth:Number, popUpHeight:Number, matrix:Matrix, registrationPoint:Point, bounds:Rectangle):void {
registrationPoint.x = (unscaledWidth - popUpWidth) / 2;
registrationPoint.y = -popUpHeight;
super.determinePosition("", popUpWidth, popUpHeight, matrix, registrationPoint, bounds);
Expand Down

0 comments on commit a4c1761

Please sign in to comment.