Hello, its been a while, I just cant figure out a couple of things.. I am doing a switch case procdure to determine elements on the stage, I am testing my movie with the following code, can someone simply tell me how to switch my mode using button press
I have done like :
on mouseUp
set gMode = mode1
end
this does not work........
global gMode, manPablo,
on prepareFrame me
manPablo=member"Paulo1"
end ExitFrame me
on exitFrame me
sprite(me.spritenum).membernum = manPablo
case gMode of
"mode1":
set manPablo = member"Paulo1"
sprite (2).color= rgb(22, 150, 75)
"mode2":
set manPablo = member"Paulo2"
sprite (2).color= rgb(44, 150, 75)
"mode3":
set manPablo = member"Paulo3"
sprite (2).color= rgb(77, 150, 75)
beep
"mode4":
set manPablo = member"Paulo4"
sprite (2).color= rgb(88, 150, 75)
"mode5":
set manPablo = member"Paulo5"
sprite (2).color= rgb(99, 150, 75)
end case
end ExitFrame me
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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!]
