A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: button problem

  1. #1
    Junior Member
    Join Date
    Sep 2007
    Posts
    3

    button problem

    I am using Flash MX 2004 and I have a button that loads an external swf onto my stage. I would just like to be able to have the color of the text change once the button has been clicked.

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176

    TextField.textColor property

    a bit sketchy on details there

    are you using a dynamic textfield, with an instance name,
    on the main timeline ?

    if so, add code to the button to change the textColor property -

    textfieldInstanceName.textColor =0xFF0000;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center