Hi, reload() is not the default method. It is a user defined method. It will not refresh all the components of ViewStack. U need to call the components manually..
Regards, http://flexphpworld.wordpress.com/ On Mar 9, 7:29 pm, pradeep gorijavolu <pradeepflex.gr...@gmail.com> wrote: > i have not defined in test1,but i thought reload is the some default method > which will refresh the components, > If not I define that i need to call all my components manually or any other > alternative for reloading the view stack components? > > Regards, > Pradeep > > On Tue, Mar 9, 2010 at 10:25 AM, krishna chaitanya kambhampati < > > kkc.kambhamp...@gmail.com> wrote: > > Hi Pradeep, > > > did u defined reload(); method in *test1. * > > **didu set the name property as test1 to that object. > > > On Tue, Mar 9, 2010 at 10:18 AM, pradeepflex > > <pradeepflex.gr...@gmail.com>wrote: > > >> Hi All, > > >> I have seen the forum "i need reload data in viewStack" ,In that > > >> I have seen shorty findout the solution reload the viewstack > >> component data... > > >> Same way i m using the code like this... > > >> if(event.newIndex==1){ > >> /* var test1Obj:test1 = new test1(); > >> getDocumentChildrens(test1Obj, > >> "test1"); > > >> Alert.show("execute"); */ > > >> var obj:test1 = VS1.getChildByName("test1") as > >> test1; > >> obj.reload(); > >> } > >> for me i got build error like.. > >> 1061: Call to a possibly undefined method reload through a reference > >> with static type test1. > > >> Please let me know what i did wrong in that > >> Thanks for any urgent help... > > >> Regards, > >> Pradeep > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Flex India Community" group. > >> To post to this group, send email to flex_in...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/flex_india?hl=en. > > > -- > > Thanks & Regards, > > K. Krishna Chaitanya > > ARIJASOFT - HYD > >www.arijasoft.com > > > -- > > You received this message because you are subscribed to the Google Groups > > "Flex India Community" group. > > To post to this group, send email to flex_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en. -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.