//Create variable to hold item to be sent
SentItem : LoadVars = new LoadVars();
//Create variable to hold received items
ReceivedItem : LoadVars = new LoadVars();
send_btn.OnRelease = process
function process {
//Load variables into SentItem
SentItem.msize = msize.text;
SentItem.mlmfile = "webmagic";
//Send Variables to script, ReceivedItem hold Response.
SentItem.sendAndLoad ("/cgi-bin/matweb.exe", ReceivedItem);
}
- //Create variable to hold item to be sent
- SentItem : LoadVars = new LoadVars();
- //Create variable to hold received items
- ReceivedItem : LoadVars = new LoadVars();
- send_btn.OnRelease = process
- function process {
- //Load variables into SentItem
- SentItem.msize = msize.text;
- SentItem.mlmfile = "webmagic";
- //Send Variables to script, ReceivedItem hold Response.
- SentItem.sendAndLoad ("/cgi-bin/matweb.exe", ReceivedItem);
- }
NOT TESTED...
just wrote this straight into the forum, dont have flash at work. But that is how I would do it. You just need to have a textbox on stage to hold msize.
This is how I would do it if I was sending to a script This is sending to a .exe file. No idea what will happen.
Hope it helps
Codebuddies - Website Development Resource
|INCLUDE(), INCLUDE_ONCE(), REQUIRE() IN PHP | - / - |MICROSOFT CRM 4.0 ONCLICK EVENT WITHIN FORM |