Multimedia – authoring and scripting Essay

1.0 Introduction

This chapter comprises three subdivisions. Following the debut subdivision, the 2nd subdivision provides information on utilizing manager interface. This is followed by the 3rd subdivision on working with Director Member types. The 4th subdivision is about composing Lingo books.

1.1 Using Director Interface

Director is a multimedia authoring plan capable of making Shockwave content for the web or self-contained executables for difficult thrust, DVD or CD-ROM. It is peculiarly good for web-based simulations where they must be little. Director can besides be used as a presentation plan and a CD-ROM bringing system. In fact, before the outgrowth of the Internet the chief bringing manner for information, Director was widely used for CD-ROM ‘s.

Director can import all cardinal media types and so allow the developer to command them as in writing objects. This makes it really simple for non-programmers to pull strings the media, every bit good as films, images, sound, text and lifes. Director ever has had a good scripting linguistic communication, Lingo, to command the media elements and to plan user activities.

Others have used Director as an synergistic presentation plan, whereas Power point limits the user on the order that the slides appeared. Director can be scripted to allow the user to leap about in any order. This gives the presenter enormous flexibleness to model the presentation as per the demands of the audience. It requires cognition of scripting and a basic apprehension of programming logic but Director is simple when compared to pure programming linguistic communications like Java.

Director ‘s interface is intended about a movie/theatre metaphor. The media elements in a Director undertaking are called the Cast members, they interact on a Phase, the Score keeps path of the media over clip, and the multimedia interior decorator becomes the manager of a film.

Director ‘s Interface is made up of a sum of Windowss, which are besides called panels. These Windowss can be grouped jointly to organize tabbed panel groups. They can besides be linked together. In some panel types, they are docked to the background known as moorage channels.

1.1.1 Key Windows

While making or redacting films, five key Windowss in Director ‘s work country are used. They are:

O The Scoreorganizes and controls films content over clip in channels and frames. It besides controls particular effects, such as passages.

O The Cast window shows all the media that make up a film, such as images, text, sounds, digital picture. It can be viewed as series of icons or as a text list.

O The Phase is the ‘screen ‘ on which Director Movies are anticipated. It is used to make up one’s mind all the seeable media in a film that will look.

O The Property Inspector displays the belongingss of a assortment of elements of a film, such as dramatis personae members, sprites, or the film itself.

O The Control Panel provides a set of controls similar to those on a VCR to make actions such as intermission, drama or rewind a movie. — — –

Director makes usage of legion Windowss and pallets to modularize entree to identify characteristics of the plan. Click the Window bill of fare at the top of the Director interface and research the bill of fare points to acquire more accustomed with the Windowss and pallets.

Following to each point there will be cutoffs to entree specific bill of fare points by hitting combinations of keyboard keys. Memorize the keyboard shortcuts to salvage clip as this helps you to work on other package as good.

In an ideal workplace form for utilizing Director you require two proctors connected to your computing machine. On one proctor you would expose the phase window, and the other proctor would envelop the remainder of the Director interface. You should hold a individual 30 ” or larger show to comfortably keep the full Director interface.

Director is a necessary screen pig, which provides the authoring characteristics of the sheer figure and requires batch of screen infinites to acquire the work done. By utilizing the keyboard shortcuts you can instantly enable or disable interface characteristics such as Windowss and pallets, and avoid unneeded usage of mouse as you constantly rearrange Windowss to do room for your work.

The Macintosh OS X runing system has a figure of sole in writing characteristics, numbering a kind of in writing symbol linguistic communication to depict the usage of precise keys on the computing machine keyboard. The image on the right shows all of the keyboard symbols and their bid equivalents. You will detect many of these symbols used in Director Menu.

1.1.2 Shortcuts for the Six Main Windows

The cutoffs for the cardinal Windowss used in work country are:

O The “ Script ” window- Command/Control + 0

O The “ Phase ” window- Command/Control + 1

O The “ Cast ” window- Command/Control + 3

O The “ Mark ” window- Command/Control + 4

O The “ Paint ” window- Command/Control + 5 The “ Message ” window- Command/Control + M

1.1.3 Number Pad Controls

In Director the figure tablet can be used as either a standard numeral entry keyboard, or as a distant control for the playback caput.

Note: These cutoffs ONLY work if the “ Num Lock ” key is off while utilizing the figure tablet.

O Play Movie- Enter Key toggle ( figure pad merely )

O Stop Movie- Enter Key toggle ( figure pad merely )

O Rewind Movie to the Beginning- 0 Key ( figure pad merely )

O Advance Forward a Single Frame- 3 Key ( figure pad merely )

O Step Backward a Single Frame-1 Key ( figure pad merely )

O Advance Forward to Next Marker- 6 Key ( figure pad merely )

O Step Backward to Previous Marker- 4 Key ( figure pad merely )

O Toggle the Properties Palette- / Key ( figure pad merely )

1.1.4 The Clipboard and Edit Menu

The clipboard is basically a reserved country of the computing machine ‘s memory used to hive away text character strings, or linked media, to rush up the procedure of copying or redacting informations, and retroflexing frequently accessed information. The mute regulation of the clipboard is that it holds merely one aggregation of informations, and any informations copied to it replaces any antecedently copied information.

The “ Edit ” bill of fare is the standard place for clipboard operations in every piece of package for both runing systems. The keyboard shortcuts for the standard clipboard bids are as follows:

O Cut- Command/Control + X

O Copy- Command/Control + C

O Paste- Command/Control + V

1.1.5 Text Editing

The modern operating systems are provided with the efficient redacting bids to redact the text. Supposeyou want to cancel a word and type a new word, usually we drag the word down and snap the Delete or Backspace button and so type the new word, which is an inefficient pattern. Here is a better manner to repair the word.

O Step1 – Move the pointer over the word and double-click so that the full word is selected.

O Step2 – Rather than hitting the ‘Delete ‘ or ‘Backspace ‘ cardinal, merely get down typing the new word. The highlighted letters are instantly replaced by what you type.

Another text redaction technique is click someplace on a line of text and so clicks the ‘Shift’key to choose up to the following text country where you click the mouse.

1.2 Working with Director MemberTypes

The easiest manner to understand how Director works is to utilize the theatre as an parallel. There are cast members that are instructed how to execute by a book and mark. Besides, the full act takes topographic point on a phase. The dramatis personae in Director is all the different types of media that can be imported which include picture, artworks, text, 3D theoretical accounts, Flash life, and sound. The mark lets you easy command when each dramatis personae member is on the phase which is what the user will see. The book contains elaborate instructions for the dramatis personae members. Scripts can be really complex if required.

Let ‘s discourse some of the Director members in item:

1.2.1 Flash Animation

There are legion advantages for utilizing Flash with Director. Flash assets, by virtuousness of being vector-based, are usually highly little in file size and noticeable at about every viewed graduated table. Flash is ready to hand to incorporate buttons in Director Movies. Merely one dramatis personae member is required as each button has self-contained rollovers. Lingo can be added really easy to a Flash button to manage the assorted mouse events. Another advantage for incorporating Flash into Director Movies is that Flash files have integrated alpha channels, so Flash graphics is easy to identify into the background image in Director impeccably.

Integrating Flash Buttons

  1. Travel to the Window bill of fare and take Common Libraries, so click Buttons
  2. Choose any one button you like
  3. Drag the selected button into the Flash film library and bead it under Name at the underside of the pallet
  4. When the selected button appears in the internal button library, the Button check is activated.
  5. The “ Enter ” button has been nudged up to within 1 pel of the top left corner of the canvas.
  6. Move graphics to the upper left corner of the screen utilizing the Ten and Y belongingss and type “ 1.0 ” as the place for each. Entering belongingss numerically gives full truth over object place and size.
  7. Click the Modify check and choice papers.
  8. Choose the option Contents. This will shrivel the canvas of the Flash film to fit the exact size of the content.
  9. Now the canvas of the Flash film appears about the same size as the button.
  10. Double-click the button to see rollover and hit belongingss. All the constitutional Flash buttons from the common libraries are well-designed and easy to modify.
  11. Now the button is ready to be exported. Click File bill of fare, choice Export, and click Export Image.
  12. Make sure that the Format of the file is a Flash Movie. Salvage the file in the coveted location.
  13. Choose “ Flash Player 7 ” and ActionsScript 1.0 to run the file swimmingly in Director.

1.2.2 Sound

Sound as a media factor is often overlooked in footings of its significance. Sound can add a huge trade of impact to a presentation ; offer utile feedback for a user interface, and fill-in the spacial nothingness artworks. Sound has the capableness to set the user into the environment you ‘re showing, and this can greatly heighten the effectivity of your work. Director has really capable sound playback options for the multimedia writer, and most of its advanced sound characteristics are easy to utilize.

Director is really sound-capable, and can play a wide diverseness of sound file formats, including AIF, WAV, and MP3. If more sound trueness is desired, AIF or WAV sound files are supported at a 16-bit deepness with stereo channels, and up to a 44.1 KHz sample rate.

A good option for AIF or WAV files is to salvage them as glandular fever, with a illustration rate of 22.050 KHz, and 16-bit deepness. This will bring forth a rationally good sounding file at 25 % the size of a 16-bit, 44.1 KHz, stereo file. You can decrease the file size to boot without any noticeable loss of quality by utilizing the IMA 4:1 compressor. This will to boot diminish the size of the AIF or WAV file by 75 % , so the terminal file size can easy be 1/8th the size of the original, and still sound good. If you want to play long files, or music, the MP3 format is the best pick, though there is a free XTRA for Director that allows OGG format files to be played. OGG files are similar to MP3, but the compressor-de-compressor codification is open-source and license free.

To play sound with Lingo you will necessitate delivery in a sound into the Cast Window like utilizing the Sound Channels in the Mark for playback. If the sound files are embedded, they become incorporated into the Director file, and automatically travel wherever the Director file goes.

Advantages

Disadvantages

Complete control of DSP ( Digital Signal Processing ) of the sound

The sound can non be updated unless it is re-imported

Sound is portion of the film and can non be easy lost one time embedded

The sound must be loaded into the computing machine ‘s memory in order to play. In some low-memory state of affairss, this can do jobs

Best for smaller sound files ( less than a minute or two long )

If the sound files are linked, which means the sound remains separate from the Director Cast and must be moved individually from the Director film.

Advantages

Disadvantages

Sounds can be easy updated by replacing the external file with another file holding the same name

Sound control of DSP ( Digital Signal Processing ) is low.

Sounds do non hold to be loaded into the computing machine ‘s memory prior to playing, and are alternatively streamed from disc

Sound files can be more easy lost if non kept in the same directory as the Director Movie. Broken links can besides happen, where the sound file has moved and Director does n’t cognize where to happen it.

Best for big files ( long-playing sound files )

Separate files make it easier for the end-user to steal the beginning sound.

Cue Points:

Cue Points are markers fond of to single samples in a sound file that can be read by Director through Lingo commands that expression for them. Prompt Points must be added in audio redaction plans that are compatible with the manner Director reads meta informations in the sound file. Currently, BiasPeak for Macintosh OS X, and SoundForge XP and Adobe Audition for Windows allow sample marker names and places to be recognized by Director as Cue Points.

The cardinal benefit for Cue Points is that they are the chief precise manner to synchronise sound and picture in your Director Movie because they can run at up to 44.1 KHz, which is more than 44 times faster than the usual msec timing option.

1.2.3 Video

Video is an critical portion of frequent multimedia presentations. Director supports a scope of picture formats, but the most various and utile overall is QuickTime. It is a system-wide media public-service corporation and API that allows tonss of sound, image, and picture file formats to be displayed, edited, and converted for multiple intents. Director is QuickTime understanding and takes advantage of the most of import QuickTime characteristics so as to easy add picture, QT sound, or QTVRs to Director Movies.

The simplest method to play a QuickTime film in Director is to simply import a QuickTime file and bead it onto the phase. This will do it likely to play the film. To hold more playback options, alter some of the belongingss of the QuickTime film. There are 7 belongingss in “ QuickTime ” . They are:

O Video – turns on or off the picture paths in film.

O Audio – turns on or off the sound paths in film.

O Pause -movie would be paused by defaulting and plays merely on the bid given by the user.

O DTS – offers a method to short-circuit Director ‘s pel processing for the selected picture fairy, which may rush up the reading of the picture to the phase. while DTS is active it basically “ cuts ” through the phase image and pull without respect for sprites or ink effects. This may do spark if you draw sprites on top of picture.

O Loop – plays the film once more and once more from get downing to stop.

O Controls – displays the criterion QuickTime Player film controls.

O Streaming – buffers the film into memory from a distant location so as to play before the film is wholly loaded into memory.

1.2.4 3D Models

Director supports a powerful 3-D engine that is proper for games, simulations, and walkthrough architectural infinites. While Director uses the similar drivers that other 3-D applications use, it is able to supply polygons really hurriedly with hardware acceleration. Director has legion Lingo keywords and maps entirely for 3-D dramatis personae members. The geometric constructions that the Director uses for 3-D scenes. Director uses the XYZ orientation for 3-D scenes. Unlike the 2-D co-ordinate system, the Y-axis additions from centre to exceed, and lessenings from centre to bottom.

1.2.5 Text

Director offers legion tools and public-service corporations for making and redacting text assets. There are basically two types of “ container ” objects for text, Fieldss and text dramatis personae members. There are advantages and disadvantages for every type. Making a Text Cast Member is easy, and seting text into 1 is every bit easy as typing text in a word processor. However, Text Cast Members are to the full supported with Lingo and include legion belongingss that make them highly versatile for usage in films.

String sections: Text Cast Members contain strings. A twine is a aggregation of alphameric characters. String sections are utile for supplying messages and roll uping information in your films. For illustration:

O abcdefg is a twine.

O a1b2c3 is a twine.

String sections contain merely letters, or a mixture of letters and Numberss. Lingo understands a twine based on how many ceaseless characters it contains. Every clip Lingo encounters a infinite, it considers that as the terminal of the part of that twine. For illustration, Hello there has two balls because there is a infinite between the words ‘Hello ‘ and ‘there ‘ . The infinite is itself an unseeable character to Lingo. The infinite character is measured a delimiter. In computing machine scheduling, a delimiter is a character that identifies the beginning or the terminal of a character twine, or a immediate sequence of characters. Hellothere is considered as one word by Lingo because it contains no infinites.

Another type of twine is a actual twine, which is enclosed by dual quotation marks.

“ Hello ” is a actual twine. “ Hello there ” is a actual twine with two balls.

Lingo uses dual quotation marks to make up one’s mind whether a twine is to be measured a keyword or statement, or whether it must handle it precisely. Generally, actual strings are used to acknowledge the names of Cast Members. For illustration the first Lingo statement does non incorporate a actual twine, but the 2nd Lingo statement does.

O _movie.go ( 10 )

O _movie.go ( “ 10 ” )

In the first line, Lingo will travel the playhead to travel to border numerical 10 in the mark. In the 2nd line, Lingo will travel the playhead to a frame labeled “ 10. ” The quotation marks make a large fluctuation, in this instance. This is an important difference to do because the computing machine does n’t cognize your purposes in either of the above Lingo statements ; it merely knows what each line provinces.

Some of the belongingss of Text dramatis personae member are:

O Framing-controls how the country of the Text Cast Member appears on the Phase

O ‘Adjust to Fit’-adjusts the framing of the field to suit the contents

O The ‘Fixed ‘ scene will keep the dimensions of the field that is dragged out

O ‘Scrolling’-turns the field into a scrolling type, which is most utile when there is batch of text to expose

O Check ‘Editable ‘ option to enable the user to type in the field while the film is running

O Size up the Property Inspector pallet to research the other belongingss of Text Cast Members

1.3 Lingo Script:

Lingo is the programming linguistic communication used in Director Movies. Lingo codification is stored in dramatis personae members called books. There are three dissimilar sorts of script members:

O Movie scripts- Contains animal trainers that can be accessed by any other book and can non be assigned to precise sprites or frames.

O Behavior scripts- Controls the fairy or frame that it is assigned to.

O Parent scripts- Can be used merely by object-oriented scheduling techniques.

O Cast scripts- Exists inside a cast member and affects every sprite case of that dramatis personae member.

Lingo, adds interactivity to a film. Use Lingo to command a film in response to precise conditions and events. For case, Lingo can play a sound after a specific sum of the sound has streamed from the Internet. Use the Script window to compose and redact the books.

While an event occurs, Director generates a message about the event. Animal trainers enclose groups of Lingo statements that run when a precise event occurs in a film. Each animal trainer begins with a word, which is followed by the message that the animal trainer is set to react to. The last line of the animal trainer would be the stoping of the word or sentence. Director contains animal trainers within books. Attach a set of animal trainers to an object by attaching the animal trainers ‘ book to the object.

1.3.1 Seven classs of Lingo:

Slang footings are loosely categorized into seven classs:

O Commands are footings that instruct a film to make something while the film is playing

O Properties are attributes that define an object

O Functions are footings that return a value

O Keywords are reserved words that have a particular significance

O Events are actions that occur in Director

O Constants are elements that do n’t alter

O Operators are footings that calculate a new value from one or more values

Any valid direction that a Director can put to death is called a statement.

A portion of statement that produces a value is called an look. For illustration, 2 + 2 is an look but is non a valid statement. ‘Go to border 23 ‘ is a statement in which, travel to is a bid, and frame 23 is the look that produces a value that is required by a bid to put to death the direction.

1.3.2 Other Elementss of Lingo:

Fictional character Spaces: Wordss are separated by infinites. Lingo ignores excess infinites. Citation Markss, infinites etc are treated as characters in Lingo. Lingo is non a case-sensitive.

Remarks: Remarks in books are preceded by dual dashs ( — ) . Lingo ignores any text following the dual dash on the same line. Use the Remark and Uncomment buttons in the Script window to come in and take remarks easy.

Optional Keywords and Abbreviated Remarks: Lingo statements can be abbreviated. The brief versions of a bid are easier to come in but may be less clear than the longer versions.

Operators: Operators are elements that aid Lingo to unite, compare, or modify the values of an look. They include:

O Arithmetic operators ( + , – , / , and * )

O Comparison operators ( + , & gt ; , and & gt ; = ) , which compare two statements

O Logical operators ( non, and, or ) , which combine simple conditions into compound 1s

O Stringing operators ( & A ; and & A ; & amp ; ) , which join strings of characters

Lists: Lists are basically a set of elements alienated by commas. Lingo encloses the set of values in rectangle brackets. Lists offer a adept manner to track and update an array of informations such as a series of names or the values assigned to a set of variables. Lingo can make, recover, add to, reorder, kind, or replace a list ‘s contents. Director offers two types of lists, they are:

O Linear lists- each component is a individual value, for example- [ 100, 150, 300, and 350 ]

O Property lists- each component contains two values separated by a colon. The first value is a belongings and the 2nd value is the value associated with that belongings. For illustration, [ # left:100, # top:150, # right:300, # bottom:350 ]

Drumhead

This chapter explained about utilizing Director Interface and short-cut keys that are used extensively in Director Interface.

O This besides explains the type of sounds and pictures used in manager.

O This besides explained about working with Director Member types and besides about Lingo book.

Activity

Incorporate flash, sound and picture elements in your manager film.

A. True/False Questions

1. The cutoff for the “ Cast ” window is Command/Control + 3

2. The cutoff key used to rewind the film to the beginning is 1 key

3. Cardinal 4 is used to step back to old marker

4. The mark helps to easy command when each dramatis personae member is on the phase

5. The sound files are called coupled files when they are integrated into the Director file, and automatically travel wherever the Director file goes.

6. Cue Points are added in audio redaction plans that are compatible with the manner Director reads meta informations in the sound file.

7. A twine is a aggregation of merely numerical

8. Framing controls the country of the Text Cast Member that appears on the Phase

9. The book that is used merely by object-oriented scheduling techniques is called dramatis personae book

10. Operators are elements that aid Lingo to unite, compare, or modify the values of an look.

B. Multiple Choice Questions

1. Director ‘s Interface is made up of a figure of Windowss, called

a ) dramatis personae members b ) panels c ) docking channels d ) control panel

2. — — — – organizes and controls films content over clip in channels and frames.

a ) mark B ) phase degree Celsius ) dramatis personae window vitamin D ) belongings inspector

3. The short cut key to paint window is

a ) Command/Control + 4 B ) Command/Control + 1 degree Celsius ) Command/Control +5 vitamin D ) Command/Control + 0

4. Markers attached to single samples in a sound file that can be read by Director through Lingo bids are called

a ) sound files B ) cuepoints c ) OGG files vitamin D ) embedded files

5. The twine that is enclosed by dual quotation marks is called

a ) embedded threading B ) delimiter degree Celsius ) fixed threading vitamin D ) actual twine

6. the book that Contains animal trainers that can be accessed by any other book and can non be assigned to specific sprites or frames is

a ) film book B ) behaviour script degree Celsius ) parent book vitamin D ) cast book

7. — — – cipher a new value from one or more values

a ) commands B ) maps c ) operators d ) events

8. — — – in books are preceded by dual dashs

a ) infinite B ) keywords c ) characters d ) remarks

9. Elementss that are seperated by commas are called

a ) lists B ) commands hundred ) controllors d ) remarks

10. ( 150, 200, 300 ) is an illustration of

a ) belongings list B ) actual list degree Celsius ) additive list vitamin D ) non-linear list

A ) Answers:

1. True

2. False

3. True

4. True

5. False

6. True

7. False

8. True

9. False

10. True

B ) Answers:

  1. B
  2. a
  3. degree Celsiuss
  4. B
  5. vitamin D
  6. a
  7. degree Celsiuss
  8. vitamin D
  9. a
  10. degree Celsiuss

Mentions:

hypertext transfer protocol: //help.adobe.com/en_US/Director/11.5/UsingScripting/WS0c3ae2fbbc706611-6e69d42f11e3eb173b7-8000.html

hypertext transfer protocol: //docs.rinet.ru/Shock/index.htm