Code hints will not help when dealing with event.target unless you know what it is. Technically you should code lit like
LoaderInfo(event.target).loader And hopefully, you'll get code hints when you type the '.' before loader. ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent: Wednesday, June 04, 2008 7:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Retrieving instence name? Woowow Ales, you are the BEST!!!! :)) How do you know the property of event.target.loader? I was unable to see the property by using "cdoe tip" Cheers --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Sorry, I actually hadn't looked at your code before. > > > > The target/currentTarget will be a LoaderInfo. Target.loader.name is > probably what you want. > > > > ________________________________ > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of flexawesome > Sent: Wednesday, June 04, 2008 2:19 PM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Re: Retrieving instence name? > > > > > Hey Alex, I was unable to retrieve the instance name.. > > I got trace info. => [object LoaderInfo] > > Any hits? > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders% 40yahoogroups.com> > , "Alex Harui" <aharui@> wrote: > > > > Try event.currentTarget.toString() > > > > > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders% 40yahoogroups.com> > > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders% 40yahoogroups.com> > ] On > > Behalf Of flexawesome > > Sent: Wednesday, June 04, 2008 1:25 PM > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders% 40yahoogroups.com> > > Subject: [flexcoders] Re: Retrieving instence name? > > > > > > > > event.currentTarget.name seem doesn't work. :( > > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders% > 40yahoogroups.com> > > , "flexawesome" <flexawesome@> > > wrote: > > > > > > Hey, is that possible to retrieve the instence name for imgLoad ? > > > > > > # in this example, it calls init2 from init1 and know the > instence > > name > > > is "test" but I would like to retrieve it from event or other > ways, > > is > > > that possible? > > > > > > > > > http://www.privatepaste.com/e4RWWrMIAW <http://www.privatepaste.com/e4RWWrMIAW> > <http://www.privatepaste.com/e4RWWrMIAW <http://www.privatepaste.com/e4RWWrMIAW> > > > <http://www.privatepaste.com/e4RWWrMIAW <http://www.privatepaste.com/e4RWWrMIAW> > <http://www.privatepaste.com/e4RWWrMIAW <http://www.privatepaste.com/e4RWWrMIAW> > > > > > > > > Thank you > > > > > >