Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
LiveCD
MPEG Xtra Simple Control
LineHiLiter
[S] mouse->sprite vector behaviour
PDF Publishing in Multimedia Projects
OSControl Xtra Review
AnySaver
Tic Tac Toe
Cross-platform scripting differences: Sorted Lists
Director 8.5 Studio
 

 

 

Xtra Dialog Xtra

Added on 4/7/2007

 

Compatibilities:
D7 D8 D8_5 D9 PC Shockwave

This item has not yet been rated

Author: kfink (website)

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

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail