Copy link to clipboard
Copied
Hello
I want to display a dialogue box for the user to enter a value (an integer) and be able to click Cancel or OK. I can't see any way of invoking a dialogue box enabling a user to enter a value, only a message box.
Thanks
Chris
Copy link to clipboard
Copied
Make your own using a movie clip. Place a text field, and buttons in the clip and then you can target them with code.
Copy link to clipboard
Copied
Thanks
It's amazing that every dialogue box which everyone makes has to be made from scratch! A lot of work for such a fundamental function.
My flash movie is embedded in a web page. Can I make this dialogue box 'pop up' over my web page?
Regards
Chris
Copy link to clipboard
Copied
Since most everything looks different people typically want to make their own anyway... However you can use ExternalInterface and call a JavaScript method on the page to open a JS dialog/alert.
Copy link to clipboard
Copied
Good idea,
Can the Javascript dialogue pass back a value?