I've made several classes, but i keep having the same problem. I can't seem to set one instance equal to another instance, though they are the same class, that is:
'---
private duck1 as new duck
private duck2 as new duck
duck1 = duck2
'----
This return the error "with or object block variable not set" or whatever. I can set individual properties, just not the whole instance. Is there a way to do this? Is there a function that needs to be in the class to tell it how to do this?
Any help will be appreciated!
'---
private duck1 as new duck
private duck2 as new duck
duck1 = duck2
'----
This return the error "with or object block variable not set" or whatever. I can set individual properties, just not the whole instance. Is there a way to do this? Is there a function that needs to be in the class to tell it how to do this?
Any help will be appreciated!