|
|
|
Open MIAW
Added on 7/7/2000
|
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
|
|