|
You’ll need to make your own copy of
the object, AS is always pass by reference. You can try calling
mx.utils.ObjectCopy.copy(yourobj) and it may give you back a copy with what you
want. Matt From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Griffin I have a small app which passes the
reference to a repeater item to an editable view. I have been trying to
assign the values from the original repeater dataProvider item into a
new array that can then be edited without affecting the original data
until explicitly saved. The problem is that every combination I've tried
is still updating the repeater data so I'm pretty sure I'm just assigning
references instead of copying the values over. A simplified version of
the code follows:
If anyone can advise on what I'm doing
wrong in the previous example a nudge in the right direction would be
appreciated. Many thanks in advance. Mike -- |
Title: Message
- RE: [flexcoders] Flex 1.5 - getrepeaterItem values Matt Chotin
- Re: [flexcoders] Flex 1.5 - getrepeaterItem values Stanislav Zayarsky
- RE: [flexcoders] Flex 1.5 - getrepeaterItem values Michael Griffin

