Insert the Flexalock marker in your source at the point you wish to encrypt the applet:
Everything below this marker will be encrypted – everything above it will be exposed.
The area above the Flexalock marker can only contain:
a) Blank Lines
Anything else will cause the Flexalock process to fail. This is a security feature.
I hope this helps.