.Start of frame
=Set X Layer "LayerName" to X Right Frame

Doesn't work in swf. Works in exe.
(Obviously this assumes there's a Layer Object in the frame.)