摘要:
实体类Student:程序代码/// <summary>/// 学生实体类/// </summary>[System.Runtime.Serialization.DataContract(Namespace="http://www.mzwu.com/")]public class Student{ private string _Name; private int _Age; public Student(string name, int age) { _Name = name; _Age = age; } /// <summary> / 阅读全文
摘要:
flash调用HTML中函数:1.flash(as3)中调用代码:var strall:String=ExternalInterface.call("GetCityAlertWeather");GetCityAlertWeather为html中要的函数,strall为调用GetCityAlertWeather函数后得到的值2.html中function GetCityAlertWeather(){return aa;}Html调用flash中函数:1.flash中ExternalInterface.addCallback(‘flashfunc‘,func); private 阅读全文