チェンジセット 4127
- コミット日時:
- 2010/07/29 12:36:41 (2 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/SWFWheel/trunk/src/org/libspark/ui/SWFWheel.as
r4124 r4127 22 22 public class SWFWheel 23 23 { 24 public static const VERSION:String = '1.5 RC 1';24 public static const VERSION:String = '1.5 RC2'; 25 25 public static const STATE_NATIVE:int = 0; 26 26 public static const STATE_IF_NEEDED:int = 1; … … 133 133 var targets:Array = _stage.getObjectsUnderPoint(new Point(_stage.mouseX, 134 134 _stage.mouseY)); 135 // push stack stage as last target. 136 targets.push(_stage); 135 var tmp:DisplayObject = targets.pop() as DisplayObject; 137 136 // search deepest target. 138 137 var target:InteractiveObject; 139 for each (var tmp:DisplayObject in targets) 140 { 138 while (tmp != null) { 141 139 target = tmp as InteractiveObject; 142 140 if (target) break; 141 tmp = tmp.parent; 143 142 } 143 // prevent process if can't find target. 144 if (!target) return; 144 145 // create event. 145 146 var event:MouseEvent = new MouseEvent(

