I see it.  It may be that the deep recursive printing in the MouseEvent is hitting something it shouldn’t be.  Maybe try excluding some of the properties like target so it doesn’t go too deep?

 


From: [email protected] [mailto:[email protected]] On Behalf Of David Harris
Sent: Thursday, October 12, 2006 1:24 PM
To: [email protected]
Subject: [flexcoders] my event isn't "sufficiently loaded to provide this information."

 

This is a bit weird. (Every other time I have said this it's been me but...)

I have a custom event that I am broadcasting on a button click.

The Button is clicked, which then calls a function.

When I put a trace of the event.target I get the "The loading object
is not sufficiently loaded to provide this information." error.

I am not sure why this is happening as the target is fully loaded
before I click it.

Any one else seen this?

The below snippet causes this error for me. Do you see this error when
you run the below code?:

=================================================================

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.utils.ObjectUtil;
public function buttonClickHandler(event:MouseEvent):void
{
trace(ObjectUtil.toString(event));
}
]]>
</mx:Script>

<mx:HBox>
<mx:Button id="thisButton" click="buttonClickHandler(event)" />
</mx:HBox>
</mx:Application>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

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