Reputation: 1322
Does anyone know if it is possible to add other controls to a Flex 3 Alert? What I need is a modal dialoge that allows the user to type in a filename before clicking OK or CANCEL. This seems like it would be best achieved with an Alert but in the documentation I don't see an obvious way to add a TextInput (or any other control except a Button). I'd rather not have to reinvent the wheel but if I have to then hey, I'll do it!
Upvotes: 2
Views: 10712
Reputation: 6872
I believe you are looking for a flex Title Window. The Alert allows configuring of buttons and text of the buttons. There are some examples of the title window here.
Upvotes: 5
Reputation: 5151
You can use "PopUpManager" class to make an Alert as per your requirements, Example here or custom pop up
Upvotes: 0
Reputation: 1738
I believe creating your own component to serve this purpose is your only route. You can always use the styles of the alert dialog though so it will look like all other alerts and keep a similar feel throughout your application.
Upvotes: 0