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
RearWindow Professional
SunTek TEKsearch
StartFramesScript
Copy Behavior (Ctrl + C)
ADOxtra for Shockwave Multiuser Server
Color Value
Open MIAW
Make Bitmaps from Flash
Bubble Sort Algorithm (for Strings)
Tool Tips/Help popUp box ver 2.1
 

 

 

Behavior Open Windows Explorer

Added on 10/2/2000

 

Compatibilities:
behavior D7 D8 PC

Required Xtras:
Buddy API

This item has not yet been rated

Author: MediaMacros (website)

This behavior opens the windows explorer to the specified directory.

property spriteNum, driveLocation, relative

on getPropertyDescriptionList me
  p_list = [:]
  addProp p_list, #driveLocation, [#format : #string, #comment : "Location to open explorer to:", #default : "C:"]
  addProp p_list, #relative, [#format : #boolean, #comment : "Relative to the movie?", #default : true]
  return p_list
end

on mouseUp me
  if relative = true then
    location = the moviePath & driveLocation
  else
    location = driveLocation
  end if
  baShell("open", "explorer.exe", location, "", "normal")
end

on getBehaviorDescription me
  describe = "This behavior opens the windows explorer to the specified directory."
  return describe
end

on getBehaviorTooltip me
  describe = "This behavior opens the windows explorer to the specified directory."
  return describe
end

 


Contact

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

Send e-mail