home *** CD-ROM | disk | FTP | other *** search
- //Help Box Functions
- function SetDisplayText (strText) {
-
- TheHelpBox.Message.message = strText;
- }
-
- function Refresh () {
- var uTop = (getProperty("TheHelpBox.Message", _height))/-2+(getProperty("TheHelpBox.Up", _height))/2;
- var tTop = uTop+getProperty("TheHelpBox.Up", _height)+1;
- setProperty ("TheHelpBox.Thumb", _y, tTop);
- TheHelpBox.Message.message.scroll = 1;
- }
-
- function ToggleVisibility () {
- TheHelpBox._visible = !TheHelpBox._visible;
- if (TheHelpBox._visible) {
- Refresh();
- }
- }
-
- //This tell the HelpBox Control whether or not to AutoDisengage(Set itself to invisible) upon changing frames.
- //The HelpBox Control defaults to this being on.
- function SetAutoDisEngage(bEnable)
- {
- if (bEnable)
- {
- TheFrameWatcher.play();
- }
- else
- {
- TheFrameWatcher.stop();
- }
- }