aneta9
12-09-2008, 01:05 AM
Hello, I have been looking around but never saw a guide or tutorial or a reference on how to pass information from checkboxes or radio buttons (AC 3.0) into database.
Maybe anyone can kindly share any imformation? It will be appreciated!
In case you wonder what I have at present, here it is...
So far I have:
import fl.controls.RadioButton;
import fl.controls.RadioButtonGroup;
...
then also:
...
public var rbg1:RadioButtonGroup = new RadioButtonGroup("group1");
public var rb1:RadioButton = new RadioButton();
public var rb2:RadioButton = new RadioButton();
rb1.group = rbg1;
rb2.group = rbg1;
...
And need to pass the data to a csv database which I already have and which already receives other kinds of information:
...
var formObj:Object = new Object( );
formObj.txt = MyGame.txtDesc.text + ',' + scoreval;
cConn.sendXtMessage( 'Game1', 'store_info', formObj, 'xml' );
...
So, how do i shape radio buttons info into the sending line?
Again lots of thanks for any help or reference!
Maybe anyone can kindly share any imformation? It will be appreciated!
In case you wonder what I have at present, here it is...
So far I have:
import fl.controls.RadioButton;
import fl.controls.RadioButtonGroup;
...
then also:
...
public var rbg1:RadioButtonGroup = new RadioButtonGroup("group1");
public var rb1:RadioButton = new RadioButton();
public var rb2:RadioButton = new RadioButton();
rb1.group = rbg1;
rb2.group = rbg1;
...
And need to pass the data to a csv database which I already have and which already receives other kinds of information:
...
var formObj:Object = new Object( );
formObj.txt = MyGame.txtDesc.text + ',' + scoreval;
cConn.sendXtMessage( 'Game1', 'store_info', formObj, 'xml' );
...
So, how do i shape radio buttons info into the sending line?
Again lots of thanks for any help or reference!