Hello Vaibhav,
I have done wht you told like..
I inovked this method getDocumentChildrens(mainVbox,"VBox");
and i got all the childrens in the array now i want iterate them and apply
new operator for that like this i m doing
for each(obj in arrChilds){

                    var new_obj = obj;
                     new_obj = new Object();

                }

i dont understand how can i do the coding their

please let me know asap its very urgent

Regards,
Pradeep

On Wed, Mar 10, 2010 at 2:26 AM, Vaibhav Seth <[email protected]>wrote:

> I also think so, there is no built in feature that you can use to rest all
> the children components of the viewstack or any view at once.
>
> try using the function :
>
>
> http://groups.google.com/group/flex_india/browse_thread/thread/e58a46afef9d927e/91fd053f52f1ee67?hl=en&q=#91fd053f52f1ee67
>
> It will help you to fetch all the children at once in a single array. So,
> if you have a long list, you don't need to reset each of the component by
> name, instead you can do in  loop.
>
>  var obj:test1 = VS1.getChildByName("test1") as test1;
> getDocumentChildrens(obj,"test1");
>
> should populate the arrChilds correctly.
> I would also like to know, if still someone have problem in fetching the
> children into the array.
>
>
>
>
> On Tue, Mar 9, 2010 at 2:06 PM, FlexiSush <[email protected]> wrote:
>
>> 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 <[email protected]>
>> 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 <
>> >
>> > [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]>
>> <flex_india%[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]>
>> <flex_india%[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]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>>
>
>
> --
> Thanks,
> Vaibhav Seth.
>
>
>  --
> 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.

Reply via email to