惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
罗磊的独立博客
SecWiki News
SecWiki News
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
IT之家
IT之家
博客园 - 聂微东
T
The Exploit Database - CXSecurity.com
Recorded Future
Recorded Future
大猫的无限游戏
大猫的无限游戏
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Vercel News
Vercel News
G
GRAHAM CLULEY
D
DataBreaches.Net
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
SegmentFault 最新的问题
博客园_首页
雷峰网
雷峰网
T
Tenable Blog
Spread Privacy
Spread Privacy
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
Cisco Talos Blog
Cisco Talos Blog
V
Visual Studio Blog
J
Java Code Geeks
博客园 - Franky
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
C
CERT Recently Published Vulnerability Notes
T
Threatpost
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
Recent Announcements
Recent Announcements
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
U
Unit 42
M
MIT News - Artificial intelligence
Y
Y Combinator Blog
K
Kaspersky official blog
有赞技术团队
有赞技术团队
B
Blog
腾讯CDC

博客园 - gzboy

一个flex例子(自定义download progress bar的) AS3的中文学习资料 终于可以让Flash基于C#完美操作数据库了,想开发全flash的,全部读取数据库的个人BLOG... 基于.NET + FMS + SQLSERVER2005 + Flash Remoting(技术)的FLASH播放器开发成功 基于FMS的在线录制例子... - gzboy - 博客园 loadrunner8.0 获取数据库名称与数据库中表名的方法 问个关于SQL 2005同步的问题 Flex2下载地址及注册码 让IIS 6.0支持FLV的方法 残念,我决定放弃Flash Remoting!!! 大概看了一下《Flash MX 2004 -- 数据库应用开发 - 基于.NET架构》,感觉有点迷惘了! 在flash remoting for .net中,AS代码是怎样调用aspx中的具体方法呢? 通过Flash Remoting,怎么通过页面主动传递值给Flash player呢? 调试Flash Remoting中出现的问题. 又出现一个技术难关:Flash remoting的应用 大文件上传组件终于调试成功了... 还是大文件上传的问题,超级郁闷,有相关经验的进来说说... .NET中大文件上传遇到的问题.
在Flash中接收来自页面(.NET)的值的方法.
gzboy · 2006-11-23 · via 博客园 - gzboy

Flash中的代码

onEnterFrame = function () {
var tmp_id 
= id;//id为来自页面的变量
}

页面中的方法

<script>
    
function f_change(fid)
    
{
        document.all(
"Object1").SetVariable("id",fid) 
    }

</script> 

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="550" height="400" id="Object1">
  
<param name="movie" value="test.swf">
  
<param name="quality" value="high">
  
<param name = "FlashVars" id = "FlashVars" value = "id" >
  
<embed src="test.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="400"></embed></object><br />
        
<asp:Label ID="Label1" runat="server"></asp:Label>
        
<br />
        
<button onclick = "Javascript:f_change(123)">test</button>
        
<button onclick = "javascript:f_change(456)">test</button>

思路...
页面中利用LoadVar(<param name = "FlashVars" id = "FlashVars" value = "id" >)传递值给Flash,Flash中通过刷新本Flash(onEnterFrame ),来动态更新接收到的值.

缺点:
不断刷新本FLASH,占用CPU资源.

在寻找其他方法中...

还是那句:为什么...macromedia的Flash remoting for .net不支持直接调用页面里的方法呢?