home *** CD-ROM | disk | FTP | other *** search
- on apriNavEnd
- if getPos(the windowList, window "m_navend") = 0 then
- set loaded to 0
- else
- set loaded to 1
- end if
- set f to window "m_navend"
- if loaded then
- set pLeft to stageRight() - 96
- set pTop to stageTop()
- set r to the drawRect of f
- set h to getAt(r, 3) - getAt(r, 1)
- set v to getAt(r, 4) - getAt(r, 2)
- set the rect of f to rect(pLeft, pTop, pLeft + h, pTop + v)
- set the titleVisible of f to 0
- set the modal of f to 0
- set the windowType of f to 2
- moveToFront(f)
- else
- set the titleVisible of f to 0
- set the modal of f to 0
- set the windowType of f to 2
- set pLeft to stageRight() - 96
- set pTop to stageTop()
- set r to the drawRect of f
- set h to getAt(r, 3) - getAt(r, 1)
- set v to getAt(r, 4) - getAt(r, 2)
- set the rect of f to rect(pLeft, pTop, pLeft + h, pTop + v)
- open(f)
- end if
- end
-