我该怎么接收flash播放器传过来的参数?
1.flash播放器加载代码 可运行在客户端网页
loader.load(new URLRequest("http://localhost:1234/Interface.aspx?id=" + _videoXml.id+"&url="+this.loaderInfo.url+"&test=TEST"))
这个表示播放器一加载就把这3个参数传到我服务器http://localhost:1234/Interface.aspx页面
2.我在Interface.aspx 服务器端Page_Load事件接收
protected void Page_Load(object sender, EventArgs e)
{
string id = Request.QueryString["id"].ToString();
string url = Request.QueryString["url"].ToString();
string test = Request.QueryString["test"].ToString();
//插入数据库操作(略)
}
这样没接收到 不是写在Interface.aspx页面的Page_Load事件接收吗?
我直接在地址栏http://localhost:1234/Interface.aspx?id=111&url=www.localhost.com&test=456
这样可以接收到并插入数据库表。
我该怎么接收flash播放器传过来的参数?
是否要用ajax获取URLRequest的所有参数啊?
据说这是ActionScript2.0的发送请求方式
flash代码: Page.score = _level0.score;
Page.sendAndLoad("/test.aspx", Page, "POST");
那么ActionScript3.0加载并发送请求这样写对吗?
loader.load(new URLRequest("http://localhost:1234/Interface.aspx?id=" + _videoXml.id+"&url="+this.loaderInfo.url+"&test=TEST"))
这里好像只有load 实例化URLRequest请求,有send发送请求到服务器吗?是这样写吗?
还有我上面在Interface.asp
相关问答:
前台调用
swfobject.embedSWF("cu3er.swf", "cu3er-container", "600", "300", "9", "expressInstall.swf", flashvars, attributes);
我现在有2个问 ......
我在VC里加入这个ocx控件."Shockwave Flash Object,请问我要想在vc发送字符串给flash里面的文本框该怎么传?VC又如何获取到flash文本里的值?望大家多多指教!
可以用Callfunction
主程序端:
flash1. ......
想用XML加FLASH 做统计报表 ,,有没有人有好的建议呀~~就是把XML里的内容导入到做好的FLASH模块里面去。。。
帮顶
你没用过开源的OpenFlashChart吗?
试试FusionChart
数据源就是XML的
http://www.fusionc ......
做了一个系统控制的软件,但界面是默认的界面,很难看,想美化一下,最好用flash做的动态的那种,请高手指教,最好给一个小例子以供参考,或者发个教程什么的就更不胜感激啦~~~
CDhtmlDialog+flash做背景的HTML
......