on beginSprite me
set lMember = the member of sprite (the spriteNum of me)
set lMovieName = the movieName
repeat with w in the windowList
set lPathToWin = the filename of w
if lPathToWin contains lMovieName then
set lTitle = SPACE & SPACE & the title of w & SPACE & SPACE
put lTitle into field lMember
exit repeat
end if
end repeat
end