Jump to content

Functions


zenon905

Recommended Posts

No. Flash documents have no direct relation with the operating system, they go through the Flash Player. You could, however, create a function that draws a pseudo-message box on your Flash stage.

Link to comment
Share on other sites

You could, however, create a function that draws a pseudo-message box on your Flash stage.
I.e. you could make the function draw a square in the center of your Flash document, then draw the function parameter's text inside that square, then draw another small square at the top-right of the box to which it sets an on(click) event which deletes / hides the box.
Link to comment
Share on other sites

And any way to put confirm or alert like functions into flash?
Didn't you just ask that? Do you think the answer is going to change if you ask the same question twice?Create a movie clip where the first frame is empty. The second frame should have a box on it with a dynamic text field and a button. You can style the box however you want, put borders and shadows on it and make it look like a window. The movie clip should stop on frame 1. A function to show a message will gotoAndStop on frame 2 and write the message into the dynamic text box. The button will send the movie back to frame 1.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...