Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Complete Idiots Guide to Macromedia Flash 5
Clean for reinstall
Truques e Dicas
Cells Xtra
MelixDB Xtra version 1.0 released.
Find CD Drive - Using Wierd File
Resolution Xtra
Irregular Slider
MPEG Advance
Apples
 

 

 

Behavior Cleanup Users Components

Added on 10/2/2000

 

Compatibilities:
D7 D8 PC Script

Required Xtras:
Buddy API

This item has not yet been rated

Author: MediaMacros (website)

Use this with SetUpUsersComponents to clean up before exiting. Call like this... cleanUpSystemSettings

on cleanUpSystemSettings
  global systemSettings    
  if (systemSettings = void) then    
    if findPos(systemSettings, #ss) > 0 then
      baDisableScreenSaver( systemSettings[#ss] )
    end if
    
    if findPos(systemSettings, #sVolume) > 0 then
      baSetVolume("master", systemSettings[#SVolume])
    end if
    
    if findPos(systemSettings, #taskBar) > 0 then
      baHideTaskBar( false )
    end if
  end if
end

on getBehaviorDescription me
  describe = "Use this with SetUpUsersComponents to clean up before exiting." & return & "Call like this..." & return & "cleanUpSystemSettings()"  
  return describe
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail