SetEventHandler broken in Flex 3
Flex 3 state bug
If you have used the new code generation abilities of Flex 3 than you possibly have run into this bug before.
SetEventHandler seems to be broken when switching states in Flex 3.
Steps to reproduce:
- Generate a CRUD application using the automated code generation
- Create a new state based on the state “Add” that is generated automatically
- Update the click event handler on the “Save” button of the new state to point to another method.
- Run the app, enter the new state, and click save.
Workaround:
Delete the “Save” button and create a new button with the appropriate method attached.
This bug isn’t limited to the automated code generation. I experienced it while creating the application from scratch as well.
Leave a Reply
You must be logged in to post a comment.
Recent Comments