Buongiorno!
Vorrei creare un immagine partendo da un clip.
Ho trovato online uno script che credo faccia quello che mi serve:
Il problema è che i dati vengono passati ad un file php che non conosco.Codice PHP:function Capture()
{
now.draw(_root.Composer.Foto);
SendImage();
} // End of the function
function SendImage()
{
abc = new LoadVars();
abc.Nominativo = this.Nominativo;
abc.Email1 = this.Email1;
abc.Email2 = this.Email2;
abc.Commento = this.Commento;
abc.pixel = new Array();
for (i = 0; i < 360; i++)
{
for (j = 0; j < 480; j++)
{
abc.pixel.push(now.getPixel(j, i));
} // end of for
} // end of for
abc.img = abc.pixel.toString();
abc.send("../actionphp/Hairstyle.CreateImage.php", "topFrame", "POST");
play ();
} // End of the function
now = new flash.display.BitmapData(480, 360, false, 4616704);
stop ();
In pratica questo script dovrebbe inviare una email con all'interno la foto.
c'è qualcuno che riesce a risalire al file php o può darmi una mano in qualche modo?
grazieeee

Rispondi quotando