Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4060360
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:19:41+00:00 2026-05-20T15:19:41+00:00

I have a button in my application and I want it to respond a

  • 0

I have a button in my application and I want it to respond a bit in a special way. Initially the label color of the button is White, I want the color of the text to change to 50% white on the Over State and to 25% on the Down state. Is this possible?

I tried an alternative way using css which does not do the percentage stuff but only changes the color (see css code below), but this does not seem to work. I more specifically want the color to change in terms of percentage like I mentioned above. Can someone help on this one pls?

Note that I am using the Skin file only to loads images for each state on the button.

s|Button#specialButton {
 downSkin: Embed(source="text.swf", symbol="btn_focus");
 overSkin: Embed(source="text.swf", symbol="btn_hover");
 upSkin: Embed(source="text.swf", symbol="btn_normal");
 disabledSkin: Embed(source="menuButtons.swf", symbol="btn_disabled");
 skinClass: ClassReference("specialbuttonSkin");
 color:#ffffff;
 textRollOverColor: #ffffff;
 textSelectedColor: #d0d0d0;
}

Thanks for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T15:19:41+00:00Added an answer on May 20, 2026 at 3:19 pm

    Here’s how I would do it: Set the text alpha based on the current state. The easiest way to achieve this is to set it up in MXML when declaring the instance of your button, like so:

    <s:Button label="My Button" textAlpha.over="0.5" textAlpha.down="0.25"/>
    

    Hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a button in a wpf (silverlight actually) application. I want to change
I have a toggle button in my application. I want to change or control
in my web application I have a button when I click I want to
I have an ASP.NET button in my application, which I want to open another
I have an application page. I want to click a button to pop out
In my hello world application, i have a button and a text field set
I want my application to have button bar at the bottom, that is similar
I have 'n' button. I want to shuffle those button in my application. Or
I have a simple test application where I want to have a clear button
I have application I want a button to open another screen with done button

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.