|
|
|
Dialog Xtra
Added on 4/6/2007
|
This is a scripting xtra for Macromedia/Adobe Director. It allows you to open dialogs that require a users response... such as Ok/Cancel, Yes/No, Yes/No/Cancel, and Abort/Retry/Cancel.
Price: $0
Mediamacros makes no guarantees that this price is correct
Get the Xtra
Dialog Xtra
ABOUT
Created by Kevin Richard Fink
April 5th 2007
This is awork in progress xtra, as such some features are not yet fully operational. Here is the current status of each call:
Complete features: (stable)
MessageBox(String Title, String Message) -- Returns 'OK'
OkCancelBox(String Title, String Message) -- Returns 'OK' or 'Cancel'
YesNoCancelBox(String Title, String Message) -- Returns 'Yes', 'No' or 'Cancel'
YesNoBox(String Title, String Message) -- Returns 'Yes' or 'No'
RetryCancelBox(String Title, String Message) -- Returns 'Retry' or 'Cancel'
AbortRetryIgnoreBox(String Title, String Message) -- Returns 'Retry', 'Ignore' or 'Abort'
INSTALLATION
Simply extract and copy "DialogXtra.x32" to your xtra directory of your Director Installation
HOW TO USE
-----------------------------------------------------------------------------
MessageBox(Object me, String Title, String Message)
DESCRIPTION:
Creates a dialog box
USAGE:
object = new(xtra "ControlXtra")
object.MessageBox("Title","Message")
-----------------------------------------------------------------------------
OkCancelBox(Object me, String Title, String Message)
DESCRIPTION:
Creates an Ok/Cancel dialog box
USAGE:
object = new(xtra "ControlXtra")
if (object.OkCancelBox("Title","Message") = "Cancel") then
alert "You Cancelled!"
end if
-----------------------------------------------------------------------------
YesNoCancelBox(Object me, String Title, String Message)
DESCRIPTION:
Creates a Yes / No / Cancel dialog box
USAGE:
object = new(xtra "ControlXtra")
if (object.YesNoCancelBox("Title","Message") = "Cancel") then
alert "You Cancelled!"
end if
-----------------------------------------------------------------------------
YesNoBox(Object me, String Title, String Message)
DESCRIPTION:
Creates a Yes / No dialog box
USAGE:
object = new(xtra "ControlXtra")
if (object.YesNoBox("Title","Message") = "Yes") then
alert "You selected YES!"
end if
-----------------------------------------------------------------------------
RetryCancelBox(Object me, String Title, String Message)
DESCRIPTION:
Creates a Retry / Cancel dialog box
USAGE:
object = new(xtra "ControlXtra")
if (object.RetryCancelBox("Title","Message") = "Cancel") then
alert "You Cancelled!"
end if
-----------------------------------------------------------------------------
AbortRetryCancelBox(Object me, String Title, String Message)
DESCRIPTION:
Creates a Abort / Retry / Cancel dialog box
USAGE:
object = new(xtra "ControlXtra")
if (object.AbortRetryCancelBox("Title","Message") = "Cancel") then
alert "You Cancelled!"
end if
|
|