Jump to content
Sign in to follow this  
zenon905

Functions

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.

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...