I'm putting together a program that needs to know where on the stage the mouse has been when it was down. It's definitely buggy, any help would be great.
property pLayerList, pLocList, pLayer global gLayer on startMovie pLocList = [] pLayerList = [] repeat with addLists = 1 to ((the number of members of castLib 1) - 1) add pLayerList, [pLocList] end repeat pLayer = 1 end startMovie on mouseDown repeat while the mouseDown add pLocList[pLayer], the mouseLoc repeat with lastLayer = 1 to pLayerList.count repeat with lastLoc = 1 to pLocList.count if the mouseLoc = pLocList[lastLoc] then pLayer = lastLayer end if end repeat end repeat gLayer = pLayer end repeat end --thanks for the help Dustin Harris [EMAIL PROTECTED] 602.685.1971 _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
