At 01:02 +0800 04/10/2002, noelle cheng wrote: >Am I correct to say that these two lines of code remain? > >on mouseUp > set the visible of sprite (250) =true > >end > > > >on endSprite > set the visible of sprite (250) =true > >end > >I placed the line of code provided onto sprite b. >However, when I played the file, sprite b remained invisible, even >after sprite a was pressed. > >Have I made another mistake?
Well, you need to make sure that sprite b is in channel number 250. If it's not this won't work. Also, make sure you add the 'me' keywords if these are behaviors. As suggested you can also do this: on mouseUp me sprite(250).visible = not ( sprite(250).visible ) END mouseUp on endSprite me sprite(250).visible = TRUE END endSprite The change in the mouseUp will toggle the visibility of sprite 250, either switching it on if it's off, or off if it's on. -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://www.osborne.com/indexes/beginners_guides.shtml [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!]