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 < [email protected]> 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 > <[email protected]>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 [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<flex_india%[email protected]> >> . >> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

