It's not a bug. Loaded SWFs may be under security restrictions and may not show up in the list of objects returned by getObjects under point. >From the docs:

"Any child objects that are inaccessible for security reasons are omitted from the returned array. To determine whether this security restriction affects the returned array, call the areInaccessibleObjectsUnderPoint() method."

The documentation for the areInaccessibleObjectsUnderPoint() method has some more information that you might find useful:

http://livedocs.macromedia.com/flex/2/langref/flash/display/
DisplayObjectContainer.html#areInaccessibleObjectsUnderPoint()


Josh Tynjala
www.zeuslabs.us


cjo_group wrote:

Hi,

I have my own UIComponent in which I add different kind of
IFlexDisplayObject using addChild.

At some point I want to get the IFlexDisplayObject under the mouse
pointer.

If the object under the mouse pointer is a FlexShape or a
ProgrammaticSkin all is doing well. But if it is a MovieClipAsset (a
loaded SWF for example) it is not finding it.

Is there something I could do wrong? Doesn't it look like a bug?

Thanks.

__._,_.___


SPONSORED LINKS
Software development tool Application development software Development software
Development outsourcing software Embedded software development

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to