Canal Lock Prototype

Hi, i need to develop a prototype of a Canal lock, ie be able to open gates, let the boat in, close gate, let water in etc… How would i go about implementing this using flash 8? Any help will be much appreciated. Ive never used flash 8 before ppl.

Thank you