Sto Corp. is one of the largest stucco manufacturers in the U.S.A. and they have a website full of great information. They also have a large library of installation details on their website. Their site can be found at http://www.stocorp.com.
Specifically, the Sto details 5.62 and 2.62 (see below) clearly show the kickout flashing and how it should be installed with both traditional stucco and EIFS synthetic stucco systems.
Sto 5.62 - Roof/Wall Diverter Flashing - Hardcoat Stucco
1] Provide step flashing minimum 4“ (100 mm) extending up the wall.
2] Provide stucco overlap of the step flashing 2” (50mm) and terminate stucco minimum 2“ (50 mm) above the finished roof. The space permits re-roofing at a future date and helps prevent debris from accumulating between roof and stucco.
3] Terminate the step flashing with a watertight diverter (kick-out) flashing to direct water into the gutter. Refer to Sto detail 2.62b on fabrication of a diverter flashing.
4] Provide a 3/8” (10 mm) joint around the diverter flashing and seal.
Sto 2.62b - Field Fabrication of Diverter Flashing