Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!pasteur!agate!violet.berkeley.edu!edmoy From: edmoy@violet.berkeley.edu Newsgroups: comp.sys.mac.hypercard Subject: Re: openCard - what's going on? Message-ID: <7040@agate.BERKELEY.EDU> Date: 18 Feb 88 19:10:21 GMT References: <2498@Shasta.STANFORD.EDU> Sender: usenet@agate.BERKELEY.EDU Reply-To: edmoy@violet.berkeley.edu.UUCP () Organization: University of California, Berkeley Lines: 34 In article <2498@Shasta.STANFORD.EDU> udell@Shasta.STANFORD.EDU (Jon Udell) writes: >The problem is that openCard is not being called as expected. The code >follows: > >on rightArrow > get name of background > visual effect wipe left > go to next card > if it <> name of background then go first card of background "To Do" >end rightArrow > >openCard is sent to the next card in the stack by the first "go" statement, >but when the second "go" statement is executed, openCard is not called >again. I have also written a "leftArrow" handler in the same style, but >that one causes openCard to be sent each time "go" is executed. I'm not sure why your not getting the other openCard, except that it might be going to another background. What I use in my stacks may work better for you, if you really don't need to go to another background and back. Try: on rightArrow visual effect wipe left go to next card of this background end rightArrow Edward Moy Workstation Software Support Group University of California Berkeley, CA 94720 edmoy@violet.Berkeley.EDU ucbvax!violet!edmoy