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
Number of CD Tracks - MCI
Return the name of the current user
Media Make & Go
Set BroadCast Property of a Flash Sprite
StyleUtil
Importing Externally Linked (sound&bitmap) Files
Sortem
Blinker
Truques e Dicas
Get Crazy
 

 

 

Behavior Open MIAW

Added on 7/7/2000

 

Compatibilities:
behavior D7 D8 Mac PC

This item has not yet been rated

Author: ChristianKrauter

Drop this behavior on a button fill in the excate coordinates to open a MIAW

-- copywrite christian krauter
-- free to use for all regular MediaMacros visitors
-- if you have any comments pls email me
-- christian@simplicityhq.com

property pfilename, pwindow, prunLeft, prunTop, prunRight, prunBot, pDirectory

on getPropertyDescriptionList me
  list = [:]
  addProp list, #pDirectory, [#comment: "Name Folder", #format: #string,#default: "YourFolder"]
  addProp list, #pFilename, [#comment: "What MIAW", #format: #string,#default: "YourWindow"]
  addProp list, #pwindow, [#comment: "Window parameters", #format: #integer,#default: "2"]
  addProp list, #prunLeft, [#comment: "Stage Left", #format: #string,#default: +20]
  addProp list, #prunTop, [#comment: "Stage Top", #format: #string,#default: +20]
  addProp list, #prunRight, [#comment: "Stage Right", #format: #string,#default: +20]
  addProp list, #prunBot, [#comment: "Stage Bottom", #format: #string,#default: +20]

  return list
end

on mouseUp me
  --  Needs some adjustment Christian
  (the searchPath).add(the moviePath & pDirectory)
  window(pFilename).rect = rect(the stageLeft + prunLeft, the stageTop +prunTop, the stageRight + prunRight, the stageTop + prunBot)
  window(pFilename).windowType = pwindow
  open window pFilename
end

 


Contact

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

Send e-mail