Implemented DisplayUtil.applyToHierarchy, because the similar function

included in the mx library is unable to cope with security errors
accessing a child.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4444 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-11-03 22:34:10 +00:00
parent 9ef2673464
commit ce2c276d87
2 changed files with 37 additions and 2 deletions
@@ -23,7 +23,7 @@ package com.threerings.crowd.client {
import flash.display.DisplayObject;
import mx.utils.DisplayUtil;
import com.threerings.util.DisplayUtil;
import com.threerings.crowd.data.PlaceObject;
@@ -72,7 +72,7 @@ public class PlaceViewUtil
return;
}
DisplayUtil.walkDisplayObjects(root as DisplayObject,
DisplayUtil.applyToHierarchy(root as DisplayObject,
function (disp :DisplayObject) :void {
if (disp is PlaceView) {
try {