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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user