YLegendLeft.as 340 B

1234567891011121314151617
  1. package elements.labels {
  2. public class YLegendLeft extends YLegendBase {
  3. public function YLegendLeft( json:Object ) {
  4. super( json, 'y' );
  5. }
  6. public override function resize():void {
  7. if ( this.numChildren == 0 )
  8. return;
  9. this.y = (this.stage.stageHeight/2)+(this.getChildAt(0).height/2);
  10. this.x = 0;
  11. }
  12. }
  13. }