I'm trying to create a resusable confirmation dialog like what other languages have that I can use in my flash projects. I'd like to be able to call just like you can in like VisualBasic or C#, Javascript, ect... Like
Something like that. I just have no idea how to make something like that since I'm still learning flash. But I really need it for my applications.
Thanks
Code:
on (press) {
if (confirm("Are you sure?") == true) {
// Do something
}
}
Thanks