Hi,
Put your button and your text member on the stage.
Select your button, open the Property Inspector, select the 'Flash Component' tab, and make sure the 'eventPassMode' is #passAlways.
Make sure the text member is named "myText".
Create a behavior script:
on mouseUp(me)
member("myText").text = "Hello!"
end
Drop this onto the button on the stage.
Hope this helps,
Chris.
Main Topics
Browse All Topics





by: NerdsOfTechPosted on 2009-05-17 at 14:04:28ID: 24407687
I must mention, the button is classified as a flash object inside director.