A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [RESOLVED] radio buttons not working in firefox

  1. #1
    Senior Member
    Join Date
    Oct 2008
    Posts
    179

    resolved [RESOLVED] radio buttons not working in firefox

    For some reason when I test my app in firefox 2(flash player 9) or 3(flash player 10) the radio buttons do not show up. They work fine in internet explorer however. Anyone have this problem??

  2. #2
    Senior Member
    Join Date
    Oct 2008
    Posts
    179
    I noticed if I place them on the stage, they show up. I am adding them dynamically from the library through a loop if that makes a difference.

  3. #3
    Senior Member
    Join Date
    Oct 2008
    Posts
    179
    Ok I made a really basic dumbed down version of what I am doing. Can anyone tell me if they can see these radio buttons: http://dopserv1.com/Untitled-1.swf

    I noticed in firefox and safari you can see the radios appear for a split second and then disappear. The radios are now not working in internet explorer either. Here is my code for this basic example..Can anyone tell what is going on here???
    code:

    import fl.controls.RadioButton;
    import fl.controls.RadioButtonGroup;

    var group:RadioButtonGroup = new RadioButtonGroup("groupname");

    for (var i:int = 0; i < 4; i++)
    {
    var rb:RadioButton = new RadioButton();
    rb.group = group;
    rb.y = i * 25;
    rb.setSize(800,25);
    rb.value = i;
    rb.label = i + ". option " + i;
    addChild(rb);
    }



    These radio buttons show up just fine when I am testing locally.

  4. #4
    Teacosy is coming ranoka's Avatar
    Join Date
    Jun 2003
    Location
    UK
    Posts
    123
    I'm not sure if it's the formatting, but there are spaces in the quotations. Are those supposed to be there?

    rb.label = i + ". option " + i;

  5. #5
    Senior Member
    Join Date
    Oct 2008
    Posts
    179
    No that wasnt it. My flash player was messed up or something. I reinstalled flash player on all my browsers and now they work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center