Radio Buttons on stage not accessible from external actionscript

This one is a funny one.

To replicate:

1.Drag a radio button onto the stage.
2.Name the instance.
3.Create a document class.
4.Try and set/change the label of the radio button from the document class.

Can you? I can’t.

I noticed this problem when I quickly knocked the code together to catch the radio button value through an event, which worked perfectly when the code was on the timeline. I tried to clean up the code into a class file, at which point it broke.

I stripped the whole thing down to bare bones and just could not get the label or the value to set from the document class.

If I’ve missed something, I’d love to hear it, as I’ve wasted hours AGAIN on a silly problem.

I have only 2 solutions.

  1. Sink the radio buttons into a movieclip and have a label set function on the timeline in that movieclip.

  2. Create the radio buttons with code alone. Wish I’d known at the beginning. Not good when you have to give it back to the designers to tidy up.

AAAaaaaahhhhhhh! :hair:
Prove me wrong, and i’ll give you a kiss on the head.:cop: