Re: [flexcoders] flex not seeing method

2009-01-19 Thread Haykel BEN JEMIA
I don't know if this is related, but there is one problem with the name of the event. The event is "downloadresizeevent", while in the meta declaration and the event handler you are calling it "DownloadResizeEvent". You will have either to change the event's name with: public static const DOWNLOA

RE: [flexcoders] flex not seeing method - update

2009-01-18 Thread Alex Harui
nyway. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dnk Sent: Sunday, January 18, 2009 10:36 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] flex not seeing method - update Are there any examples anywhere? On 18-Jan-09, at

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread dnk
flexcoders@yahoogroups.com > Sent: Monday, January 19, 2009 12:16 AM > Subject: Re: [flexcoders] flex not seeing method - update > > Tried that, and same issue. > > d > > > > On 18-Jan-09, at 10:54 AM, Paul Andrews wrote: > >> Try making the handler pu

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread Josh McDonald
> prefix the element name with the outerDocument keyword. > > Paul > > - Original Message - > *From:* dnk > *To:* flexcoders@yahoogroups.com > *Sent:* Monday, January 19, 2009 12:16 AM > *Subject:* Re: [flexcoders] flex not seeing method - update > > Trie

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread Paul Andrews
renderer or item editor, you prefix the element name with the outerDocument keyword. Paul - Original Message - From: dnk To: flexcoders@yahoogroups.com Sent: Monday, January 19, 2009 12:16 AM Subject: Re: [flexcoders] flex not seeing method - update Tried that, and same issue

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread dnk
Tried that, and same issue. d On 18-Jan-09, at 10:54 AM, Paul Andrews wrote: Try making the handler public..

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread Josh McDonald
de in the containing object. -Josh 2009/1/19 Paul Andrews > - Original Message - > From: "dnk" > To: "Flexcoder List" > Sent: Sunday, January 18, 2009 5:47 PM > Subject: [flexcoders] flex not seeing method - update > > > > > > Ok, I fou

Re: [flexcoders] flex not seeing method - update

2009-01-18 Thread Paul Andrews
- Original Message - From: "dnk" To: "Flexcoder List" Sent: Sunday, January 18, 2009 5:47 PM Subject: [flexcoders] flex not seeing method - update > > Ok, I found one additional piece of info that when I sent this I > thought was not relevant. In my ma

[flexcoders] flex not seeing method - update

2009-01-18 Thread dnk
Ok, I found one additional piece of info that when I sent this I thought was not relevant. In my main.mxml, my component.mxml is actually an itemrenderer. So the code for it would be: Instead of : Now the reason this seems relevant is because if I comm

[flexcoders] flex not seeing method

2009-01-18 Thread dnk
Hi there, I have an mxml component that dispatches an event. Now when i use the component, the meta data is showing up fine. But when i assign a handler, flex says that it is a call to a possibly undefined method. But it is there plain as day. IDeas??? Code snippets below. DownloadResizeEve