Working with html5 canvas in Animate CC [formerly Flash].
The legs are drawn on with code between the body and the feet.
I couldn't quite work out how to get the back leg behind the body
but I suspect it's something like placing the body on the stage
from the library, which I kind of ran out of time for.