0
how to send variable to email from canvas?
New Here
,
/t5/animate-discussions/how-to-send-variable-to-email-from-canvas/td-p/12191601
Jul 21, 2021
Jul 21, 2021
Copy link to clipboard
Copied
For ActionScript3 the code is
var myData:URLVariables = new URLVariables();
myData.phone = "itel A48";
var myRequest:URLRequest = new URLRequest("https://server/send.php");
myRequest.data = myData;
myRequest.method = URLRequestMethod.POST;
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
try
{
loader.load(myRequest);
}
catch (error:Error)
{
trace('Error: unable to load the document.');
}
what code should it be for Canvas?
TOPICS
Code
,
How to
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

