I'm guessing "missile" is a previously created object, right?
EDIT: What about doing something like this(javascript)
in Actionscript?PHP Code:cat.prototype.changeName = function(name) {
this.name = name;
}
firstCat = new cat("pursur")
firstCat.changeName("Bill")
firstCat.talk() //alerts "Bill says meeow!"




Reply With Quote
