I'm working on AS3 to make collision detection between two MC. Two instance names are ball and king_stage.

I wrote on frame 1:

stop();
import flash.events.Event;
...