My World 3 for Windows TM
logo

Editor Tutorial

You can add sound to your screen.

There is a selection of sound samples in the MyWorld3\Resources\Sound directory.

Copy any sounds you wish to use into the screen's Shared directory, using the Resources Viewer.

viewer

The Mwb Files directory contains a file called PlaySound.mwb. Copy this to the screen directory.

Double click on the file to edit it. (This, like all .mwb files, is plain text, so can be edited in Notepad).

Change the name of the sound to be played from "sound.wav" to the name of the file you are using.

You can then set the frame type of a graphic or piece of text to PlaySound.mwb.

Face.myw and Body myw in the Examples screens use a variation on this. These screens have a graphic with 'hotspots' which play different sounds when clicked on.

This is done by selecting New Blank from the Frame menu. A blank, transparent frame is created and can be dragged to a suitable position on top of the graphic.

Like all graphics frames, it can be resized by dragging the sides and corners, or by changing the numbers in the Frame Properties dialogue box.

If the blank frame is then set to PlaySound.mwb, it will appear when the file is run that you are clicking on part of the underlying graphic.

Previous Next Contents