how can i change texts in the dynamic textFields in SimpleButton instance (button symbol)?

Posted by sasi on Stack Overflow See other posts from Stack Overflow or by sasi
Published on 2010-05-06T12:00:53Z Indexed on 2010/05/06 14:08 UTC
Read the original article Hit count: 136

Filed under:
|
|

hi every one, this may be a basic thing, but i couldn't find an answer by serching internet.

I have created a simple button - Istance name = "btnsample"

and there are two layers

layer 0- button design with rollovers - layer 1- dynamic text field - instance name = "txtbtnlabel"

btnsample.txtbtnlabel.text = "new button label;

but it's giving followin error :-119:Access of possible undefined propety txtbtnlabel through a reference with static type flash.display:simpleButton.

how to solve this problem?

© Stack Overflow or respective owner

Related posts about button

Related posts about as3