I am trying to create a new object called SpaceCircle which will inherit all the properties of the MovieClip class and I also want to add some new functions to it such as ._z . How would I go about doing this? This is the code i have
[AS]
spaceCircle.prototype = new MovieClip();
spaceCircle.prototype._z = function(){
//code here
}
[/AS]
Would this do the same sort of thing?
[AS]
spaceCircle.addProperty("._z", _root.getZ. _root.setZ);
[/AS]
And whats the difference between the 2? Thanks a bunch