Open Flash and insert a new movie clip (CTRL+F8).
Click on the first frame of the clip to select it and import the .swf file that
you just made with Swift (CTRL+R). The animation is imported as a series of
frames.
Return to the main timeline and drag the movie clip from the library onto the
stage.
You can affect the motion of the cube by putting stop actions in various frames
of the cube movie clip and then using tell target to control the movement.
You could reverse the direction of the cube's rotation by selecting all the
frames in the movie clip and then copying them either to a new clip, or onto
a new layer immediately after the last frame and then reversing the frame order
(select the frames, right click and reverse frames)
You could make the clip into an animated button.