PDA

View Full Version : pop up window alert


mike0372
07-16-2004, 08:55 PM
hey guys,

would you know how to simply have an alert box pop-up upon a specified action, such has "sorry that is not the correct answer!" & then the user would click the OK button to close it.

i think in Director, it's as simple as writting "alert:..." but i have no idea on how to do it with flash.

thanks,

m. :)

xcaliber
07-22-2004, 02:49 PM
Hi mike0372,

How about making an external "popup" swf and have that load into the main movie upon specified action. On the "ok" btn, have it unload "popup" swf.

This is one way it could be done, hope it helps.

xcaliber

mike0372
07-22-2004, 03:32 PM
hi x,

thanks for the tip. with your suggestion, would users still be able to click on buttons that are on the swf that's behind the pop-up one?

because i'm mostly try to have a pop-up that would come up when users click on the "x" (close) button on my flash movie & it informs them that they are about to close this window & giving them a "yes" or "no" option.

hope this makes sens!

thanks,

m.

xcaliber
07-22-2004, 04:07 PM
depending on the overall size of the main swf, i would make my external "popup" a smaller size and either set the _x / _y values where you would like it to show up at,(so you could click on the main.swf btns), or have my "popup" a drag able movieClip so the user can drag it around. you could also place any btns needed on the "popup" to take the user where they need to go.

hope this is an answer to your question.

xcaliber

mike0372
07-22-2004, 04:29 PM
hi x,

that's a good point. i'll keep that in mind...

thanks again,

m :)