it means you have an object that is null
turn on debugging run the game again to reproduce the error
include the new error here which will include line numbers
paste to code from frame 25 of AttackMC here indicating the line number that is reported in the error
// in last frame of Attack movieclip
its that line 2 it doesnt like.
ok it looks like either parent is null or parent isn't a MovieClip
use this code instead and let me know what gets traced out
trace("parent: " + parent);
trace("mc parent: " + MovieClip(parent));
mc parent: null
TypeError: Error #1009: Cannot access a property or method of a null object reference.
gets traced out.
ii using Flash player 10
how do ii give it a parent..
In the library the movieclip is called Attack and then their is a linkage AttackMC
is that the problem?
no the MC name and linage you are using are find you give a MovieClip a parent by calling atChild()