GhostWire DialogBox Flash script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: ghostwire.com
  • Last update:
  • Platform: Windows / Linux / Mac OS
  • Language: Flash
  • Price:Commercial License (
  • Company: GhostWire Studios (View more)

GhostWire DialogBox script description:




Publisher review:
GhostWire DialogBox is a three-in-one component allowing you to create three types of dialog boxes - AlertBox, ConfirmBox, and PromptBox. This Flash component is a three-in-one component allowing you to create three types of dialog boxes - AlertBox, ConfirmBox, and PromptBox. These dialog boxes are invoked using the methods alert(), confirm() and prompt() respectively, similar to javascript syntax.

Features

Three-in-OneWith one instance of the DialogBox on the stage, you can easily invoke AlertBox, ConfirmBox and PromptBox. AlertBox is used to display important messages to the application user, for example "Warning! Low resources!". ConfirmBox is used to ask for confirmation from the user, example "Do you wish to logout?". PromptBox is used to get input from the user, example "Please enter your name".

Easy UsageTo use the DialogBox component, all you need to do is drag-n-drop an instance on the stage. It doesn't matter where you place it because it would be hidden during runtime. To invoke the AlertBox, simply use the myDialog.alert(message) method. To invoke the ConfirmBox, use the myDialog.confirm(message) method. To invoke the PromptBox, use the myDialog.prompt(message, defaultreply) method.

onResponse EventThe component has an onResponse event, which is used to handle user interaction with the dialog box. In the case of the PromptBox, the value of the user's input would be passed as a parameter. Otherwise, 'false' will be returned if user clicked on Cancel button, or 'true' if 'OK'. In the case of AlertBox, it doesn't matter what the user click to dismiss the dialog box but the onResponse event is used to tell the application that it can proceed.

Disable BackgroundWhile the DialogBox is active, other movieclips are disabled. Exceptions to this would be movieclips loaded at levels above 15000 (where DialogBox and Window components are occupying) - valid exceptions include your custom cursors and tooltips. All assets behind the dialog box (the background) will be disabled until the dialog box is dismissed. From the component properties panel, you may configure the 'Disabled Background Color' and 'Disabled Background Opacity' properties.

Auto FocusWhen the PromptBox is invoked, the focus automatically goes to the input field of the dialog box. The focus also goes back to the input field if the user click anywhere outside the dialog box, or when the user has finished dragging the dialog box around. If the user hit the ESCAPE key, it is equivalent to pressing the CANCEL button; if the user hit the ENTER key, it is equivalent to pressing the OK button.

Custom Response Buttons (ConfirmBox)You can specify the number of buttons, and their labels, for the ConfirmBox, by passing in a second parameter to the confirm method. For example, myDialogBox.confirm("Save changes to Untitled-1?",["Yes","No","Cancel"])
GhostWire DialogBox is a Flash script for Financial Modeling and Analysis scripts design by GhostWire Studios. It runs on following operating system: Windows / Linux / Mac OS.

Operating system:
Windows / Linux / Mac OS

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5