Hello,
I am new at ArcGIS Flex API. I want to create a tool that is the summation of some task. I am telling what I want to do.
1. When I click on the tool/Button, it will add a dynamic/feature layer.
2. At the same time the tool/Button will open a window.
3. Some tasks such as Find Address, Search, Query, Closest facility etc tasks depend on that very layer will be sum up in that window. 
Thanks