Does anyone know how to do this? Neither casting nor the "as" operator
are working.

var foo:FooObject = new FooObject();

// this doesn't work
var fooCopy:FooObject = FooObject(ObjectUtil.copy(foo));


// neither does this
var fooCopy:FooObject = ObjectUtil.copy(foo) as FooObject;

Thanks in advance for any pointers,
Ben

Reply via email to