PDA

View Full Version : Should be simple Radio Buttons


Asa_NuBe
10-25-2007, 10:31 AM
Hello Gurus,

from Norwich in UK.
I'm having a problem finding the right solution, I'm new to actionscripting so this may be all my own fault.
I have a flash mail form that chats to an ASP page quite happily. I had to put some set variables found in the ASP mail page as follows

subject = "Contact Form from Website";
recipient = "email@asabeaumont.co.uk";
sort = "Name,Company,Email,Telephone,Message";


Now the issue for me is how can I change the recipent with the use of 4 radio buttons found on a different layer on the form as the above variables are in a seperate actions layer on the timeline.

How do I use the radio buttons correctly - I know that I can put the data for each one as the email address, but then it goes horribly wrong. Any sound advice would greatly be appreciated. Thankyou

hioctane
10-29-2007, 04:25 AM
Hello Gurus,

from Norwich in UK.
I'm having a problem finding the right solution, I'm new to actionscripting so this may be all my own fault.
I have a flash mail form that chats to an ASP page quite happily. I had to put some set variables found in the ASP mail page as follows

subject = "Contact Form from Website";
recipient = "email@asabeaumont.co.uk";
sort = "Name,Company,Email,Telephone,Message";


Now the issue for me is how can I change the recipent with the use of 4 radio buttons found on a different layer on the form as the above variables are in a seperate actions layer on the timeline.

How do I use the radio buttons correctly - I know that I can put the data for each one as the email address, but then it goes horribly wrong. Any sound advice would greatly be appreciated. Thankyou
Your recipient email addresses can be stored in flash, and passed through as a variable from the root of your movie.... based on the radio button selected. Declare this variable in ASP page and all should be good.