Thx Tim, I'll keep that in mind... Have a good day.
--- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > > Depends on what you're using in the client. For ArrayCollections you > can use mx.utils.ObjectUtil to make a deep copy; instead of a reference. > > myCopyAC = ObjectUtil.copy(mySourceAC) ; > > -TH > > --- In [email protected], "quantum_ohm" <charly.antoine@> > wrote: > > > > Hi Tim, > > > > what an idea ! so simple... > > I just had to think about it :-) > > Thx a lot, it works fine with your first suggestion. > > > > For CRUD, is it possible to create a copy of the "prefs" file with the > > Flex/Air API ? > > > > Take care. > > > > --- In [email protected], "Tim Hoff" TimHoff@ wrote: > > > > > > > > > Hi, > > > > > > "to display it again when the application is relaunched" > > > > > > This implies that you are saving and loading the pref settings data. > If > > > the user clicks the cancel button, you could reload the settings > data > > > that is already saved. For CRUD, it sometimes makes sense to edit a > > > copy of the persisted data. That way, if the user cancels, just blow > > > away the copy. If they save, send the edited copy to the server and > > > update the model with the returned object; or directly from the > copy, if > > > you're not worried about sync issues and want faster user feedback. > > > > > > -TH > > >

