An example program using AfterBruner FX framework,a lso need to integrate with SMC Statemachine