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

推荐订阅源

P
Privacy & Cybersecurity Law Blog
aimingoo的专栏
aimingoo的专栏
Microsoft Azure Blog
Microsoft Azure Blog
T
Tailwind CSS Blog
P
Proofpoint News Feed
T
The Blog of Author Tim Ferriss
WordPress大学
WordPress大学
GbyAI
GbyAI
Engineering at Meta
Engineering at Meta
I
InfoQ
U
Unit 42
小众软件
小众软件
阮一峰的网络日志
阮一峰的网络日志
Martin Fowler
Martin Fowler
博客园 - Franky
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
S
Security Affairs
Jina AI
Jina AI
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
H
Hacker News: Front Page
MongoDB | Blog
MongoDB | Blog
A
About on SuperTechFans
Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
N
News and Events Feed by Topic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
SecWiki News
SecWiki News
V
V2EX
MyScale Blog
MyScale Blog
V2EX - 技术
V2EX - 技术
www.infosecurity-magazine.com
www.infosecurity-magazine.com
G
GRAHAM CLULEY
博客园 - 司徒正美
L
LangChain Blog
F
Fortinet All Blogs
Scott Helme
Scott Helme
量子位
Recent Announcements
Recent Announcements
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
Cloudbric
Cloudbric
W
WeLiveSecurity
The Register - Security
The Register - Security
NISL@THU
NISL@THU
博客园_首页

博客园 - 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);
}