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

推荐订阅源

I
Intezer
V
Vulnerabilities – Threatpost
Google Online Security Blog
Google Online Security Blog
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
AWS News Blog
AWS News Blog
G
GRAHAM CLULEY
P
Privacy & Cybersecurity Law Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cybersecurity and Infrastructure Security Agency CISA
N
News | PayPal Newsroom
T
Tenable Blog
Spread Privacy
Spread Privacy
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Secure Thoughts
P
Privacy International News Feed
IT之家
IT之家
Project Zero
Project Zero
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
大猫的无限游戏
大猫的无限游戏
博客园_首页
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
量子位
雷峰网
雷峰网
Apple Machine Learning Research
Apple Machine Learning Research
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
NISL@THU
NISL@THU
I
InfoQ
D
DataBreaches.Net
有赞技术团队
有赞技术团队
K
Kaspersky official blog
Security Latest
Security Latest
The Register - Security
The Register - Security
Hugging Face - Blog
Hugging Face - Blog
S
Security @ Cisco Blogs
P
Proofpoint News Feed
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
AI
AI
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
N
News and Events Feed by Topic

博客园 - thcz studio

css rss 欲望是一种财富 动画设计手法 图形引导 图形 影片剪辑 文件大小 动画效率 反编:) 做个组件 电影 m i 选择 对未知是恐惧 还是兴奋 png 每天 按钮动作屏蔽 系统资源 工作类博客的写法 png 位图资源 动画特效 flash 版面 色彩 版面设计标准
flash 影響效能的部分因素
thcz studio · 2004-12-13 · via 博客园 - thcz studio

flash 影響效能的部分因素

整理一下之前Max聽到的有關於flash效能須注意的一些點..大家參考囉...

1. setInterval 用以10的倍數會比較準一些,當然最準還是使用timeline的方式
2. getTimer 很耗CPU效能,儘量少用以免影響效能
3. 在處理Movie clip特效上,簡單的用timeline方式來作,複雜的使用as來做會較佳
4. System.useCodePage 需放在第一個frame,不然不保證正常執行,基本上flash player 運作都還是會把各種編碼轉成unicode來運作
5. 使用Flash player 6r65的方式輸出as1的swf就已經可以有256個暫存器,可以加快效能.
6. 善用Var 定義變數,未定義的變數會變成global變數,用var建立的變數才有機會放入register讓效能加快
7. 變數名稱短可以增快效能
8. 每一個Movie不要超過300個textfield,不然速度會明顯變慢(p.s. 一個10*10的Datagrid就有100個textfield)