Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Why Can't I Change The Color Of Radio Button & Combo Box Component In Mx


hi all,
can someone help me with this problem....
I want to create a feedback form which includes combo box & radio button. o i added component from mx to file file. somehow i managed to change the font face to verdana but i want to change the color to white which i think component color default is black.........
i tried a lot to change the color but i could'nt can someone tell me how to do it...
i am attaching my file...
thanks a lot.




FlashKit > Flash Help > Flash General Help
Posted on: 08-09-2003, 03:25 AM


View Complete Forum Thread with Replies

Sponsored Links:

Change Background Color Of Combo Box Component
Hi
ive got a script that uses the combo box component but i dont want the backgound for the text to be white. does anybody know how to change this?

Regards

View Replies !    View Related
[CS3] How Do I Change The Font Color Of Combo-box Component?
How do i change the font color of combo-box component?

View Replies !    View Related
I Need To Change The Radio Button Label Color But How?
How do I change the Radio Button label color? (The black text doesn't show up that well)

View Replies !    View Related
Can't Change Radio Button Label Color
Simple Question...

Why can't I change the radio button color to white?









Attach Code

radioButtonGroup = new RadioButtonGroup("options");
var i:int;
for (i = 1; i <= queryValue['choices']; i++)
{
var radio:RadioButton = new RadioButton();
radio.label ="" + queryValue['choice'+i];

radio.value ="" + queryValue['choice'+i];
radio.move(125,125+(40*i));
radio.group=radioButtonGroup;
addChild(radio);
//radio.setStyle("color", 0xFFFFFF);
radio.setStyle("color",0xffffff);

//radio.setStyle("color",#FFFFFF);
//radio.setStyle(
}

View Replies !    View Related
How To Change The Label Color Of Radio Button
Hi,


I am using a radio button component. How can I change the color of the label text...

View Replies !    View Related
Changing The Text Color In A Radio Button Component
Hi,
I'm using a background in my frame , so I need to know how to change the color of the Radio Button Component. I tried using the Property Inspector , but in that the color option is disabled. The Flash version I'm using is Flash 8. Kindly provide me a solution for this.

Thanks In Advance,
Lokesh R

View Replies !    View Related
Radio Button Component--change Font?
Quick question-
how do I edit/replace the default font on radio button components?
Is the font defined as a type style in the A.S.?
Can't seem to find the code to edit it.

View Replies !    View Related
Change The Color Of Button Component?
I found the defult color of the button component is a little obscure. Then, I try to change the color of it to made it more clear.
I failed, and there have someone know that how to do it?

View Replies !    View Related
Radio Buttons - How To Change Color/size?
The only way I can change to color of the text in a radio button in AS 3.0 is via the Tint property in the property window. Is there a way to change the color of the text and not affect the actual button? Also, how do I change the size of the text? These are radio button components dragged onto the stage, not set via code.

View Replies !    View Related
Urgent Help With Combo Box And Radio Button
Hi,
basically, im tryin to declare the instances of my combox in my loadvariable, so that when the button is clicked, it submits the information to my php which is then saved in my sql.But the problem im havin is that, the value selected in my combox doesnt appear in mysql, meaning that something is wrong. Also i want to make use of radio buttons, but i dont knw how to decclare them or how to pass their instances to my php. can someone help pls and maybe with a useful site with examples or something.

Regards

View Replies !    View Related
Rollover Text Color - Combo Box Component
How do you change the "rolled over" text color in the combo box component? I just don't know how to reference the style in the code.

View Replies !    View Related
How To Disable Combo Box 2 When The First Radio Button Is Selected
hi there, i need some help in controlling the combo box. i have 2 components on the stage the first one is the radio button(Male) and the other is radio button (female). then i have 2 combo boxes. what i want to do is when the user click on the radio button (Male), the radio button (femal e) and its combo box partner will be disabled. i tried to use the .enabled property but the problem is when the I want to select the radio button (female) instead of radio button (Male) it doesnt go back to being enabled.

and another question is, what code should i use so whenever i click on any of the options in the combo box, it will then go to the scene that i assigned it to. please help me out. thanks for helpin!

View Replies !    View Related
How To Change A Component (color)
Hi everybody!
How do I remove the green ligth effect used for all components in flash MX 2004..

It's everywhere...

Thanks

View Replies !    View Related
Change Color In Component
Hi,

I'm using Flash MX/04 pro...... in reference to using the ScrollPane component --- is there a way to change the color of the scroll bars (bottom and side) ?

I can't seem to locate any options to do this.

Thanks in advance.

Blessings

jwr

View Replies !    View Related
Can You Change The Color Of A Component?
i want to change the colors of the LIST component is that pissible?

View Replies !    View Related
Change Color Of Component
How to change color of component.
I tried apply the hallo themes, but my q. is if is possible to add for whole component different color e.g. for whole scrollpane component red color.
I mean red scrollbar, border, etc.

View Replies !    View Related
Change Component Color?
is it possible to change the color of say a scrollpane component?

View Replies !    View Related
How Do I Change The Look Of A Radio Button?
Can I use a regular component and change the graphics or do I need to make one from scratch with AS?

Thanks,
?

View Replies !    View Related
Changing The Text Color On A Radio Button
Does anyone know how to change the color of the text on a radio button? the default black text does not show up very well on my movie background. I would like to change it to a gray color but can not figure out how. If anyone knows how to do this please let me know. thanks.

View Replies !    View Related
Change Highlight Color Component
Hi,
How can I change the highlight color of a component, instead of the default darkgrey?
I tried
MyFtree.setStyleProperty("background", 0xFFFFFF); but that changes the instance background.

Help appreciated
cheers
Patrick

View Replies !    View Related
How Can I Change Color Of UiScrollBar Component?
Hello

I have made a simple movie with text box and UiScrollBar component on it. Scroll bar is connected to text box and working well. The problem is that I can't edit the color of a scroll bar. On the first frame I added this actionscript:

myScroll.setStyle("themeColor", "haloOrange");

myScroll is naturally instance name of scroll bar. Why won't it work? Nothing happens, the scroll bar stays as white as always. Is there any other simple way to change color?

-Teemu

View Replies !    View Related
Component Rollover Color Change
I am using the checkbox component and I want to change the color of the default green that I get when I rollover the component. How is that done?
I have the following to style my component otherwise. Is this the right way to do it? Or should I create a combined declaration?

this.checkBox.label = "Subscribe to Mailing List";
this.checkBox.setStyle("fontWeight", "bold");
this.checkBox.setStyle("color","0x000000");
this.checkBox.setStyle("fontSize","10")

View Replies !    View Related
Checkbox Component Color Change?
Folks,

I'm trying to change the color of a checkbox component. I have managed to add a shadow and change the check color but I can't seem to change the color of the check box itself.

I used the following code for the shadow and check:

A.setStyleProperty("check", 0x0025500);
A.setStyleProperty("shadow", 0x0025500);

Any ideas for the actual checkbox?

Many thanks - this forum is helping me a great deal

View Replies !    View Related
Combobox Component: Change Bg Color
[resolved]
hello

i suceeded to change the combobox's text


ActionScript Code:
var CSScombo:TextFormat = new TextFormat("Arial", 8.6, 0x00FF5F);combo_zone.zone.textField.setStyle("textFormat", CSScombo);


I even manually edited the combobox original graphics but I still have the BG color when selecting items not yet changed!

any hints?

thanx

View Replies !    View Related
Change Component Text Color
I am working with flash CS3 in AS3 and I'm currently skinning my component. The component I'm working with is a list box and I have visually changed all the colors of button states from the library, which is a breeze. However, some of the colors I used do not work well with the standard black text. I was wondering how to make text in my listbox change with the button state changes that I've made.

Thanks,

Aubrey

View Replies !    View Related
Scroll Bar Component - Change Color
How can I change the scroll bar color?
Can this be done with ActionScript? :)

View Replies !    View Related
Radio Button Change Event?
Hi there...
for some reason, my code thinks everytime i am selecting radio1 (the first button)??
It can't detect the other 2 buttons!

Please help me solve this.. Any help is appreciated


I have 3 radio buttons in one mc
radio1 (value = good) radio2 (value = big) radio3 (value = small)

All in the same group "radioGroup1"

here is my code:

radio1.addEventListener(Event.CHANGE, changeHandler1)
function changeHandler1(event:Event):void {

if(event.currentTarget.value=="good")
{
trace(event.currentTarget.value)
combo.visible = false;
}
else
{
trace(event.currentTarget.value)
combo.visible = true;
}
}

View Replies !    View Related
Radio Button Change Event?
Hi there...
for some reason, my code thinks everytime i am selecting radio1 (the first button)??
It can't detect the other 2 buttons!

Please help me solve this.. Any help is appreciated


I have 3 radio buttons in one mc
radio1 (value = good) radio2 (value = big) radio3 (value = small)

All in the same group "radioGroup1"

here is my code:


Code:
radio1.addEventListener(Event.CHANGE, changeHandler1)
function changeHandler1(event:Event):void {

if(event.currentTarget.value=="good")
{
trace(event.currentTarget.value)
combo.visible = false;
}
else
{
trace(event.currentTarget.value)
combo.visible = true;
}
}

View Replies !    View Related
[MX04] Editing Radio Button, Text, Color?
Trying to edit the color, font etc. of a radio button, any help?

thanks

View Replies !    View Related
Edit Radio Button Text, Color, Font
trying to change the color, font etc of a radio button, any help??? mx04

View Replies !    View Related
Button Change Color On Select, Then Change Back
I have 3 buttons, named but,but2,but3. What I want is if you click a button it changes color to show what page your on. But when you click a different button now that one is highlighted and the original one goes back to the original color. Here's the code.
but3.onPress = function () {
_root.createEmptyMovieClip("container", 1);
loadMovie("banner3.swf", "container");
container._x = 0;
container._y = 0 ;

I figure I have to add some kind of if statement?
}

View Replies !    View Related
Change Background Color Of Scrollpane Component
Hi,
could someone pls teach me how to change the background color of a scrollpane from the component menu please?
Thanks!!

View Replies !    View Related
[F8] Change Action From Radio Btn To Graphic Button?
Hello,

I have downloaded a slideshow script and i think it is great.. se attachement.

But I woul like to do 1 modification and since I am new to flash I canīt get it right. Is it possible to instead of the radiobuttons use two graphic buttons like play and pause?

ok attachement seem to big.. so here is a link to the script im trying to modify

http://www.actionscript.org/showMovie.php?id=941

Regards // J

View Replies !    View Related
Radio Button Font And Size Change....
I did a search for this, and there were a number of threads, however I'm not real actionscript saavy and couldn't really follow everything. What actionscript do I need to add to change the font and the font size of the radio button label, and what object do I add the actionscript to? I'm sort of new to this whole thing. Thanks.

View Replies !    View Related
Component [Radio Button] ?
Hi all,
I am messing with the radio button...
how can I get the value of a group of radio button??

for checkbox/ pulldown menu getValue() is used
but how about radio button group?

Thanks
MKit

View Replies !    View Related
Radio Button Component
i have a couple of radio buttons in a scene

when i select radio button a, i want to move the playhead to frame "a"; when i select radio button b i want to move the playhead to frame "b";

radio buttons:
changehandler: radioButtSelected

on frame 1 i have the following code:

function radioButtSelected(obj) {

if(obj.getSelectedItem().label=="a"){
gotoAndStop("a");
}
if(obj.getSelectedItem().label=="b"){
gotoAndStop("b");
}
}

i used the above code succcessfully with a dropdown menu, and i was hoping it'd work with the radio buttons. i've tried using data instead of label but i'm getting nowhere.

any help is very welcome

cheers

View Replies !    View Related
Radio Button Component
Maybe I'm just being stubborn and I don't want to look for the answer anymore, but I can't seem to figure out how to change the font color of the radio button labels... I tried changing it in the symbol library, the FLabel component, but it doesn't seem to be working...

Dave

View Replies !    View Related
Radio Button Component
I am trying to use the radio button but can't seem to figure out how to get the text to wrap when I have more than one line.

Anyone know how to deal with this??


Thanks in advance

View Replies !    View Related
Radio Button Component
Hi,

I have a problem with flash mx ui components.

Basically I have a screen with 15 items.

Each item has a radio button with the text 'buy item'.

The items are from a hi lo guess game. At the end of the game the user gets presented with a screen showing all 15 items in the game.

But only the items that have been correctly guessed will have a radio button that works.

The user can select up to 12 items (radio buttons). This is where the problems begin.

Each item will have a special code attached, so after the user has selected 1 - 12 items and presses a buy items button, the user goes to an order form on a website and the order form will be populated with the codes from the selected items.

I have never used ui components before and can't seem to find any tutorials.
Any help / tips would be great.

TIA


Lel

View Replies !    View Related
Radio Button Component
Hi,
I made a Radio button choice, with yes or no, as labels and datas.

If you press yes and then click on next, you should go to one screen. If you press no, you should get a text message saying "sorry".

Here's the code I put on the button :

code:
on (release) {
if (!surname.length) {
message_txt.text = "Please enter your first name";
} else if (!name.length) {
message_txt.text = "Please enter your last name";
} else if (radioGroup.selectedData = "No"){
message_txt.text = "Sorry";
} else{
gotoAndPlay(2);
}



Both times, I get a sorry message, whether I click yes or no.. Where's the error?

Thanks,
Manojo

View Replies !    View Related
Radio Button Component
Does anyone know how to change the font and font size for the radio button component. I would like to embed a pixel font, but whatever I tried (from my books) doesn't seem to work.

thanks guys (and girls)

z

View Replies !    View Related
Scroll Bar Component OnRollOver Change Color Of Arrow
I have a scrollBar component and I want the arrow to change to a red color when I rollover it. How can I do this.
I have already set its globalStyleFormat.arrow = 0xFFFFFF;
Can this be changed when I rollOver a scroll button or press the button. But I only want it to effect the button I rollOver and not the other scroll button.

View Replies !    View Related
Change Font And Color In TextArea Component (MX 2004)
Hi,

How can I change the font, color and size etc. of text displayed in a TextArea component (MX 2004)? Is it only possible with a style sheet?

Thanx!

View Replies !    View Related
Change DataGrid Component's Header Border Color
Hi

Does anyone know how to change the color of a DataGrid's header dividing lines. I can change the color of vertical and horizontal lines of the dataGrid with
my_dg.setStyle("vGridLineColor", 0xE1E1E1);
my_dg.setStyle("hGridLineColor", 0xE1E1E1);
but I can't find a way to change the lines in the header, they are staying the default dark grey

Any ideas?

Thanks!!

View Replies !    View Related
Change Border And Color Of UI Scrollbar Component In Flash 8.
hi everyone

can u tell me how to change border and color of UI Scrollbar component in flash 8.

i m using with instance name "scrollpane"

scrollPane.setStyle("borderStyle","none");

but nothing happens

vineet

View Replies !    View Related
Really Thick, Change Radio Button Font Size
I have a radio button called

radio1

How do i change the font size... ?

Really noobish question pls help tho

View Replies !    View Related
Radio Button Label MX Ui Component
Need help. I've thoroughly read the Flash help on the UI components but cannot change the text color of radio button labels. The help for the setStyleProperty seems incomplete. But I have managed to change the font type using the following in the UI components FLabel "class".

myUIButton.setStyleProperty ("textFont", "Arial");
/* And to export the font in swf */
myUIButton.setStyleProperty ("embedFonts", true);

Has anyone got some experience with customizing the UI components.... I just need to change the text color of the label.

Please help


Thanks

View Replies !    View Related
Radio Button Component Not Appearing
I'm using the following code to put and instance of the Radio Button component on top of an already existing (manually placed) movie clip. The only thing is that the radial button does not appear.


PHP Code:



        _root.listBox2.attachMovie("FRadioButtonSymbol", "radioButton"+i, i);    
        var radio = "radioButton" + i;
        trace(radio);
        _root.listBox2[radio]._y = y;
        _root.listBox2[radio]._width = 60;
        _root.listBox2[radio].Label = productOption1[i];
        _root.listBox2[radio].Data = productCode1[i];




Thanks for the help!!!

View Replies !    View Related
Macromedia Radio Button Component
Hi all!!

Can you use the Macromedia radio button component to act as a button that will evaluate the data/value you place on it and perform an action accordingly displaying the associated value/data??

ie. can you use an change handler function to do this?

Cheers,

mmasci

View Replies !    View Related
Radio Button Component? Am I Dumb?
This is crazy. I'm spent a few hours searching google and other tutorials on how to get the flash radio button component to work. All I want is something like this :

onChange()
{
trace("You changed the radio button");
}


I've tried putting the action script right on the button. Doesn't work.

Anyone know how to do this? This should be so easy to do. I don't get it

TIA!

View Replies !    View Related
Scrolling With Radio Button Component
I've created a series of exercises that utilize the radio button component. However, when placed within IE, I am unable to scroll down the page when the cursor is anywhere over the flash movie itself. Only when I place the cursor outside of the movie am I able to scroll down the page. This is not a problem with the input text items I've created, so I have to assume this is related to the radio button component. Any ideas? These are being published for Flash player 6 (tried publishing for 7 but still having the same problem), and are being viewed in IE 6.0.2.
Many thanks....raspie.

View Replies !    View Related
Copyright Đ 2005-08 www.BigResource.com, All rights reserved