Strona 1 z 1

Wysyłanie kwestionariusza za pomocą Outlooka

: wt wrz 18, 2007 12:41 am
autor: gilbertos
Napisałem kod actionscript dla przycisku button,jednak po jego wcisnieciu program Outlook nie uruchamia sie. Dlaczego? Ponizej zamieszczam kod:

Kod: Zaznacz cały

on (click) {
	// these statements simply read the data from the input fields
	// and print them to the output window for debugging
	trace(this._parent.email.text);
	trace(this._parent.lata.value);
	trace(this._parent.mecz.text);
	trace(this._parent.zawodnik.selectedItem.label);
	trace(this._parent.mezczyzna.selected);
	trace(this._parent.kobieta.selected);
	// save the return email address
	returnEmail = this._parent.email.text;
	// create an empty string variable to store the data
	urlData = "";
	// assemble the data from the fields into the new variable
	urlData += "Email:  "+this._parent.email.text+newline+" ";
	urlData += "Kibicowanie:  "+this._parent.lata.value+newline+" ";
	urlData += "Wybór meczu:  "+this._parent.mecz.text+newline+" ";
	urlData += "Wybór zawodnika:  "+this._parent.zawodnik.selectedItem.label+newline+" ";
	urlData += "Mezczyzna:  "+this._parent.mezczyzna.selected+newline+" ";
	urlData += "Kobieta:  "+this._parent.kobieta.selected+newline+" ";
	// print url data to output window for debugging
	trace(urlData);
	// send email using user input data
	getURL("mailto:[email protected]?temat=Kwestionariusz osobowy="+urlData);
}

Re: Wysyłanie kwestionariusza za pomocą Outlooka

: wt wrz 18, 2007 8:57 am
autor: Marek_bf
Przetestuj z serwera powinno działać.

Re: Wysyłanie kwestionariusza za pomocą Outlooka

: wt wrz 18, 2007 9:58 am
autor: gilbertos
OK teraz pojawia sie Outlook, ale w tresci maila nie ma danych zawartych w formularzu. Podczas testowania na serwerze nie chca sie takze pojawiac inne elementy dokumentu flash. Co moze powodowac taki stan rzeczy?

Re: Wysyłanie kwestionariusza za pomocą Outlooka

: śr wrz 19, 2007 8:52 pm
autor: Marek_bf
A jakie i gdzie, elementy miały sie pojawiać?