Watch the Melody Technique 3 online guitar lesson by Tierra Negra from New World Flamenco
For this technique, the ring finger (A) provides stability by resting against the body of the guitar. Press the nail side of (A) against the guitar.
We will play the melody with the thumb (P) and index finger (I), using a rest stroke with (P) while letting the string plucked by (I) ring freely.
Once you play the scale with this technique, you will probably recognize the very characteristic Spanish sound it creates.