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

推荐订阅源

N
Netflix TechBlog - Medium
V
Vulnerabilities – Threatpost
Google Online Security Blog
Google Online Security Blog
Hugging Face - Blog
Hugging Face - Blog
L
LINUX DO - 热门话题
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
D
Docker
C
Cyber Attacks, Cyber Crime and Cyber Security
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
T
Tenable Blog
P
Privacy International News Feed
Google DeepMind News
Google DeepMind News
小众软件
小众软件
Cisco Talos Blog
Cisco Talos Blog
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
A
Arctic Wolf
C
Cybersecurity and Infrastructure Security Agency CISA
C
Cisco Blogs
T
Threat Research - Cisco Blogs
NISL@THU
NISL@THU
The Hacker News
The Hacker News
Project Zero
Project Zero
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Threatpost
V
Visual Studio Blog
The GitHub Blog
The GitHub Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
Jina AI
Jina AI
Cyberwarzone
Cyberwarzone
The Register - Security
The Register - Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
Vercel News
Vercel News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
MongoDB | Blog
MongoDB | Blog
U
Unit 42
Scott Helme
Scott Helme
A
About on SuperTechFans
WordPress大学
WordPress大学
F
Fortinet All Blogs
大猫的无限游戏
大猫的无限游戏
G
GRAHAM CLULEY
Latest news
Latest news
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Schneier on Security

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