Equipment interface components and hierarchical state machine engine in Flash, based on original www.FlashSim.com work