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

推荐订阅源

B
Blog RSS Feed
K
Kaspersky official blog
Forbes - Security
Forbes - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Proofpoint News Feed
G
GRAHAM CLULEY
V
Vulnerabilities – Threatpost
Security Latest
Security Latest
Scott Helme
Scott Helme
S
Securelist
美团技术团队
T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
W
WeLiveSecurity
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Apple Machine Learning Research
Apple Machine Learning Research
The Cloudflare Blog
AI
AI
L
Lohrmann on Cybersecurity
S
Security Affairs
Cloudbric
Cloudbric
SecWiki News
SecWiki News
爱范儿
爱范儿
雷峰网
雷峰网
Engineering at Meta
Engineering at Meta
C
Cyber Attacks, Cyber Crime and Cyber Security
大猫的无限游戏
大猫的无限游戏
N
News and Events Feed by Topic
I
InfoQ
S
Secure Thoughts
AWS News Blog
AWS News Blog
A
About on SuperTechFans
Schneier on Security
Schneier on Security
酷 壳 – CoolShell
酷 壳 – CoolShell
The Last Watchdog
The Last Watchdog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Check Point Blog
P
Palo Alto Networks Blog
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Google DeepMind News
Google DeepMind News
Latest news
Latest news
I
Intezer
博客园_首页
C
CXSECURITY Database RSS Feed - CXSecurity.com
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LangChain Blog
D
Docker

博客园 - JBoy

Update Cache js树 火狐对ajax同步的支持 JavaScript对DOM的解析 - JBoy - 博客园 快乐工作,好好学习! 年末琐事 做一个小总结 基于AJAX的Window资源管理器 DotText学习 开学前一周计划 终于知道如何用VS2005在类图状态下实现继承 可爱的病毒 悬棺 Factory Method And Abstract Factory .NET2.0中有关加密解密的知识 观察者模式与单例模式 Javascript真的是安全的脚本吗? Frontpage-Dreamweave-VisoStudio-Dreamweave-Ultraeditor 可怜的公平
请看下面这段代码 - JBoy - 博客园
JBoy · 2007-05-24 · via 博客园 - JBoy

请看以下这段AS代码,注意注释的部分。
如果在变量my_fso前加 var ,则my_fso为局部变量,而如果没加,则为全局变量。不要犯错误!

function initFSO(nc)
{
    my_fso 
= SharedObject.getRemote("myFSO", nc.uri, true);
    
//注意与以下这行代码的区别
    //var my_fso = SharedObject.getRemote("myFSO", nc.uri, true);

    my_fso.onSync = function()
    {
        mc
._x = this.data._x;
        mc
._y = this.data._y;
    }
    my_fso
.connect(nc);
}