Flash tan xml üretmek için cok basit bir uygula
//coded by Thresh
btngonder.onRelease = function() {
formgonder();
};
btnsil.onRelease = function() {
sku.text = “”;
catalog.text = “”;
dn.text = “”;
price.text = “”;
txt2.text = “”;
tarih.text = “”;
txtver.text = “”;
};
function formgonder() {
if (sku.text == null || sku.text.length<2) {
sku.text = “eksik”;
selection.setFocus(sku);
}
if (catalog.text == null || catalog.text.length<2) {
catalog.text = “eksik”;
selection.setFocus(catalog);
}
if (dn.text == null || dn.text.length<2) {
dn.text = “eksik”;
selection.setFocus(dn);
}
if (price.text == null || price.text.length<2) {
price.text = “eksik”;
selection.setFocus(price);
}
if (txt2.text == null || txt2.text.length<2) {
txt2.text = “eksik”;
selection.setFocus(txt2);
}
if (tarih.text == null || tarih.text.length<2) {
tarih.text = “eksik”;
selection.setFocus(tarih);
}
if (sku.text != “eksik” && catalog.text != “eksik” && dn.text != “eksik” && price.text != “eksik” && txt2.text != “eksik” && tarih.text != “eksik”) {
var sku = sku.text;
var catalog = catalog.text;
var dn = dn.text;
var price = price.text;
var txt2 = txt2.text;
var tarih = tarih.text;
var xmlcikti = “<xml version=\”1.0\” encoding=\”ISO-8859-9\”>”+”\n”+”<newproducts>”+”\n”+”<product sku=\”"+sku+”\”"+” “+”catalog=\”"+catalog+”\”"+” “+”displayname=\”"+dn+”\”"+” “+”price=\”"+price+”\”"+” “+”tarih=\”"+tarih+”\”"+” “+”txt2=\”"+txt2+”\”>”+”\n”+”</newproducts>”;
txtver.text = xmlcikti;
//mailform = “ver.php”;
//formData = new LoadVars();
// formData.sku = sku;
// formData.catalog = catalog;
// formData.dn = dn;
// formData.price = price;
// formData.txt2 = txt2;
// formData.tarih = tarih;
// formData.action = “send”;
//
// formData.sendAndLoad(mailform);
}
}

çalışmanın fla ve php dosyasını temin etmek mümkün mü?
açagıdaki satırları nasıl ayarlayacağız.
txtver.text = xmlcikti;
//mailform = ?ver.php?;
//formData = new LoadVars();
// formData.sku = sku;
// formData.catalog = catalog;
// formData.dn = dn;
// formData.price = price;
// formData.txt2 = txt2;
// formData.tarih = tarih;
// formData.action = ?send?;
//
// formData.sendAndLoad(mailform);
}
}