dnf公会哪里有虚弱药:flash AS代码的问题

来源:百度文库 编辑:神马品牌网 时间:2024/05/08 04:49:00
loadVariables
loadVariables(url,loc
ation[,vars]);怎么在代码里怎么应用,请写一个简单的代码实例,并写上解释谢谢

例如:
在FLASH中设置一个input 类型的文本,其var=str;
在其祯ACTION中加入
oadVariables("test.php",0);

test.php的代码:
<?php
$str="This is a test!";
echo "\$str=$str";
?>

就能把PHP中变量的值传到flash中了.