School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 340,155 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 4,001 people online right now. Registration is fast and FREE... Join Now!



flash mx2004 checkbox and radio button

flash mx2004 checkbox and radio button how to pass value from flash component checkbox to php file

#1 suthat22  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: New Members
  • Posts: 1
  • Joined: 06-June 09


Dream Kudos: 0

Posted 06 June 2009 - 07:55 AM

I want to creat form by flash .consist of
field name
2 radio button (instant name travelPrefs0_rb,travelPrefs1_rb)
1 check box (instant name chbox)
On my first frame
travelPrefs0_rb.setGroupName("travelPrefs");
travelPrefs1_rb.setGroupName("travelPrefs");
travelPrefs.setLabelPlacement("left");
travelPrefs0_rb.setLabel("Male");
travelPrefs0_rb.setData ("M");
travelPrefs1_rb.setLabel("Female");
travelPrefs1_rb.setData ("F");
travelPrefs0_rb._x = 50;
travelPrefs1_rb._x = 120;
travelPrefs0_rb._y = 100;
travelPrefs1_rb._y = 100;
selectedVal = travelPrefs.getValue(  );
//checkbox
chbox.setGroupName("member");
chbox.setLabel("Accept");
chbox.setData ("Y");
travelPrefs1_rb._x = 1;
travelPrefs0_rb._y = 100;
chVal=member.getValue();



and submit button code
on(press) {
  var selectedVal = travelPrefs.getValue(  );
  var chVal = member.getValue();
trace(selectedVal);
trace(chVal);

}



my problem are :
1. I can't get value from my checkbox like radio buttons
2. How can I past these radio ,check value to php file

Need your help
Suthat
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month