for each( var obj: DisplayObject in objects) : // It is giving me the
error because objects is containing only string.

On Wed, Apr 8, 2009 at 6:51 PM, Puneet <[email protected]> wrote:
> Using DisplayObject in Flex:
>                           var point:Point = new
> Point(event.localX,event.localY);
>     point = event.target.localToGlobal(point);
>     var objects:Array = this.getObjectsUnderPoint(point);
> This objects Array containing only string objects not the objects of type
> DisplayObject
>  for( var obj: DisplayObject in objects) : // It is giving me the error
> because objects is containing only string.
> According to documentation,  this array contains objects of type
> DisplayObjects.
>
>
>
> Thanks.
>
> 



-- 
Ilja Panin
http://the33cows.com

Reply via email to