dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: press button change text colour

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    12

    press button change text colour

    How do I change the text colour of a dynamic text when i press a button?

    on(release){
    ???????
    }

  2. #2
    Denim Demon
    Join Date
    Jun 2002
    Location
    Outside of society
    Posts
    514
    Give your dynamic text field an instance name.
    Let's say it's "myText".
    Your code might be:

    on (release){
    myText.textColor=0xff0000;
    }
    Davy Paycheck- Kicking more ass than your daddy on a 3 bottle night.

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