SlideShare a Scribd company logo
Submit Search
Upload
Login
Signup
AS3 Better Practices
Report
Eddie Kao
Follow
Manager at Kaos' Digital Network, Ltd.
Jul. 24, 2010
•
0 likes
•
1,151 views
1
of
50
AS3 Better Practices
Jul. 24, 2010
•
0 likes
•
1,151 views
Report
Technology
Eddie Kao
Follow
Manager at Kaos' Digital Network, Ltd.
Recommended
Trick or Tip - Symfony Edition
Dionyshs Tsoumas
616 views
•
15 slides
What js? Its environment
Lucio Martinez
147 views
•
51 slides
Amazon::Dash::Button
ℕicolas ℝ.
396 views
•
21 slides
Linux: Beyond ls and cd
jacko91
580 views
•
39 slides
Coffeescript: An Opinionated Introduction
Joe Fleming
2.3K views
•
36 slides
Automatiser le setup de vos projets avec Eclipse Oomph
Jérémie Bresson
446 views
•
31 slides
More Related Content
Viewers also liked
CoffeeScript
Eddie Kao
1.2K views
•
81 slides
Flash Ecosystem and Open Source
Eddie Kao
444 views
•
127 slides
Code Reading
Eddie Kao
636 views
•
86 slides
Forumwarz and RJS: A Love/Hate Affair
guest06ed72
607 views
•
54 slides
測試
Eddie Kao
722 views
•
54 slides
Agenda 6è b setmana 02-gener-curs 16-17
6sise
903 views
•
7 slides
Viewers also liked
(6)
CoffeeScript
Eddie Kao
•
1.2K views
Flash Ecosystem and Open Source
Eddie Kao
•
444 views
Code Reading
Eddie Kao
•
636 views
Forumwarz and RJS: A Love/Hate Affair
guest06ed72
•
607 views
測試
Eddie Kao
•
722 views
Agenda 6è b setmana 02-gener-curs 16-17
6sise
•
903 views
Similar to AS3 Better Practices
Raising the Bar on Robotics Code Quality
Thomas Moulard
1.2K views
•
18 slides
Introduction To JSFL
George Profenza
919 views
•
43 slides
Sql Injections With Real Life Scenarious
Francis Alexander
582 views
•
30 slides
Golang Performance : microbenchmarks, profilers, and a war story
Aerospike
10.3K views
•
36 slides
Flash Security, OWASP Chennai
lavakumark
1.2K views
•
29 slides
Good practices for PrestaShop code security and optimization
PrestaShop
9K views
•
36 slides
Similar to AS3 Better Practices
(20)
Raising the Bar on Robotics Code Quality
Thomas Moulard
•
1.2K views
Introduction To JSFL
George Profenza
•
919 views
Sql Injections With Real Life Scenarious
Francis Alexander
•
582 views
Golang Performance : microbenchmarks, profilers, and a war story
Aerospike
•
10.3K views
Flash Security, OWASP Chennai
lavakumark
•
1.2K views
Good practices for PrestaShop code security and optimization
PrestaShop
•
9K views
Teflon - Anti Stick for the browser attack surface
Saumil Shah
•
2.2K views
NYPHP March 2009 Presentation
brian_dailey
•
905 views
How to make a large C++-code base manageable
corehard_by
•
639 views
stackconf 2021 | Fuzzing: Finding Your Own Bugs and 0days!
NETWAYS
•
43 views
A Life of breakpoint
Hajime Morrita
•
1.5K views
Porting your favourite cmdline tool to Android
Vlatko Kosturjak
•
1.3K views
Fuzzing: Finding Your Own Bugs and 0days! 2.0
Rodolpho Concurde
•
97 views
Learn flask in 90mins
Larry Cai
•
2.4K views
Level up your front-end skills- going beyond cold fusion’s ui tags
ColdFusionConference
•
1K views
Gdc09 Minigames
Susan Gold
•
492 views
Even Faster Web Sites at The Ajax Experience
Steve Souders
•
1.2K views
[h2hc] Generic exploitation of invalid memory writes
Moabi.com
•
1K views
[CCC-28c3] Post Memory Corruption Memory Analysis
Moabi.com
•
2.5K views
Porting C++ apps to FLASCC
Pavel Nakaznenko
•
7.2K views
More from Eddie Kao
Rails girls in Taipei
Eddie Kao
897 views
•
13 slides
Rails Girls in Taipei
Eddie Kao
2.6K views
•
54 slides
Let's Learn Ruby - Basic
Eddie Kao
3.2K views
•
165 slides
iOS app development and Open Source
Eddie Kao
1.2K views
•
38 slides
Vim
Eddie Kao
1.7K views
•
99 slides
from Ruby to Objective-C
Eddie Kao
1.4K views
•
95 slides
More from Eddie Kao
(20)
Rails girls in Taipei
Eddie Kao
•
897 views
Rails Girls in Taipei
Eddie Kao
•
2.6K views
Let's Learn Ruby - Basic
Eddie Kao
•
3.2K views
iOS app development and Open Source
Eddie Kao
•
1.2K views
Vim
Eddie Kao
•
1.7K views
from Ruby to Objective-C
Eddie Kao
•
1.4K views
CreateJS - from Flash to Javascript
Eddie Kao
•
2.3K views
May the source_be_with_you
Eddie Kao
•
614 views
Why I use Vim
Eddie Kao
•
680 views
There is something about Event
Eddie Kao
•
573 views
Happy Programming with CoffeeScript
Eddie Kao
•
11K views
Ruby without rails
Eddie Kao
•
1.2K views
CoffeeScript-Ruby-Tuesday
Eddie Kao
•
1.6K views
API Design
Eddie Kao
•
2.8K views
3rd AS Study Group
Eddie Kao
•
393 views
iOS Game Development with Cocos2d
Eddie Kao
•
1.8K views
AS3讀書會(行前準備)
Eddie Kao
•
809 views
AMF
Eddie Kao
•
1.3K views
Misunderstanding about flash
Eddie Kao
•
1K views
Refactoring in AS3
Eddie Kao
•
978 views
Recently uploaded
How to use the Cataloguing Code Ethics at your day job : a hands-on workshop ...
CILIP MDG
34 views
•
13 slides
Scaling out with WordPress
Konstantin Kovshenin
54 views
•
55 slides
Unleashing the Power of Modern Carpooling Apps, Inspired by BlaBlaCar
Archie Cadell
34 views
•
14 slides
Swiss Re Reinsurance Solutions - Claims Automated Rules Engine – Insurer Inno...
The Digital Insurer
19 views
•
13 slides
Mitigating Third-Party Risks: Best Practices for CISOs in Ensuring Robust Sec...
TrustArc
42 views
•
21 slides
Metadata & Discovery Group Conference 2023 - Day 1 Programme
CILIP MDG
24 views
•
9 slides
Recently uploaded
(20)
How to use the Cataloguing Code Ethics at your day job : a hands-on workshop ...
CILIP MDG
•
34 views
Scaling out with WordPress
Konstantin Kovshenin
•
54 views
Unleashing the Power of Modern Carpooling Apps, Inspired by BlaBlaCar
Archie Cadell
•
34 views
Swiss Re Reinsurance Solutions - Claims Automated Rules Engine – Insurer Inno...
The Digital Insurer
•
19 views
Mitigating Third-Party Risks: Best Practices for CISOs in Ensuring Robust Sec...
TrustArc
•
42 views
Metadata & Discovery Group Conference 2023 - Day 1 Programme
CILIP MDG
•
24 views
h2 meet pdf test.pdf
JohnLee971654
•
52 views
Roottoo Innovation V24_CP.pdf
roottooinnovation
•
25 views
Enterprise Application and Data Protection on AWS with Amazon FSx for NetApp ...
LilyJang3
•
18 views
TEKART CON 2023
AdedoyinSamuel1
•
24 views
Metadata & Discovery Group Conference 2023 - Day 2
CILIP MDG
•
14 views
Accelerating Data Science through Feature Platform, Transformers, and GenAI
FeatureByte
•
139 views
Data Formats: Reading and writing JSON – XML - YAML
CSUC - Consorci de Serveis Universitaris de Catalunya
•
54 views
The Ultimate Administrator’s Guide to HCL Nomad Web
panagenda
•
51 views
Advancing Equity and Inclusion for Deaf Students in Higher Education
3Play Media
•
143 views
Safe Community Call #12.pdf
LornyPfeifer
•
15 views
Unleashing Innovation: IoT Project with MicroPython
Vubon Roy
•
25 views
Google Cloud Study Jams Info Session
GDSCPCCE
•
29 views
Getting your enterprise ready for Microsoft 365 Copilot
Vignesh Ganesan I Microsoft MVP
•
89 views
Connecting Africa.docx
Eric Annan
•
13 views
AS3 Better Practices
1.
AS3 Better Practices
2.
http://blog.eddie.com.tw aquarianboy@ptt eddie@adcube.com.tw aquarianboy@plurk eddiekao@facebook
4.
!
5.
(F1) Flash/ActionScript
RTFM, please :)
7.
Google
...
8.
flash
9.
Designers:
Programmers: - logo cup.holder = true; - cup.render_texture = "blue"; - ...( ) cup.render_logo = new Puppy();
10.
fla
12.
Flash
Flash ! Flash XD!
13.
:)
15.
!
16.
? !
17.
Better Practices
18.
!
19.
-http debugger :
httpfox
20.
SVN/Git/Dropbox
21.
FLA
( )
22.
Preload
? http://www.prettyloaded.com/
23.
1KB
!
24.
Flash IDE
25.
Fla (
Flash )
26.
JPEG Quality
50~60 OK!
27.
function/method
28.
Any fool can
write code that a computer can understand. Good programmers write code that humans can understand.
29.
? var
:Tank = new Tank(); . (); !
30.
frame-based looping
31.
Switch
if/else
32.
listener
!( )
33.
Timer
interval!
34.
(
)
35.
var my_array:Array =
[1, 2, 3, 4, 5]; // general way for (var i:int; i<my_array.length; i++) { ..... } // better way var len_of_array:int = my_array.length; for (var i:int; i<len_of_array; i++) { ..... }
36.
uint
int
37.
int
number
38.
function preloader, xml loader..etc
39.
CPU
40.
getter & setter
41.
null It is better
to delete variables than to set them to null.
42.
trace() (
Omit Trace Actions)
43.
(inheritance) method call
44.
A.swf
B.swf B.swf unload B.swf delete foo.bar.CustomClass
45.
Sprite
MovieClip
46.
DON’T import flash.display.*
47.
Flash
user agent user_agent =~ /^(Adobe|Shockwave) Flash/
49.
Refactoring...? That’s another story
:)
50.
Thank You!