posted 10 years ago
Got the solution. The normal state must be placed at the end of the file. Placing the normal state at the top of the file (above the other states) stops the selector from working. State selector doesn't look for the best match, instead the first that fits will make it through. So the correctly working code is -