Hi,

I would think that setting;

vo = null;

then

vo = someNewObject

would unlink the reference.

OR

vo = new Object();

then

vo = someNewObject

Peace, Mike


On 6/3/07, Kevin <[EMAIL PROTECTED]> wrote:

  This may be a simple question, but it's stumping me.

I have a component that contains a property (type object) that holds
a reference to an VO on my model.

How to I "unlink" that reference?

For example, when I set the property:

var vo : Object = model.someObject;

I then do something like this:

vo = someNewObject;

This happens....
model.someObject get's set to someNewObject...

This is not what I want. Therefore, I assume I have to "unlink" the
reference of vo to model.someObject, before I give it another
reference. How do I do that?

Thanks, Kevin



--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to