I'd like to switch a graphic for a visible copy, or change the opacity of it when the button is pressed. and at the same time add text to a textfield by adding it to a list. i'm not sure why these changes arent showing up on the stage after i click the button. gchoicelist is a string of true/false variables because the user may or may not activate certain text and bitmaps depending on what they choose. ok so here's the code.
on a button:
global gChoicelist,gInfolist
property psprite
on mouseup me
gChoicelist.mental.mindreading = true
gInfolist.add("The hero can read minds."
psprite = sprite(me.spritenum)
end
and on a graphic:
global gChoiceList
property pswitchmember
on exitframe me
pswitchmember = sprite(me.spritenum)
if gChoicelist.mental.mindreading then
pswitchmember = member(3,21)
end if
end
on a button:
global gChoicelist,gInfolist
property psprite
on mouseup me
gChoicelist.mental.mindreading = true
gInfolist.add("The hero can read minds."
psprite = sprite(me.spritenum)
end
and on a graphic:
global gChoiceList
property pswitchmember
on exitframe me
pswitchmember = sprite(me.spritenum)
if gChoicelist.mental.mindreading then
pswitchmember = member(3,21)
end if
end