我正在学习Action scrip。我在ac中读取函数,但我还没有完全理解它。
我的主要问题是key
变量:key
的值是什么,key;
是什么意思?
感谢
private function processXML(event:Event) : void
{
var infoXML:XML;
var clearText:String;
var key:String;
var e:* = event;
clearText = e.target.data;
try
{
infoXML = new XML(clearText);
if (infoXML.movie == undefined && infoXML.error == undefined)
{
key;
clearText = RC4.decrypt(e.target.data, key);
}
}
catch (error:Error)
{
if (infoXML.movie == undefined && infoXML.error == undefined)
{
key;
clearText = RC4.decrypt(e.target.data, key);
}
}
infoXML = new XML(clearText);
}