& if you are using D8.5, the Behavior Library includes updated versions of the behaviors with the Find/Replace already done for you.
-Buzz At 4:36 PM +0100 4/9/02, you wrote: >noelle cheng <[EMAIL PROTECTED]> wrote: >> I have used a behavior originally written in D7 by James Newton for my >> program... >> JUMP BACK BUTTON > >Hi Noelle, > >The line continuation character � was changed to \ in Director 8 to avoid >cross-platform complications. The character � is numToChar(194) on >Macintosh and numToChar(172) on Windows. The Windows character "�" - >numToChar(194) - and the Mac character "�" - numToChar(172) - also >functioned as line continuation characters prior to Director 8.5, which led >to abberant behaviors within strings. > >Director 8.0 accepts both old and continuation characters, but Director 8.5 >refuses to recognise the old one if you recompile the script. > >In Director 8.5, ou need to replace � by \ everywhere in your scripts. To do >this, open a script containing the � character, select it, then choose the >menu item Edit | Find | Select (Ctrl/Command-H), to find the next occurence >of the character. Now use the menu item Edit | Find | Text... >(Ctrl/Command-F), to open the Find dialog. The � character should already >be entered int the Find field. In the Replace field, type \ (Shift-Option-/ >on Macintosh). Choose the All Casts radio button and the Wrap Around check >box, then click on Replace All. > >An alert will appear, warning you that you cannot undo Replace All. Click >OK: you may have to wait a few moments while Director makes the change in >all your scripts. > >-- > >Since I wrote the D7 version of the Jump Back Button behavior, I have >written a set of new behaviors that deal with the same feature in a more >elegant way. You can find these new behaviors in a couple of demonstration >movies. To download these from the Internet, type the following commands in >your message window > >go movie "http://perso.planetb.fr/newton/History.dir" >go movie "http://perso.planetb.fr/newton/GoMarker.dir" > >Cheers, > >James > >[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!] [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!]
