Customize ComboBox with Gradient Background



  • 1. Create a custom "top-level" function
    Hi, everybody ! I have some custom made functions that I tend to use quite often. I`ve put them in a class and defined them as 'static', but I`m not such a big fan of this procedure. I want to make a class that contains their definitions, import it and then just use the functions as if they were defined in my current class. Does anybody know how this could be achieved? Thanks!
  • 2. for loop + position mc's
    After attaching movie clips to my stage, I am attempting to reposition each clips _x coordinates using a combination for(loop) and onEnterFrame. Because I need to reference each movie clip by name, I use a for(loop) to created generate MC names and then store it in a variable called "cp". I attempt to reference the ._x properties using the variable "cp" but it doesn't seem to work. Any suggestions?? Here is my code: // future arrays var nodes:Number = 3 // position movie clips for (i:Number = 0; i < nodes; i++) { cp = "box"+i this.onEnterFrame = function():Void { cp._x += (0 - cp._x)/i+1; }; //end onE }; //end for loop
  • 3. looking for help on creating a popup window to enlarge pictures on my site
    I mean am i being ignored because no one knows how to accomplish this? I came across one topic like this but there wasn't a solution given. The person just replied "why you want to do that" Which really irritated me. If no one knows how to accomplish this, it would be nice for someone to reply and let me know that I'm SOL
  • 4. Custom Curser
    Hello Im new to flash so im still learning all the basic action script and things like that, and ive found this code to add to a movie clip to make it drag and be your curser, but when i try to use it the thing its dragging is always way above the where to mouse is , so it makes it hard to clip buttons. Could someone please help. Here is the scrip that I have been using onClipEvent(load) { Mouse.hide(); this.startDrag(); }
  • 5. how do i open other programs
    im new to flash so i dont know a lot. first of all how do i get flash to open other programs, and how do i get flash to open html links? thanks a lot.

Customize ComboBox with Gradient Background

Postby mycloc » Thu, 17 Aug 2006 06:17:53 GMT


Does anyone out there know how to skin a ComboBox with a gradient in the 
background of the text area, using the Halo Theme? I've looked everywhere 
in the class files for instances of the DrawRoundRect function to see where 
the fill color is determiend, but can't seem to find where the rounded 
rectangle is actually drawn.

Any help would be appreciated. TIA



Similar Threads:

1.Customize combobox to display more than text MX 2004

In the previous version of Flash MX, I was able to extend the ComboBoxItemClass so I could show an icon prior to the actual text.  The icon was different for each state (ie selectable, invalid, selected, etc).  More specifically, this was done by creating/registering a new class and modifying the layoutContent method of the prototype.

I've tried several resources to see how I can do this with 2004 but have come up empty.  I have seen an article that applied to the list and datagrid controls, which use the CellRenderer class, but this does not appear to be applicable to ComboBoxes.

So my question is, how do I modify/extend/whatever a combobox component so that more than just the actual text labels are displayed?

2.Customizing Combobox

Ok, so I've got my combo box to look mostly as i want it, but there's still a 
few things I'm having problems on. I've looked and looked and can't find 
anything on how to do it (at least anything that makes sense to me!).

 So my two things I'm having problems with are my selection fontSize and my 

 Border first. I got the border to show up by doing this.borderStyle = "solid"; 
It worked, except I need to change the colour of my border. Is there an easy 
way to do this? (PLEEEASE!)

 My fontSize looks GREAT in my drop down and is exactly how I want it...however 
it seems that changing the properties of my combobox colour, backgroundcolour, 
fontSize and such seems to have NO effect on the actual look of the comboBox. I 
have sized down my combo box to be smaller than the default fontSize of the 
selected label in a combobox, so now my selected label looks like crap cause 
half of the text is getting cut off. How do i change the fontSize of the 
selected label?

 That's it for now. Any and all help would be greatly appreciated as i can't 
seem to find anythign that makes sense to me on how to do this. I suck at 
styling things, I was never any good at getting my CSS files to work right and 
I turned to flash cause i hate HTML!

3.Customizing the ComboBox component

Im trying to customize ComboBox component. Everything is ok except the scrolling part. It looks so 3D. I just want to have a flat scroller without any effects. Is it possible to do this ?

4.customizing "ComboBox" componet in MX(not 2004)

I want to list font names in a combobox(dropdown).

 I want the text in the combobox(dropdown) to display in its respective 

 any ideas? I know I can set the font of the combobox as a whole, but is it 
possible to set it for each index?

5.Customizing ComboBox Component

Hello, does anyone know how to customize the actual box portion of the comboBox 
component? I can skin the arrow within the comboBox, but I want to make it so 
the shape of the comboBox is square and not round... any suggestions?



6. Customizing comboBox component

7. Scale Background Gradient

8. Gradient or Mask stage background?

Return to FLASH


Who is online

Users browsing this forum: No registered users and 4 guest