Below the <mx:Script> tag, add an <mx:transitions> tag block. Inside of that tag, nest an <mx:Transition> tag block. Assign the <mx:Transition> tag an id of foodTransition. Specify the fromState attribute as an asterisk (*) and the toState attribute as an asterisk (*). Your code should appear as follows: <mx:transitions> <mx:Transition fromState="*" toState="*"> </mx:Transition> </mx:transitions> The fromState is simply a string that specifies the view state that you are changing from when the transition is applied. In this case, you specify an asterisk (*) which means any view state. The toState is a string that specifies the view state that you are changing to when the transition is applied. In this case, you specify an asterisk (*), which means any view state. |