home *** CD-ROM | disk | FTP | other *** search
- package ENGINE.INTERFACE.ELEMENTS
- {
- import ENGINE.INTERFACE.ANIMATORS.OA_Alpha;
- import ENGINE.INTERFACE.ANIMATORS.OA_AlphaInd;
- import ENGINE.INTERFACE.OButton;
- import ENGINE.INTERFACE.OIObject;
- import flash.events.MouseEvent;
-
- public class OListBoxElement extends OButton
- {
-
- public static const iDefAnimators:Array = [{
- "F":OA_Alpha.Make,
- "iSAlpha":0,
- "iEAlpha":1,
- "iPIter":3
- },{
- "F":OA_Alpha.Make,
- "iSAlpha":-1,
- "iEAlpha":0,
- "iPIter":3
- },{
- "F":OA_Alpha.Make,
- "iSAlpha":-1,
- "iEAlpha":1,
- "iPIter":3
- },{
- "F":OA_Alpha.Make,
- "iSAlpha":-1,
- "iEAlpha":0.2,
- "iPIter":3
- },null,null,{
- "F":OA_AlphaInd.Make,
- "iSAlpha":-1,
- "iEAlpha":0.6,
- "iInd":[1],
- "iPIter":3
- },{
- "F":OA_AlphaInd.Make,
- "iSAlpha":-1,
- "iEAlpha":1,
- "iInd":[1],
- "iPIter":3
- },{
- "F":OA_AlphaInd.Make,
- "iSAlpha":0,
- "iEAlpha":1,
- "iInd":[0],
- "iPIter":9
- },{
- "F":OA_AlphaInd.Make,
- "iSAlpha":-1,
- "iEAlpha":0,
- "iInd":[0],
- "iPIter":9
- }];
-
-
- public function OListBoxElement(param1:Array, param2:Array = null)
- {
- var _loc3_:Array = null;
- _loc3_ = !!param2 ? param2 : iDefAnimators;
- super(param1,_loc3_);
- }
-
- override public function OnMouseUp(param1:MouseEvent) : void
- {
- }
-
- override public function OnRollOut(param1:MouseEvent) : void
- {
- this.prRool = false;
- }
-
- override public function OnMouseDown(param1:MouseEvent) : void
- {
- if(this.prPress && this.parent is OIObject)
- {
- (this.parent as OIObject).OnPress(param1,this);
- return;
- }
- super.OnMouseDown(param1);
- }
- }
- }
-