From;
2 thoughts on “Flex error 1105: Target of assignment must be a reference value.”
same thing for both codes?
Sorry about the bad code snippet. There was a small difference, but I should have highlighted the code. In case you’re still interested, the difference was that assigning an ObjectProxy to a value is not allowed, but you CAN and SHOULD assign the ObjectProxy’s object attribute a value. So ObjectProxy.object = myObject instead of ObjectProxy = myObject.
Essentially, if you get an 1005, the thing on the left of the assignment in not changeable/editable/writable.
Thanks for the feedback. I’m in the process of cleaning the posts up.