ive got a flash shockwave movie within a director movie.

im trying to call a function in the shockwave movie from the director movie. im getting the error message- handler not found. so how do i set up a handler in flash- or is there a completely different way to do this.