Hai ragione, mi era sfuggito. Nel frame scrivi:

codice:
this.onEnterFrame = function()
{
	// istruzioni
};