troubleshooting Question

How to show a confirm box from in Flash?

Avatar of killdurst
killdurst asked on
Adobe Flash
9 Comments2 Solutions557 ViewsLast Modified:
Hi, I have a Flash file created in Macromedia Flash MX. In the file there is an image and if you click on the image, you will be directed to another page. Please see the action script below. How do I modify the code so that the user will be give a confirmation dialog box like the confirm box from Javascript? For example, "Are you sure you want to proceed?". If the user presses the "Yes"  button, execute the "getURL" method, if the user presses the "No" button, do nothing.

Is this even possible in Flash?

Thanks.
on (press)
{
	getURL("bookings/booking_confirmation.jsp");
}
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros