BluesmanUK
Programmer
bit of a programming question here :
I have a data object class in which I would like a property to be an array of objects , each with their own properties and methods. It seems that in actionscript , once put inside an array, an object loses its type - does anyone know if is there any way round this?
Would it be bad to just create a generic object for each array element and dynamically assign properties to it?
I have a data object class in which I would like a property to be an array of objects , each with their own properties and methods. It seems that in actionscript , once put inside an array, an object loses its type - does anyone know if is there any way round this?
Would it be bad to just create a generic object for each array element and dynamically assign properties to it?