say:-
myArrayCollection.refresh();

On Sat, Jul 3, 2010 at 3:34 AM, KannanBabu <[email protected]> wrote:

> Hi All,
>
> I am new to flex and currently doing a small project for uploading /
> managing documents with folders (User can create the folders and add
> documents).
>
> In my application i have several component to make the project as
> simpler as possible. At the time of loading the application i called a
> httpService to get the data from database and assigned it to an
> ArrayCollection.
>
> When user would like to add some more documents they can select the
> particular folder and start adding. it's adding in the database and
> file manipulation like copying and all working fine.
>
> The problem is when the user uploaded the new documents,
>
> Again i would like to call the httpService which i have declared in
> the main Application so that the data would be refreshed.
>
> In order to overcome this issue in the main application i just kept a
> button and in the click event i called the httpservice once again..
> it's work well.. but I dont want to do this.
>
> How can i acheive this in a simpler manner with out hitting the
> refresh button ... any best practices are there to overcome this
> issue.
>
> Please help me to solve this.
>
> Thanks
>
> --
> 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