Andy,
If you are using the Flash ide, you can use the trace command and it will 
display info in the output window.

So, try something like this(but replace radioButtonName with yours)
        trace(radioButtonName.getValue());

It looks like we are using the same radio button component, so that function 
should be the same.  
I forget how the loadVariablesNum function works, it sends all variables on 
that level to the specified page?  If so, maybe you have to set the values 
first, ie:
        ableToAttendFlg = radioButtonName1.getValue();
        bringAGuestFlg = radioButtonName2.getValue();
        loadVariablesNum("form.cfm", 0, "POST");

But definitely trace them first, to make sure it's returning the correct values 
first.

If this doesn't work, send me the fla and I will take a look

-seth

-----Original Message-----
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 10, 2006 2:43 PM
To: CF-Talk
Subject: RE: Flash radio button question


Seth...

Here's my AS code. You can see the working form here:
http://www.riojunction.com

Password is testing.

submit_btn.onRelease = function(state) {
        if ((name == "" or name == undefined) or (title == "" or title ==
undefined)) {
                _root.error._visible = 1;
                stop();
        } else {
                loadVariablesNum("form.cfm", 0, "POST");
                gotoAndStop(2);
        }
};

I'm posting the variables to form.cfm which just contains a cfmail tag. I'm
not checking for guest or attend (both radio buttons which have a default
value of Yes). All of the text fields work properly, but when I try output
the value of either of the radio button groups I get the text "[object
Object]". All I need to know is how to access the radio button group
variable from within Flash.

When setting up my form I simply grabbed the default radio button component,
gave it a groupName of "attend" and a label of "Yes". It's just hard to test
the form because I can't see the output.

Any ideas? I'd be happy to send over the FLA if you need that.


<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240140
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to