Accessibility

TechNote (Archived)

Director sample movies

The following TechNotes contain downloadable Director sample files. Each sample file demonstrates one or more basic functions of Director. The code and content of the files may be used and altered freely.

Topics

Sound Animation MIAW
Flash Cast Members Multiuser Server
Digital Video Net Operations 3D
Text Global Variables Other
Sound
Sound Wait (D7) 15615 Waits until sound plays (Director 7)
Sound Wait 15614 Waits until sound plays
Sound Pause 14494 Uses "sound.Pause()", "sound.Play()" and "sound.startTime()" to control sound playback
IsPastCuePoint 14352 Demonstrates one way to control the playback head using the "isPastCuePoint" function
OnCuePassed 14340 Demonstrates one way to control the playback head using the system message and event handler "on cuePassed"

back to top

Flash
Flash wait 15617 Playback head waits until Flash sprite plays.
Pausing Flash 14814 Shows how to pause a Flash sprite.
getVariable/setVariable 14798 Demonstrates some possible uses of "getVariable" and "setVariable" for Flash movies.
Passing variable from Flash to Director 14796 Demonstrates one of three ways to pass data from Flash to Director.
Cursor change on a Flash button 15925 Demonstrates how to get the cursor to change on a button.
Triggering events using "Lingo:" 16165 Demonstrates three examples of how to use "Lingo:" to trigger events in Director from a Flash sprite.
Using tellTarget 16225 Demonstrates how to use "tellTarget" to target a movieclip.
Creating an ActionScript object inside Director 16691 Demonstrates how to use the newObject command in Director MX
Targeting nested movie clip 16242 Demonstrates how to target a nested movieclip.

back to top

Digital Video
Digital video wait 15618 Playback head waits until digital video plays.
Simple digital video controls 14829 Presents some simple scripting for controlling digital video with custom buttons.
Digital video information 15041 How to get the "duration" and "movieTime" of a digital video.
QuickTime Mask 15479 How to set the "mask" property of a QuickTime video.
hotSpotCallback 14997 Uses "hotSpotEnterCallback" and "hotSpotExitCallback" to get feedback from a QTVR sprite.
nodeCallback 14996 Demonstrates the usage of "nodeEnterCallback" and "nodeExitCallback" to get feedback from a QTVR sprite.

back to top

Text
Text Information 15536 Working with text in Director.
Set and GetPref 15519 Uses "setPref" and "getPref" to write to a text file on the users machine.
ToolTip 14825 How to use "toolTip".
File IO 14607 Basic implementation of the File IO Xtra, uses the creating, appending, clearing and saving capabilities of the File IO Xtra.
Hilight text 14589 Uses "the mouseWord" and "hilight" commands to highlight text as the user clicks on words.
mouseWord 14594 Uses the "mouseWord" command to navigate and display text, shows a basic example of a"CASE" statement.
Hyperlink Basic 15836 Example of basic hyperlink usage.
Hyperlink 15436 Explains the details of hyperlink styles.
KeyCode 14590 Uses the "keyCode" command to trigger an alert message, shows a basic example of a"CASE" statement.
mouseWord fontStyle 16525 Demonstrates text rollovers, text selection and font style changes using the Lingo terms 'the mouseWord' and 'fontStyle' to determine and set selected text.

back to top

Animation
Rotation 14598 Demonstrates the use of "rotation", and "skew" commands to animate a sprite on the stage.
Rollover 14597 Demonstrates some basic uses of rollovers by swapping the cast member.
Disjointed Rollover 15103 Demonstrates two ways to create a disjointed rollover.
LocH blend 14592 Makes use of the "loch" and "blend" commands to make sprites appear and disappear on the stage.
Cursor mask 15496 Shows how to set a cursor mask.
Zoom 15725 Example of using lingo to create a zoom effect.
Visited button 15927 Shows how to create a visited effect for buttons in Director.
Scrolling 16085 Shows one way to scroll text and images.

back to top

Cast Members
fileNameOfMember 14874 How to use "fileNameOfMember" and suggests possible situations for its use.
importFileInto 14875 How to use "importFileInto" and suggest possible situations for its use.
Changing Casts 15566 How to change which cast is being used in a Director movie.

back to top

Net Operations
goToNetPage 15697 Opens web page from Director.
getNetText 14608 Implements the getNetText command.
preLoadNetThing 14595 Illustrates the basic concept of the "preLoadNetThing" command.
externalEvent 14613 Demonstrates an easy way to have Shockwave send information to a browser, JavaScript or VBScript functions can use this information in a function.
postNetText 15790 Uses the Lingo command postNetText to post to a CGI script, useful for testing.

back to top

Global Variables
Global variables 14795 Implements a "global variable" and suggests some possible uses.
Global Pass 15648 Passing information between movies with a global variable.

back to top

MIAW
MIAW 14593 Implements all the basics of "movie in a window".
Forget window 15786 Shows how to properly use the forget window command.

back to top

Multiuser Server
Peer to peer 13796 Demonstrates basic ways to make peer network connections directly between two systems using the Director Multi-user Xtra.
SMTP mail 14182 Demonstrates the basic components required to send e-mail using SMTP (Simple Mail Transfer Protocol) and the Multi-user Xtra.

back to top

3D
3D Primitives 15780 Demonstrates one way to create primitive 3D shapes in Director using Lingo.
Clone models 16538 Demonstrates how to clone three different models from a linked W3D file.

back to top

Other
Counter click 14606 Demonstrates one way to have a counter add as the user clicks a button().
Timer 14599 Demonstrates use of the "startTimer" command and "the timer" property.
Score recording 15499 Suggestions for how to use the score recording Lingo .
DeskTopRectList 14596 Uses the "deskTopRectList", "rect", and "drawRect" to expand the entire stage and all the associated sprites to current monitor setting.
Debugging 15813 Using alertHook and the Director.ini file for debugging purposes at run time.
OS Test 15939 Demonstrates how to determine the end users OS.
Pause/Play 16539 Demonstrates how create a button to pause a Director movie.
Navigate up a directory 16157 Demonstrates how to navigate up a directory from current folder.
If statements 16207 Demonstrates the use of conditional statements, using the 'if statement'.
Case statements 16228 Demonstrates how to use case statements.
History button 16559 Demonstrates how create a button that goes back to the last location in a movie.

back to top

AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:tn_14350
Browser:Chrome
Internet Explorer
Netscape
Opera
Safari
Firefox
Database:DB2
Informix
MySQL
Oracle
SQL Server
Sybase
MS Access

Products Affected:

director