Launch Flash Designer. Choose "Frame" > "Frame Size" to set movie dimensions.
Choose "Rectangle" tool and draw a rectangle on the frame. Choose "Item" > "Line and Fill" > "Fill Color". Change rectangle color to anything else than white.
Press F9 to preview the animation. Rectangle is static. Hit "Alt+F4" to close preview.
Choose "Animation" > "Intro Animation"
Check Enable and choose "Fly In". Click OK.
Press F9 to preview the animation. The rectangle will fly from left edge. Hit "Alt+F4" to close preview.
Choose "Animation" > "Outro Animation"
Check Enable, choose "Fly Out" and "to right edge". Click OK.
Press F9 to see intro and outro animation.
Applying in-frame motion effect.
Make sure the rectangle is still selected.
Choose "Animation" > "Motion"
Set the following motion options; speed 2, rotation 5 and zoom 2. Click OK.