initial commit, kind of working.
This commit is contained in:
@@ -0,0 +1,465 @@
|
||||
package mx.core
|
||||
{
|
||||
import flash.display.BitmapData;
|
||||
import flash.display.DisplayObjectContainer;
|
||||
import flash.events.Event;
|
||||
import flash.geom.Point;
|
||||
import flash.system.ApplicationDomain;
|
||||
|
||||
use namespace mx_internal;
|
||||
|
||||
public class BitmapAsset extends FlexBitmap implements IFlexAsset, IFlexDisplayObject, ILayoutDirectionElement
|
||||
{
|
||||
|
||||
private static var FlexVersionClass:Class;
|
||||
|
||||
private static var MatrixUtilClass:Class;
|
||||
|
||||
mx_internal static const VERSION:String = "4.1.0.16076";
|
||||
|
||||
private var layoutFeaturesClass:Class;
|
||||
|
||||
private var layoutFeatures:IAssetLayoutFeatures;
|
||||
|
||||
private var _height:Number;
|
||||
|
||||
private var _layoutDirection:String = "ltr";
|
||||
|
||||
public function BitmapAsset(param1:BitmapData = null, param2:String = "auto", param3:Boolean = false)
|
||||
{
|
||||
var _loc4_:ApplicationDomain = null;
|
||||
super(param1,param2,param3);
|
||||
if(FlexVersionClass == null)
|
||||
{
|
||||
_loc4_ = ApplicationDomain.currentDomain;
|
||||
if(_loc4_.hasDefinition("mx.core::FlexVersion"))
|
||||
{
|
||||
FlexVersionClass = Class(_loc4_.getDefinition("mx.core::FlexVersion"));
|
||||
}
|
||||
}
|
||||
if(Boolean(FlexVersionClass) && FlexVersionClass["compatibilityVersion"] >= FlexVersionClass["VERSION_4_0"])
|
||||
{
|
||||
this.addEventListener(Event.ADDED,this.addedHandler);
|
||||
}
|
||||
}
|
||||
|
||||
override public function get x() : Number
|
||||
{
|
||||
return this.layoutFeatures == null ? super.x : this.layoutFeatures.layoutX;
|
||||
}
|
||||
|
||||
override public function set x(param1:Number) : void
|
||||
{
|
||||
if(this.x == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.x = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.layoutFeatures.layoutX = param1;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
override public function get y() : Number
|
||||
{
|
||||
return this.layoutFeatures == null ? super.y : this.layoutFeatures.layoutY;
|
||||
}
|
||||
|
||||
override public function set y(param1:Number) : void
|
||||
{
|
||||
if(this.y == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.y = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.layoutFeatures.layoutY = param1;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
override public function get z() : Number
|
||||
{
|
||||
return this.layoutFeatures == null ? super.z : this.layoutFeatures.layoutZ;
|
||||
}
|
||||
|
||||
override public function set z(param1:Number) : void
|
||||
{
|
||||
if(this.z == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.z = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.layoutFeatures.layoutZ = param1;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
override public function get width() : Number
|
||||
{
|
||||
var _loc1_:Point = null;
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
return super.width;
|
||||
}
|
||||
if(MatrixUtilClass != null)
|
||||
{
|
||||
_loc1_ = MatrixUtilClass["transformSize"](this.layoutFeatures.layoutWidth,this._height,transform.matrix);
|
||||
}
|
||||
return _loc1_ ? _loc1_.x : super.width;
|
||||
}
|
||||
|
||||
override public function set width(param1:Number) : void
|
||||
{
|
||||
if(this.width == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.width = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.layoutFeatures.layoutWidth = param1;
|
||||
this.layoutFeatures.layoutScaleX = this.measuredWidth != 0 ? param1 / this.measuredWidth : 0;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
override public function get height() : Number
|
||||
{
|
||||
var _loc1_:Point = null;
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
return super.height;
|
||||
}
|
||||
if(MatrixUtilClass != null)
|
||||
{
|
||||
_loc1_ = MatrixUtilClass["transformSize"](this.layoutFeatures.layoutWidth,this._height,transform.matrix);
|
||||
}
|
||||
return _loc1_ ? _loc1_.y : super.height;
|
||||
}
|
||||
|
||||
override public function set height(param1:Number) : void
|
||||
{
|
||||
if(this.height == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.height = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._height = param1;
|
||||
this.layoutFeatures.layoutScaleY = this.measuredHeight != 0 ? param1 / this.measuredHeight : 0;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
override public function get rotationX() : Number
|
||||
{
|
||||
return this.layoutFeatures == null ? super.rotationX : this.layoutFeatures.layoutRotationX;
|
||||
}
|
||||
|
||||
override public function set rotationX(param1:Number) : void
|
||||
{
|
||||
if(this.rotationX == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.rotationX = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.layoutFeatures.layoutRotationX = param1;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
override public function get rotationY() : Number
|
||||
{
|
||||
return this.layoutFeatures == null ? super.rotationY : this.layoutFeatures.layoutRotationY;
|
||||
}
|
||||
|
||||
override public function set rotationY(param1:Number) : void
|
||||
{
|
||||
if(this.rotationY == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.rotationY = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.layoutFeatures.layoutRotationY = param1;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
override public function get rotationZ() : Number
|
||||
{
|
||||
return this.layoutFeatures == null ? super.rotationZ : this.layoutFeatures.layoutRotationZ;
|
||||
}
|
||||
|
||||
override public function set rotationZ(param1:Number) : void
|
||||
{
|
||||
if(this.rotationZ == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.rotationZ = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.layoutFeatures.layoutRotationZ = param1;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
override public function get rotation() : Number
|
||||
{
|
||||
return this.layoutFeatures == null ? super.rotation : this.layoutFeatures.layoutRotationZ;
|
||||
}
|
||||
|
||||
override public function set rotation(param1:Number) : void
|
||||
{
|
||||
if(this.rotation == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.rotation = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.layoutFeatures.layoutRotationZ = param1;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
override public function get scaleX() : Number
|
||||
{
|
||||
return this.layoutFeatures == null ? super.scaleX : this.layoutFeatures.layoutScaleX;
|
||||
}
|
||||
|
||||
override public function set scaleX(param1:Number) : void
|
||||
{
|
||||
if(this.scaleX == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.scaleX = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.layoutFeatures.layoutScaleX = param1;
|
||||
this.layoutFeatures.layoutWidth = Math.abs(param1) * this.measuredWidth;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
override public function get scaleY() : Number
|
||||
{
|
||||
return this.layoutFeatures == null ? super.scaleY : this.layoutFeatures.layoutScaleY;
|
||||
}
|
||||
|
||||
override public function set scaleY(param1:Number) : void
|
||||
{
|
||||
if(this.scaleY == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.scaleY = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.layoutFeatures.layoutScaleY = param1;
|
||||
this._height = Math.abs(param1) * this.measuredHeight;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
override public function get scaleZ() : Number
|
||||
{
|
||||
return this.layoutFeatures == null ? super.scaleZ : this.layoutFeatures.layoutScaleZ;
|
||||
}
|
||||
|
||||
override public function set scaleZ(param1:Number) : void
|
||||
{
|
||||
if(this.scaleZ == param1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(this.layoutFeatures == null)
|
||||
{
|
||||
super.scaleZ = param1;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.layoutFeatures.layoutScaleZ = param1;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
public function get layoutDirection() : String
|
||||
{
|
||||
return this._layoutDirection;
|
||||
}
|
||||
|
||||
public function set layoutDirection(param1:String) : void
|
||||
{
|
||||
if(param1 == this._layoutDirection)
|
||||
{
|
||||
return;
|
||||
}
|
||||
this._layoutDirection = param1;
|
||||
this.invalidateLayoutDirection();
|
||||
}
|
||||
|
||||
public function get measuredHeight() : Number
|
||||
{
|
||||
if(bitmapData)
|
||||
{
|
||||
return bitmapData.height;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
public function get measuredWidth() : Number
|
||||
{
|
||||
if(bitmapData)
|
||||
{
|
||||
return bitmapData.width;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
public function invalidateLayoutDirection() : void
|
||||
{
|
||||
var _loc2_:Boolean = false;
|
||||
var _loc1_:DisplayObjectContainer = parent;
|
||||
while(_loc1_)
|
||||
{
|
||||
if(_loc1_ is ILayoutDirectionElement)
|
||||
{
|
||||
_loc2_ = this._layoutDirection != null && this._layoutDirection != ILayoutDirectionElement(_loc1_).layoutDirection;
|
||||
if(_loc2_ && this.layoutFeatures == null)
|
||||
{
|
||||
this.initAdvancedLayoutFeatures();
|
||||
if(this.layoutFeatures != null)
|
||||
{
|
||||
this.layoutFeatures.mirror = _loc2_;
|
||||
this.validateTransformMatrix();
|
||||
}
|
||||
}
|
||||
else if(!_loc2_ && Boolean(this.layoutFeatures))
|
||||
{
|
||||
this.layoutFeatures.mirror = _loc2_;
|
||||
this.validateTransformMatrix();
|
||||
this.layoutFeatures = null;
|
||||
}
|
||||
break;
|
||||
}
|
||||
_loc1_ = _loc1_.parent;
|
||||
}
|
||||
}
|
||||
|
||||
public function move(param1:Number, param2:Number) : void
|
||||
{
|
||||
this.x = param1;
|
||||
this.y = param2;
|
||||
}
|
||||
|
||||
public function setActualSize(param1:Number, param2:Number) : void
|
||||
{
|
||||
this.width = param1;
|
||||
this.height = param2;
|
||||
}
|
||||
|
||||
private function addedHandler(param1:Event) : void
|
||||
{
|
||||
this.invalidateLayoutDirection();
|
||||
}
|
||||
|
||||
private function initAdvancedLayoutFeatures() : void
|
||||
{
|
||||
var _loc1_:ApplicationDomain = null;
|
||||
var _loc2_:IAssetLayoutFeatures = null;
|
||||
if(this.layoutFeaturesClass == null)
|
||||
{
|
||||
_loc1_ = ApplicationDomain.currentDomain;
|
||||
if(_loc1_.hasDefinition("mx.core::AdvancedLayoutFeatures"))
|
||||
{
|
||||
this.layoutFeaturesClass = Class(_loc1_.getDefinition("mx.core::AdvancedLayoutFeatures"));
|
||||
}
|
||||
if(MatrixUtilClass == null)
|
||||
{
|
||||
if(_loc1_.hasDefinition("mx.utils::MatrixUtil"))
|
||||
{
|
||||
MatrixUtilClass = Class(_loc1_.getDefinition("mx.utils::MatrixUtil"));
|
||||
}
|
||||
}
|
||||
}
|
||||
if(this.layoutFeaturesClass != null)
|
||||
{
|
||||
_loc2_ = new this.layoutFeaturesClass();
|
||||
_loc2_.layoutScaleX = this.scaleX;
|
||||
_loc2_.layoutScaleY = this.scaleY;
|
||||
_loc2_.layoutScaleZ = this.scaleZ;
|
||||
_loc2_.layoutRotationX = this.rotationX;
|
||||
_loc2_.layoutRotationY = this.rotationY;
|
||||
_loc2_.layoutRotationZ = this.rotation;
|
||||
_loc2_.layoutX = this.x;
|
||||
_loc2_.layoutY = this.y;
|
||||
_loc2_.layoutZ = this.z;
|
||||
_loc2_.layoutWidth = this.width;
|
||||
this._height = this.height;
|
||||
this.layoutFeatures = _loc2_;
|
||||
}
|
||||
}
|
||||
|
||||
private function validateTransformMatrix() : void
|
||||
{
|
||||
if(this.layoutFeatures != null)
|
||||
{
|
||||
if(this.layoutFeatures.is3D)
|
||||
{
|
||||
super.transform.matrix3D = this.layoutFeatures.computedMatrix3D;
|
||||
}
|
||||
else
|
||||
{
|
||||
super.transform.matrix = this.layoutFeatures.computedMatrix;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
package mx.core
|
||||
{
|
||||
import flash.utils.ByteArray;
|
||||
|
||||
use namespace mx_internal;
|
||||
|
||||
public class ByteArrayAsset extends ByteArray implements IFlexAsset
|
||||
{
|
||||
|
||||
mx_internal static const VERSION:String = "4.1.0.16076";
|
||||
|
||||
public function ByteArrayAsset()
|
||||
{
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
package mx.core
|
||||
{
|
||||
import flash.display.Bitmap;
|
||||
import flash.display.BitmapData;
|
||||
import mx.utils.NameUtil;
|
||||
|
||||
use namespace mx_internal;
|
||||
|
||||
public class FlexBitmap extends Bitmap
|
||||
{
|
||||
|
||||
mx_internal static const VERSION:String = "4.1.0.16076";
|
||||
|
||||
public function FlexBitmap(param1:BitmapData = null, param2:String = "auto", param3:Boolean = false)
|
||||
{
|
||||
var bitmapData:BitmapData = param1;
|
||||
var pixelSnapping:String = param2;
|
||||
var smoothing:Boolean = param3;
|
||||
super(bitmapData,pixelSnapping,smoothing);
|
||||
try
|
||||
{
|
||||
name = NameUtil.createUniqueName(this);
|
||||
}
|
||||
catch(e:Error)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
override public function toString() : String
|
||||
{
|
||||
return NameUtil.displayObjectToString(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
package mx.core
|
||||
{
|
||||
import flash.text.Font;
|
||||
|
||||
use namespace mx_internal;
|
||||
|
||||
public class FontAsset extends Font implements IFlexAsset
|
||||
{
|
||||
|
||||
mx_internal static const VERSION:String = "4.1.0.16076";
|
||||
|
||||
public function FontAsset()
|
||||
{
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
package mx.core
|
||||
{
|
||||
import flash.geom.Matrix;
|
||||
import flash.geom.Matrix3D;
|
||||
|
||||
public interface IAssetLayoutFeatures
|
||||
{
|
||||
|
||||
function set layoutX(param1:Number) : void;
|
||||
|
||||
function get layoutX() : Number;
|
||||
|
||||
function set layoutY(param1:Number) : void;
|
||||
|
||||
function get layoutY() : Number;
|
||||
|
||||
function set layoutZ(param1:Number) : void;
|
||||
|
||||
function get layoutZ() : Number;
|
||||
|
||||
function get layoutWidth() : Number;
|
||||
|
||||
function set layoutWidth(param1:Number) : void;
|
||||
|
||||
function set transformX(param1:Number) : void;
|
||||
|
||||
function get transformX() : Number;
|
||||
|
||||
function set transformY(param1:Number) : void;
|
||||
|
||||
function get transformY() : Number;
|
||||
|
||||
function set transformZ(param1:Number) : void;
|
||||
|
||||
function get transformZ() : Number;
|
||||
|
||||
function set layoutRotationX(param1:Number) : void;
|
||||
|
||||
function get layoutRotationX() : Number;
|
||||
|
||||
function set layoutRotationY(param1:Number) : void;
|
||||
|
||||
function get layoutRotationY() : Number;
|
||||
|
||||
function set layoutRotationZ(param1:Number) : void;
|
||||
|
||||
function get layoutRotationZ() : Number;
|
||||
|
||||
function set layoutScaleX(param1:Number) : void;
|
||||
|
||||
function get layoutScaleX() : Number;
|
||||
|
||||
function set layoutScaleY(param1:Number) : void;
|
||||
|
||||
function get layoutScaleY() : Number;
|
||||
|
||||
function set layoutScaleZ(param1:Number) : void;
|
||||
|
||||
function get layoutScaleZ() : Number;
|
||||
|
||||
function set layoutMatrix(param1:Matrix) : void;
|
||||
|
||||
function get layoutMatrix() : Matrix;
|
||||
|
||||
function set layoutMatrix3D(param1:Matrix3D) : void;
|
||||
|
||||
function get layoutMatrix3D() : Matrix3D;
|
||||
|
||||
function get is3D() : Boolean;
|
||||
|
||||
function get layoutIs3D() : Boolean;
|
||||
|
||||
function get mirror() : Boolean;
|
||||
|
||||
function set mirror(param1:Boolean) : void;
|
||||
|
||||
function get stretchX() : Number;
|
||||
|
||||
function set stretchX(param1:Number) : void;
|
||||
|
||||
function get stretchY() : Number;
|
||||
|
||||
function set stretchY(param1:Number) : void;
|
||||
|
||||
function get computedMatrix() : Matrix;
|
||||
|
||||
function get computedMatrix3D() : Matrix3D;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
package mx.core
|
||||
{
|
||||
public interface IFlexAsset
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
package mx.core
|
||||
{
|
||||
import flash.accessibility.AccessibilityProperties;
|
||||
import flash.display.DisplayObject;
|
||||
import flash.display.DisplayObjectContainer;
|
||||
import flash.display.IBitmapDrawable;
|
||||
import flash.display.LoaderInfo;
|
||||
import flash.display.Stage;
|
||||
import flash.events.IEventDispatcher;
|
||||
import flash.geom.Point;
|
||||
import flash.geom.Rectangle;
|
||||
import flash.geom.Transform;
|
||||
|
||||
public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher
|
||||
{
|
||||
|
||||
function get root() : DisplayObject;
|
||||
|
||||
function get stage() : Stage;
|
||||
|
||||
function get name() : String;
|
||||
|
||||
function set name(param1:String) : void;
|
||||
|
||||
function get parent() : DisplayObjectContainer;
|
||||
|
||||
function get mask() : DisplayObject;
|
||||
|
||||
function set mask(param1:DisplayObject) : void;
|
||||
|
||||
function get visible() : Boolean;
|
||||
|
||||
function set visible(param1:Boolean) : void;
|
||||
|
||||
function get x() : Number;
|
||||
|
||||
function set x(param1:Number) : void;
|
||||
|
||||
function get y() : Number;
|
||||
|
||||
function set y(param1:Number) : void;
|
||||
|
||||
function get scaleX() : Number;
|
||||
|
||||
function set scaleX(param1:Number) : void;
|
||||
|
||||
function get scaleY() : Number;
|
||||
|
||||
function set scaleY(param1:Number) : void;
|
||||
|
||||
function get mouseX() : Number;
|
||||
|
||||
function get mouseY() : Number;
|
||||
|
||||
function get rotation() : Number;
|
||||
|
||||
function set rotation(param1:Number) : void;
|
||||
|
||||
function get alpha() : Number;
|
||||
|
||||
function set alpha(param1:Number) : void;
|
||||
|
||||
function get width() : Number;
|
||||
|
||||
function set width(param1:Number) : void;
|
||||
|
||||
function get height() : Number;
|
||||
|
||||
function set height(param1:Number) : void;
|
||||
|
||||
function get cacheAsBitmap() : Boolean;
|
||||
|
||||
function set cacheAsBitmap(param1:Boolean) : void;
|
||||
|
||||
function get opaqueBackground() : Object;
|
||||
|
||||
function set opaqueBackground(param1:Object) : void;
|
||||
|
||||
function get scrollRect() : Rectangle;
|
||||
|
||||
function set scrollRect(param1:Rectangle) : void;
|
||||
|
||||
function get filters() : Array;
|
||||
|
||||
function set filters(param1:Array) : void;
|
||||
|
||||
function get blendMode() : String;
|
||||
|
||||
function set blendMode(param1:String) : void;
|
||||
|
||||
function get transform() : Transform;
|
||||
|
||||
function set transform(param1:Transform) : void;
|
||||
|
||||
function get scale9Grid() : Rectangle;
|
||||
|
||||
function set scale9Grid(param1:Rectangle) : void;
|
||||
|
||||
function globalToLocal(param1:Point) : Point;
|
||||
|
||||
function localToGlobal(param1:Point) : Point;
|
||||
|
||||
function getBounds(param1:DisplayObject) : Rectangle;
|
||||
|
||||
function getRect(param1:DisplayObject) : Rectangle;
|
||||
|
||||
function get loaderInfo() : LoaderInfo;
|
||||
|
||||
function hitTestObject(param1:DisplayObject) : Boolean;
|
||||
|
||||
function hitTestPoint(param1:Number, param2:Number, param3:Boolean = false) : Boolean;
|
||||
|
||||
function get accessibilityProperties() : AccessibilityProperties;
|
||||
|
||||
function set accessibilityProperties(param1:AccessibilityProperties) : void;
|
||||
|
||||
function get measuredHeight() : Number;
|
||||
|
||||
function get measuredWidth() : Number;
|
||||
|
||||
function move(param1:Number, param2:Number) : void;
|
||||
|
||||
function setActualSize(param1:Number, param2:Number) : void;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package mx.core
|
||||
{
|
||||
public interface ILayoutDirectionElement
|
||||
{
|
||||
|
||||
function get layoutDirection() : String;
|
||||
|
||||
function set layoutDirection(param1:String) : void;
|
||||
|
||||
function invalidateLayoutDirection() : void;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
package mx.core
|
||||
{
|
||||
public interface IRepeaterClient
|
||||
{
|
||||
|
||||
function get instanceIndices() : Array;
|
||||
|
||||
function set instanceIndices(param1:Array) : void;
|
||||
|
||||
function get isDocument() : Boolean;
|
||||
|
||||
function get repeaterIndices() : Array;
|
||||
|
||||
function set repeaterIndices(param1:Array) : void;
|
||||
|
||||
function get repeaters() : Array;
|
||||
|
||||
function set repeaters(param1:Array) : void;
|
||||
|
||||
function initializeRepeaterArrays(param1:IRepeaterClient) : void;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
package mx.core
|
||||
{
|
||||
import flash.media.Sound;
|
||||
|
||||
use namespace mx_internal;
|
||||
|
||||
public class SoundAsset extends Sound implements IFlexAsset
|
||||
{
|
||||
|
||||
mx_internal static const VERSION:String = "4.1.0.16076";
|
||||
|
||||
public function SoundAsset()
|
||||
{
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
package mx.core
|
||||
{
|
||||
public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user