So I have made a few topics regarding programming structure, level building and single function execution.
Now with all 3 combined, I present to you (yet another fully commented), sample of how to put it all together and make your games.
LINK
It is a compressed folder containing the class files and fla. I can provide other means of delivery on request.
Have fun and happy coding