Have you tried using a try{}catch( e:Error){} block and using an Alert box
to show the target or object you're in?-Patrick Driggett On 9/11/07, Sheriff <[EMAIL PROTECTED]> wrote: > > i see so is there anyway to find what listener is causing that problem, > since i only have one in my code. this is just for understaning. > > ----- Original Message ---- > From: ben.clinkinbeard <[EMAIL PROTECTED]> > To: [email protected] > Sent: Tuesday, September 11, 2007 12:53:38 PM > Subject: [flexcoders] Re: Help with event.stopImmediatePropagation(); > > The addEventListener( ) method has a priority parameter (the fourth > one), which specifies the order in which your listener functions will > be called. The parameter defaults to 0, and when there are multiple > listeners with the same priority they are called in the order in which > they were added. > > event.stopImmediate Propagation( ) stops all subsequent listeners from > being fired, so it sounds like one of your listeners down the line has > an error in it. I actually posted an example of using > stopImmediatePropag ation() last week: > http://www.returnun defined.com/ 2007/09/custom- flex-components- > providing- default-yet- overridable- > behavior/<http://www.returnundefined.com/2007/09/custom-flex-components-providing-default-yet-overridable-behavior/> > > HTH, > Ben > > --- In [EMAIL PROTECTED] ups.com <flexcoders%40yahoogroups.com>, Sheriff > <[EMAIL PROTECTED] ..> wrote: > > > > so i am having a problem understand what > event.stopImmediate Propagation( );, so i was wondering if there is a > way that i could use the trace function to tell me what is happening. > Reason is if i dont include the event.stopImmediate Propagation( ); then > i get a runtime error about how the Display object must be a child of > the caller when i click. however, by including the stop then > everything works. I would post the code but its just too big and hard > to follow. > > > > > > > > > > > ____________ _________ _________ _________ _________ _________ _ > > Luggage? GPS? Comic books? > > Check out fitting gifts for grads at Yahoo! Search > > http://search. yahoo.com/ search?fr= oni_on_mail& p=graduation+ > gifts&cs= > bz<http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz> > > > > > > ------------------------------ > Check out > <http://us.rd.yahoo.com/evt=51201/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE5NWVzZGVyBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDYXV0b3MtbmV3Y2Fy%0A>the > hottest 2008 models today at Yahoo! Autos. > > >

