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 6565229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:04:04+00:00 2026-05-25T14:04:04+00:00

I am trying to programmatically skin a PopUpButton control in Flex Builder, but having

  • 0

I am trying to programmatically skin a PopUpButton control in Flex Builder, but having no luck. As far as I know this requires writing a custom skin class or creating a modified version the control class itself (since the control is MX and not Spark). Again, just to clarify, I want to programmatically modify the appearance not simply set styling properties or display an image. I’ve been able to do this programmatically with other MX controls (e.g. tabs in a tab navigator), but not with the PopUpButton.

I think part of the problem may be that the control is actually composed of two separate buttons, so you cannot draw just one rectangular area over the whole control. Does anyone know how to approach this?

Thanks for the 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-25T14:04:05+00:00Added an answer on May 25, 2026 at 2:04 pm

    The solution I have settled on is using a custom MXML component that contains two spark buttons. There’s a menu opening button (i.e. the button with the arrow) and a button to execute the most recent command selected from the menu. Each of these buttons has a custom skin.

    Pressing the opening button shows an menu that is initially created in the component’s “CreationComplete” routine.
    More on menus here: http://www.flexafterdark.com/docs/Flex-Menus
    (or since the page was down when I tried it: http://webcache.googleusercontent.com/search?q=cache:http://www.flexafterdark.com/docs/Flex-Menus)

    You could also do this with a button and a dropdownlist inside a custom MXML component, but that didn’t seem to work with the mult-level hierarchical XML I wanted to use in my dropdown menu.

    If someone comes up with something better, please, please, do post it…

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

Sidebar

Related Questions

I'm trying to programmatically replace <? with <?php in a bunch of file, but
I'm having an issue when trying to programmatically update a DateTime field that already
I am trying to create a site programmatically in Sharepoint but I keep getting
I was trying to programmatically go through presidential campaign contributions to see which web
I'm trying to programmatically set the constructor sting of a COM+ component from a
I'm trying to create Excel 2007 Documents programmatically. Now, there are two ways I've
I am trying to get some JavaScript to programmatically adjust a HTML img tag's
I'm trying to parse an Atom feed programmatically. I have the atom XML downloaded
I am trying to provide my own labelFunction for a CategoryAxis programatically but am
Trying to get my css / C# functions to look like this: body {

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.