MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling...

26
MACROMEDIA DIRECTOR MACROMEDIA DIRECTOR - LECTURE NOTES - - LECTURE NOTES -

Transcript of MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling...

Page 1: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

MACROMEDIA MACROMEDIA DIRECTORDIRECTOR

- LECTURE NOTES -- LECTURE NOTES -

Page 2: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

INTRODUCTIONINTRODUCTION

• Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating interactive media for world wide webs, CDs, information kiosks, presentations and interactive TV

• Director’s easy to use interface lets you combine graphics, sound, video and other media in sequence and then add interactivity

Page 3: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

TIME BASED AUTHORING OF A TIME BASED AUTHORING OF A MULTIMEDIA PRESENTATIONMULTIMEDIA PRESENTATION

• Time-based authoring organises elements and events along a timeline

• A basic linear time-based multimedia presentation can be thought as a movie– start; duration; end

Page 4: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

FRAMEFRAME• Movie is composed of individual frames• Media organised according to

– their spatial location in a frame– which frames they appear in

• Frame are shown in sequence at a given tempo– tempo fixed in a real movie

• around 30 frames per second for smooth animation

• tempo may vary during multimedia presentation

Page 5: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

NON LINEAR MOVIENON LINEAR MOVIE• Simple linear playback of frames does not

suit most multimedia presentation

• Variations in tempo– frames with all still images may be displayed

for a long time– only animation requires high frame rate– User interaction & navigation may require

non-linear jumps to particular frame

Page 6: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

DIRECTOR BASICSDIRECTOR BASICS

• Director is based on the metaphor of a theater production

• All the action takes place on the stagestage and cast appears on the stage as spritessprites, according to a timeline called scorescore

• A director file is called a moviemovie• Each movie, cast member, sprite and pint

in time (frameframe) can have its own script (Lingo)

Page 7: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.
Page 8: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

• The stage is The stage is a 2D layouta 2D layout

THE STAGETHE STAGE

Page 9: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

THE CASTTHE CAST

• The cast is your multimedia database containing still images, movies, sound files, text, programming scripts, and even other director files

Page 10: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

THE CASTTHE CAST

Page 11: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

CAST INFORMATIONCAST INFORMATION

• The CAST view can be used to yield information about each cast member

• Further information is available in the Property Inspector

Page 12: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

CAST INFORMATIONCAST INFORMATION

Page 13: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

CREATING YOUR CREATING YOUR PRESENTATION MOVIEPRESENTATION MOVIE

• Creating your presentation involves– Arranging media from the cast on the 2D stage– Organising when the media are visible in the score

• Adding a cast member to the stage and score creates an instance of the cast member, known as sprite

• The presentation can contain sprites that are different instances of the same cast member– Similar to an object being an instance of a class

Page 14: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

CAST MEMBERS & SPRITESCAST MEMBERS & SPRITES

• Changes to a sprite only affects itself– Eg. colour, animation etc

• Changes to a cast member affects all of its sprites– Editing the “class” definition

• A sprite can change its cast member during a movie

CASTMEMBER

CASTMEMBER

CASTMEMBER

SPRITE SPRITE SPRITE

Page 15: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

THE SCORETHE SCORE• The score displays which frames a sprite

appears in• Sprites that overlap in time occupy separate

channels– Up to 1000 channels available– Sprites that do not coincide in time can occupy same

channel• Two separate channels for sound• Each frame is played back on the stage at a rate

specified in the tempo channel• The score provides elaborate visual effects and

transitions, adjustment of colour palettes and tempo control

Page 16: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

THE SCORETHE SCORE

Page 17: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

IN BUILT FOR CREATING MEDIAIN BUILT FOR CREATING MEDIA

• Paint facility• Vector based images• Text editing• Colour control

Page 18: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

BEHAVIOURSBEHAVIOURS• Complex effects are achieved with behaviours

– Response to an event, such as mouse click– Transitions between frames eg fade-in and fade-out

• Navigation– Looping on frames– Jumping to specific frames

• Behaviours are attached to– Sprites– Cast members– Frames

• Large library of predefined behaviours are available

Page 19: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

THE LINGO SCRIPTING THE LINGO SCRIPTING LANGUAGELANGUAGE

• Director utilises Lingo – a full-featured scripting language, to enable interactivity, programmed control and other behaviour

• Inbuilt behaviours are written in lingo– Can be modified to provide custom

behaviours– New behaviours can be created from scratch

by writing lingo routines– A built in script editor offers lingo debugging

facilities

Page 20: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

LINGO SCRIPTSLINGO SCRIPTS

• Lingo scripts usually specify an action in response to an event eg.

on MouseUpbeep

end– on MouseDown– on MouseOver– On MouseIn etc

• The list of functions is endless and the best way to utilise them is to play with example scripts

Page 21: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

MORE LINGO EXAMPLES IMORE LINGO EXAMPLES I

• Looping on current frameon exitFrame

go to the frameend

• Jumping to new frameon exitFrame

go to Frame 6end

• Exiting presentationon MouseUp

quitend

Page 22: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

MORE LINGO EXAMPLES IIMORE LINGO EXAMPLES II

• Playing new frameson MouseDown

play frame “framename”end

• Return to original frameon exitFrame

play doneend

Page 23: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

BUILDING A DIRECTOR BUILDING A DIRECTOR PRESENTATION IPRESENTATION I

• Obtain the elements you wish to install in the Movie

• Import them into the Director Cast

• Design relevant interactions– ie. Write the score

• Place the cast members on the Stage, creating Sprites at the relevant frame

Page 24: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

BUILDING A DIRECTOR BUILDING A DIRECTOR PRESENTATION IIPRESENTATION II

• Change the properties of a sprite– Extend or shorten its time on stage– Recolour or animate

• Incorporate any control elements– Ed. Add button navigation graphics

• Drag n’ drop the appropriate Behaviour onto navigational elements

• Write any other Lingo you may require

Page 25: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

BUILDING A DIRECTOR BUILDING A DIRECTOR PRESENTATION IIIPRESENTATION III

• Play the movie and test out any interactions

• Save the movie as a Dir file– This is the editable movie format for director

• Once the movie is authored, create a projector

• If the delivery is for the web, publish the presentation as a Shockwave movie

Page 26: MACROMEDIA DIRECTOR - LECTURE NOTES -. INTRODUCTION Macromedia Director 8.5 is the best selling multimedia authoring program and leading tool for creating.

PRESENTATION FILE TYPESPRESENTATION FILE TYPES

• The DIR file is used during the authoring stage so that the cast members etc can be modified

• The finished presentation is a projector– Standalone executable file (include movie player)– Compressed or uncompressed– Shockwave file requiring external shockwave player

• The presentation can be published as a shockwave (DCR) file and accompanying HTML file for the web– Browser requires freely available shockwave plugin