home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global articleWindow, ImageWindow, toolWindow
- if objectp(ImageWindow) then
- forget(ImageWindow)
- end if
- set horzOrigin to the stageLeft + 200000
- set vertOrigin to the stageTop + 200000
- set photoWindowRect to rect(horzOrigin, vertOrigin, horzOrigin + 448, vertOrigin + 356)
- set ImageWindow to window "photos"
- set the windowType of ImageWindow to 49
- set the fileName of ImageWindow to "image.dir"
- set the rect of ImageWindow to photoWindowRect
- set the title of ImageWindow to " "
- set the titleVisible of ImageWindow to 0
- set the visible of ImageWindow to 0
- tell ImageWindow
- setPuppets(1, 48, 0)
- go("preLoad")
- end tell
- set the visible of ImageWindow to 0
- set photoRect to rect(26, 40, 474, 396)
- set the rect of ImageWindow to photoRect
- if objectp(toolWindow) then
- forget(toolWindow)
- end if
- set horzOrigin to the stageLeft + 200000
- set vertOrigin to the stageTop + 200000
- set helpRect to rect(horzOrigin, vertOrigin, horzOrigin + 448, vertOrigin + 356)
- set toolWindow to window "tools"
- set the windowType of toolWindow to 49
- set the fileName of toolWindow to "tool.dir"
- set the rect of toolWindow to helpRect
- set the title of toolWindow to " "
- set the titleVisible of toolWindow to 0
- set the visible of toolWindow to 0
- tell toolWindow
- go("help")
- end tell
- set the visible of toolWindow to 0
- set toolRect to rect(26, 40, 474, 396)
- set the rect of toolWindow to toolRect
- cursor(-1)
- end
-