Radio Button Changing Label or MC Alpha

Hi folks,
Im having a Radio Button issue.

I have a form with 3 separate groups of buttons that function fine, but what I need to do is once these buttons are selected a submit button is clicked and the movie goes to another frame and the choices that are selected have their labels go to a 50% alpha state (just the labels). I tried doing this in a separate mc and it didnt seem to work.

Any suggestions/solutions?

Thanks,
Michael

Anybody ???

Howdy…

Um… Something like this??? (I am not sure if I have understood the question correctly though…)

Thanks alot CyanBlue,
I just took a quick look at this and it is pretty darn close. A few questions though.

1- This has checkboxes and I need the alpha (or text color) to change within a group of radio buttons. Is there a way to set a group of buttons in this same manner?

2- I didnt mention this in my original post (doh !!!) After the button is clicked and the user is on the second frame (frame 5 in your movie) The buttons must be totally disabled at this point.
Sorry I didnt explain more earlier…I was frustrated when I posted and forgot :slight_smile:

The way I had initially set it up was in the “submitted frame” I was using:
“radiogroup.setEnabled(false);”
which disables the buttons fine but the problem is I couldnt find a way to control the color of the label when a button in that group was selected or not. I fished around inside the component to see how or where the color was changing but I couldnt find it

3- This is a wierd side issue. I have to use. In my movie I have to use Verdana 11 plain. I notice when I use the text in a label using the characters y and p (lower case) the bottom of the charcater gets slightly truncated.

If those 3 things can be solved I’d be golden.

Thanks again Cyan and if you can help me muddle through the rest of my issues I would really really appreciate it.

Thanks,
Michael

Howdy…

Can you create a sample that could show me some possible screen layout and the functionality??? I think that will make things easier for me to understand what you are trying to do… I kinda get it, but not all the way… :frowning:

Hi ya Cyan,
Attached is my movie. Basically what I want to do is when the user hits frame 5 is to have all radio buttons disabled but have the label show a different color for what is selected and what is not selected.

Make Sense? If not let me know.

Thanks a bunch,
Michael

I think this will let you going abit further… :wink:

Hi ya Cyan,
Thanks alot for the awesome code :)… simple and I actually understand it…hehe

I’m still having this wierd font issue. Can you please take a look at it? pretty please :slight_smile: It’s the wiersest thing and I dont understand why it’s happening. I tried dropping your buttons straight in and then things really got wierd.

Anyways, if you could take a look at it I would really apprciate it.

http:/www.fusionstation.com/cyan2.zip

Thanks,
Michael

I’m still having this wierd font issue.
I don’t quite get what your issue is… The only difference between your and mine is that you are missing to embed the font into the library…

Open up the library…
Click on the menu from the top right of the library panel…
Select New Font…
Type ‘Verdana’ for Name and Font…
Right click on the Verdana font in the library panel…
Select Linkage…
Select Export for ActionScript which will enable ‘Verdana’ in the Identifier…

Test your movie and see if there is any difference…

If that doesn’t make difference, do this…

Open up the Library panel…
Flash UI Components - Component Skins - Global Skins - FLabel
Unlock the ‘Label Asset’ layer,
Select the text field on the stage…
Select Character from the properties panel…
Select ‘All Characters’ and hit Done…

Test your movie and see if this makes any difference…

Let me know…

:wink:

Well embedding the font didnt make a difference but selecting All Characters in the text field sure did :)…it works yay !!!

Just out of curiosity why it be defaulted to No Characters?..kinda strange…but yay it works thanks again for your help.

bows to the greatness of Cyan

Thanks,
Michael

Well… I don’t know… I didn’t make that component… =) But then, think about it… Embedding font increases file size, so it won’t be a bad idea not to embed in the first place…

One thing… You gotta have that font embedded in the library with the proper linkage identifier set up to get the next step working…

Test this… Get rid of that Verdana font in the library and do the test movie… You won’t be seeing the text at all… Right???

So, you gotta have two things done at the same time… :wink:

Just remember one thing… Whenever you are having problem with the text in Flash MX, which is the current version, check if you have embedded the proper font… That is the first thing I’d look when the problem occurs… :beam:

ahhhh…I see your point now :)…this keeps it open ended for the most part…as long as you know what to look for :wink:

Thanks for schooling me in the art of radio buttons and text characters.

Thanks,
Michael

My pleasure… :wink: