Is it possible to create an object in FlexScript using another object as a template?
Within my model, some objects are created dynamically using createinstance(). I was hoping to be able to set up an object template, so that whenever I create an object, it is considered an instance of that template.
I tried passing the template object as the class to createinstance(), which did create a copy of that object, but the object is not recognised as an instance of the template. Is there a way to dynamically create instances of object templates?