&filetext=

Instructions

Drag dialog box folder and scrollbar folder into your movie's library. Place the dlgBox movieclip on the main timeline outside of the viewable area and name the instance of the movie clip. In this case we will use "helpDlgBox". The dialog box should be called by either a button event or timeline event. Of course you could also use an onload event, but that wouldn't make it reuseable now would it.

For button event, create a button as you normally would and position it where you want in your movie. Next you will add the follwing code to your button.

on (release) {

dlgBox.duplicateMovieClip("helpDlgBox",100);

helpDlgBox._x = 275;

helpDlgBox._y = 200;

helpDlgBox.path = "helpDlgBox.html";

}

For a timeline event, make a keyframe on your timeline where you want to launch the "helpDlgBox". Add the following code to the keyframe you just created.

dlgBox.duplicateMovieClip("helpDlgBox",100);

helpDlgBox._x = 275;

helpDlgBox._y = 200;

helpDlgBox.path = "helpDlgBox.html";

For html formating see this file (helpDlgBox.html) and place the hmtl file in the same directory as the swf file.

Modification

You can skin the dialog box and buttons to appear any way you like. However, if you change the dimentions of the scrollbar buttons you may have to make adjstments to the scrollbar actionscript for the scrollbar to function correctly.

Most of the code contained in the fla is commented. Generally, I've tried to make it as simple as possible for someone to tweak the scrollbar and dialog box to suit their needs. But as with most coding the person who wrote it knows it best.

Have fun experimenting with it. I welcome comments and suggestions for future updates. This file was not spell checked so don't tell me if I missspelled something.

&titlebar=Project Help &textloaded=1