Ok, it's working now ! :-) Actually I was dispatching the Event at the wrong place ! So don't need IResponder and stuff...
thx Jitendra and Josh :-) --- In [email protected], jitendra jain <[EMAIL PROTECTED]> wrote: > > Either try main.mxml to listen the VISIBLE_EVENT you are firing and put those methods in it. > > > Thanks, > > with Regards, > Jitendra Jain > > > > > ----- Original Message ---- > From: quantum_ohm <[EMAIL PROTECTED]> > To: [email protected] > Sent: Thursday, 25 September, 2008 4:37:00 PM > Subject: [flexcoders] Re: Using IResponder without Cairngorm > > > tried this, but doesn't work better... :-( > > --- In [EMAIL PROTECTED] ups.com, jitendra jain > <jitendra_jain_ 2007@> wrote: > > > > > > whyà you can't do this > > var nm : NewsManager=à new NewsManager( Vb_news); > > > > Thanks, > > > > with Regards, > > Jitendra Jain > > > > > > > > > > ----- Original Message ---- > > From: quantum_ohm <charly.antoine@ ...> > > To: [EMAIL PROTECTED] ups.com > > Sent: Thursday, 25 September, 2008 4:10:04 PM > > Subject: [flexcoders] Re: Using IResponder without Cairngorm > > > > > > I tried this, but can't pass a VBox in the main.mxml to a class ??? > > > > --- In [EMAIL PROTECTED] ups..com, jitendra jain > > <jitendra_jain_ 2007@> wrote: > > > > > > Ãâ > > > private function manageUserResultHan dler( evt:ResultEvent ) : void > > > { > > > vb_news.removeAllCh ildren();Ãâ //Here Vb_news is not visible as it > > is in main , pass vb_news object from main to this NewsManager class > > > afficheNews( ); > > > if ( evt.result == 0 ) > > > { > > > dispatchEvent( new Event("VISIBLE_ EVENT") ); > > > } > > > else if ( evt.result == 1 ) > > > { > > > dispatchEvent( new Event("INVISIBLE_ EVENT") ); > > > } > > > } > > > > > > > > > > > > with Regards, > > > Jitendra Jain > > > > > > > > > > > > > > > ----- Original Message ---- > > > From: quantum_ohm <charly.antoine@ ...> > > > To: [EMAIL PROTECTED] ups.com > > > Sent: Thursday, 25 September, 2008 3:30:29 PM > > > Subject: [flexcoders] Re: Using IResponder without Cairngorm > > > > > > > > > Hi Jitendra, > > > > > > yes, I have several calls, but they are not all called at the same > > > time. Basically this is just simple CRUD, except the create() news > > > case which must return the get() news and refresh the page. > > > So I guess I have only to deal with two calls. > > > > > > Cairngorm... mmh... I did think to that, but I'll have to rewrite all > > > the code :-( and I just made some simple tutorials with it... > > > > > > --- In [EMAIL PROTECTED] ups.com, jitendra jain > > > <jitendra_jain_ 2007@> wrote: > > > > > > > > Hi, > > > > > > > > ÃÆ'ââ¬Å¡ The problem is thatÃÆ'ââ¬Å¡ yourÃÆ'ââ¬Å¡ code has so many > asychronous call to > > > the backend.ÃÆ'ââ¬Å¡ what you have to do it first fire a remote object's > > > method and then in result method, fire another remote object's method > > > and so on. This way you can create a Sequence of Events. Hope this > > > will help..Let me know. > > > > > > > > This can be easily done with Cairngorm framework.. > > > > Thanks, > > > > > > > > with Regards, > > > > Jitendra Jain > > > > > > > > > > > > > > > > > > > > ----- Original Message ---- > > > > From: quantum_ohm <charly..antoine@ ...> > > > > To: [EMAIL PROTECTED] ups.com > > > > Sent: Thursday, 25 September, 2008 2:25:30 PM > > > > Subject: [flexcoders] Re: Using IResponder without Cairngorm > > > > > > > > > > > > Hi Josh, > > > > > > > > thx for responding. > > > > I'm tryin' to do this : > > > > http://tech. groups.yahoo. com/group/ flexcoders/ message/126217 > > > > > > > > --- In [EMAIL PROTECTED] ups.com, "Josh McDonald" <dznuts@> wrote: > > > > > > > > > > It's part of Flex, you don't need Cairngorm to use it. What're you > > > > trying to > > > > > do? > > > > > > > > > > On Thu, Sep 25, 2008 at 5:44 PM, quantum_ohm <charly.antoine@ > > > ...>wrote: > > > > > > > > > > > Hello All, > > > > > > > > > > > > How could I use the IResponder interface without using > Cairngorm ? > > > > > > > > > > > > I know this sounds dummy, but I never used it and am stuck > with an > > > > > > ASync problem. > > > > > > > > > > > > Welcome to any help ! > > > > > > > > > > > > > > > > > > ------------ --------- --------- ------ > > > > > > > > > > > > -- > > > > > > Flexcoders Mailing List > > > > > > FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder > > > sFAQ.txt > > > > > > Alternative FAQ location: > > > > > > > > > > https://share. acrobat.com/ adc/document. do?docid= 942dbdc8- > > > e469-446f- b4cf-1e62079f684 7 > > > > > > Search Archives: > > > > > > http://www.mail- archive.com/ flexcoders% 40yahoogroups. > > > comYahoo! Groups > > > > > > Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > "Therefore, send not to know For whom the bell tolls. It tolls for > > > > thee." > > > > > > > > > > http://flex. joshmcdonald. info/ > > > > > > > > > > :: Josh 'G-Funk' McDonald > > > > > :: 0437 221 380 :: josh@ > > > > > > > > > > > > > > > > > > > > > > > > > Unlimited freedom, unlimited storage. Get it now, on > > > http://help. yahoo.com/ l/in/yahoo/ mail/yahoomail/ tools/tools- > > 08.html/ > > > > > > > > > > > > > > > > > > > Cricket on your mind? Visit the ultimate cricket website. > > Enter http://in.sports. yahoo.com/ cricket/ > > > > > > > > > > > > > Be the first one to try the new Messenger 9 Beta! Go to > http://in.messenger .yahoo.com/ win/ > > > > > > > Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ >

