Soumettre la recherche
Mettre en ligne
AS3 Better Practices
•
5 j'aime
•
1,151 vues
Eddie Kao
Suivre
Technologie
Affichage du diaporama
Signaler
Partager
Affichage du diaporama
Signaler
Partager
1 sur 50
Recommandé
Trick or Tip - Symfony Edition
Trick or Tip - Symfony Edition
Dionyshs Tsoumas
What js? Its environment
What js? Its environment
Lucio Martinez
Amazon::Dash::Button
Amazon::Dash::Button
ℕicolas ℝ.
Linux: Beyond ls and cd
Linux: Beyond ls and cd
jacko91
Coffeescript: An Opinionated Introduction
Coffeescript: An Opinionated Introduction
Joe Fleming
Automatiser le setup de vos projets avec Eclipse Oomph
Automatiser le setup de vos projets avec Eclipse Oomph
Jérémie Bresson
(WHAT) To Do or Not To Do: Staying Up To Date with PHP Versions
(WHAT) To Do or Not To Do: Staying Up To Date with PHP Versions
Abu Ashraf Masnun
Your Library Sucks, and why you should use it.
Your Library Sucks, and why you should use it.
Peter Higgins
Recommandé
Trick or Tip - Symfony Edition
Trick or Tip - Symfony Edition
Dionyshs Tsoumas
What js? Its environment
What js? Its environment
Lucio Martinez
Amazon::Dash::Button
Amazon::Dash::Button
ℕicolas ℝ.
Linux: Beyond ls and cd
Linux: Beyond ls and cd
jacko91
Coffeescript: An Opinionated Introduction
Coffeescript: An Opinionated Introduction
Joe Fleming
Automatiser le setup de vos projets avec Eclipse Oomph
Automatiser le setup de vos projets avec Eclipse Oomph
Jérémie Bresson
(WHAT) To Do or Not To Do: Staying Up To Date with PHP Versions
(WHAT) To Do or Not To Do: Staying Up To Date with PHP Versions
Abu Ashraf Masnun
Your Library Sucks, and why you should use it.
Your Library Sucks, and why you should use it.
Peter Higgins
CoffeeScript
CoffeeScript
Eddie Kao
Flash Ecosystem and Open Source
Flash Ecosystem and Open Source
Eddie Kao
Code Reading
Code Reading
Eddie Kao
Forumwarz and RJS: A Love/Hate Affair
Forumwarz and RJS: A Love/Hate Affair
guest06ed72
測試
測試
Eddie Kao
Agenda 6è b setmana 02-gener-curs 16-17
Agenda 6è b setmana 02-gener-curs 16-17
6sise
Raising the Bar on Robotics Code Quality
Raising the Bar on Robotics Code Quality
Thomas Moulard
Introduction To JSFL
Introduction To JSFL
George Profenza
Sql Injections With Real Life Scenarious
Sql Injections With Real Life Scenarious
Francis Alexander
Golang Performance : microbenchmarks, profilers, and a war story
Golang Performance : microbenchmarks, profilers, and a war story
Aerospike
Flash Security, OWASP Chennai
Flash Security, OWASP Chennai
lavakumark
Good practices for PrestaShop code security and optimization
Good practices for PrestaShop code security and optimization
PrestaShop
Teflon - Anti Stick for the browser attack surface
Teflon - Anti Stick for the browser attack surface
Saumil Shah
NYPHP March 2009 Presentation
NYPHP March 2009 Presentation
brian_dailey
How to make a large C++-code base manageable
How to make a large C++-code base manageable
corehard_by
stackconf 2021 | Fuzzing: Finding Your Own Bugs and 0days!
stackconf 2021 | Fuzzing: Finding Your Own Bugs and 0days!
NETWAYS
A Life of breakpoint
A Life of breakpoint
Hajime Morrita
Porting your favourite cmdline tool to Android
Porting your favourite cmdline tool to Android
Vlatko Kosturjak
Fuzzing: Finding Your Own Bugs and 0days! 2.0
Fuzzing: Finding Your Own Bugs and 0days! 2.0
Rodolpho Concurde
Learn flask in 90mins
Learn flask in 90mins
Larry Cai
Level up your front-end skills- going beyond cold fusion’s ui tags
Level up your front-end skills- going beyond cold fusion’s ui tags
ColdFusionConference
Gdc09 Minigames
Gdc09 Minigames
Susan Gold
Contenu connexe
En vedette
CoffeeScript
CoffeeScript
Eddie Kao
Flash Ecosystem and Open Source
Flash Ecosystem and Open Source
Eddie Kao
Code Reading
Code Reading
Eddie Kao
Forumwarz and RJS: A Love/Hate Affair
Forumwarz and RJS: A Love/Hate Affair
guest06ed72
測試
測試
Eddie Kao
Agenda 6è b setmana 02-gener-curs 16-17
Agenda 6è b setmana 02-gener-curs 16-17
6sise
En vedette
(6)
CoffeeScript
CoffeeScript
Flash Ecosystem and Open Source
Flash Ecosystem and Open Source
Code Reading
Code Reading
Forumwarz and RJS: A Love/Hate Affair
Forumwarz and RJS: A Love/Hate Affair
測試
測試
Agenda 6è b setmana 02-gener-curs 16-17
Agenda 6è b setmana 02-gener-curs 16-17
Similaire à AS3 Better Practices
Raising the Bar on Robotics Code Quality
Raising the Bar on Robotics Code Quality
Thomas Moulard
Introduction To JSFL
Introduction To JSFL
George Profenza
Sql Injections With Real Life Scenarious
Sql Injections With Real Life Scenarious
Francis Alexander
Golang Performance : microbenchmarks, profilers, and a war story
Golang Performance : microbenchmarks, profilers, and a war story
Aerospike
Flash Security, OWASP Chennai
Flash Security, OWASP Chennai
lavakumark
Good practices for PrestaShop code security and optimization
Good practices for PrestaShop code security and optimization
PrestaShop
Teflon - Anti Stick for the browser attack surface
Teflon - Anti Stick for the browser attack surface
Saumil Shah
NYPHP March 2009 Presentation
NYPHP March 2009 Presentation
brian_dailey
How to make a large C++-code base manageable
How to make a large C++-code base manageable
corehard_by
stackconf 2021 | Fuzzing: Finding Your Own Bugs and 0days!
stackconf 2021 | Fuzzing: Finding Your Own Bugs and 0days!
NETWAYS
A Life of breakpoint
A Life of breakpoint
Hajime Morrita
Porting your favourite cmdline tool to Android
Porting your favourite cmdline tool to Android
Vlatko Kosturjak
Fuzzing: Finding Your Own Bugs and 0days! 2.0
Fuzzing: Finding Your Own Bugs and 0days! 2.0
Rodolpho Concurde
Learn flask in 90mins
Learn flask in 90mins
Larry Cai
Level up your front-end skills- going beyond cold fusion’s ui tags
Level up your front-end skills- going beyond cold fusion’s ui tags
ColdFusionConference
Gdc09 Minigames
Gdc09 Minigames
Susan Gold
Even Faster Web Sites at The Ajax Experience
Even Faster Web Sites at The Ajax Experience
Steve Souders
[h2hc] Generic exploitation of invalid memory writes
[h2hc] Generic exploitation of invalid memory writes
Moabi.com
[CCC-28c3] Post Memory Corruption Memory Analysis
[CCC-28c3] Post Memory Corruption Memory Analysis
Moabi.com
Porting C++ apps to FLASCC
Porting C++ apps to FLASCC
Pavel Nakaznenko
Similaire à AS3 Better Practices
(20)
Raising the Bar on Robotics Code Quality
Raising the Bar on Robotics Code Quality
Introduction To JSFL
Introduction To JSFL
Sql Injections With Real Life Scenarious
Sql Injections With Real Life Scenarious
Golang Performance : microbenchmarks, profilers, and a war story
Golang Performance : microbenchmarks, profilers, and a war story
Flash Security, OWASP Chennai
Flash Security, OWASP Chennai
Good practices for PrestaShop code security and optimization
Good practices for PrestaShop code security and optimization
Teflon - Anti Stick for the browser attack surface
Teflon - Anti Stick for the browser attack surface
NYPHP March 2009 Presentation
NYPHP March 2009 Presentation
How to make a large C++-code base manageable
How to make a large C++-code base manageable
stackconf 2021 | Fuzzing: Finding Your Own Bugs and 0days!
stackconf 2021 | Fuzzing: Finding Your Own Bugs and 0days!
A Life of breakpoint
A Life of breakpoint
Porting your favourite cmdline tool to Android
Porting your favourite cmdline tool to Android
Fuzzing: Finding Your Own Bugs and 0days! 2.0
Fuzzing: Finding Your Own Bugs and 0days! 2.0
Learn flask in 90mins
Learn flask in 90mins
Level up your front-end skills- going beyond cold fusion’s ui tags
Level up your front-end skills- going beyond cold fusion’s ui tags
Gdc09 Minigames
Gdc09 Minigames
Even Faster Web Sites at The Ajax Experience
Even Faster Web Sites at The Ajax Experience
[h2hc] Generic exploitation of invalid memory writes
[h2hc] Generic exploitation of invalid memory writes
[CCC-28c3] Post Memory Corruption Memory Analysis
[CCC-28c3] Post Memory Corruption Memory Analysis
Porting C++ apps to FLASCC
Porting C++ apps to FLASCC
Plus de Eddie Kao
Rails girls in Taipei
Rails girls in Taipei
Eddie Kao
Rails Girls in Taipei
Rails Girls in Taipei
Eddie Kao
Let's Learn Ruby - Basic
Let's Learn Ruby - Basic
Eddie Kao
iOS app development and Open Source
iOS app development and Open Source
Eddie Kao
Vim
Vim
Eddie Kao
from Ruby to Objective-C
from Ruby to Objective-C
Eddie Kao
CreateJS - from Flash to Javascript
CreateJS - from Flash to Javascript
Eddie Kao
May the source_be_with_you
May the source_be_with_you
Eddie Kao
Why I use Vim
Why I use Vim
Eddie Kao
There is something about Event
There is something about Event
Eddie Kao
Happy Programming with CoffeeScript
Happy Programming with CoffeeScript
Eddie Kao
Ruby without rails
Ruby without rails
Eddie Kao
CoffeeScript-Ruby-Tuesday
CoffeeScript-Ruby-Tuesday
Eddie Kao
API Design
API Design
Eddie Kao
3rd AS Study Group
3rd AS Study Group
Eddie Kao
iOS Game Development with Cocos2d
iOS Game Development with Cocos2d
Eddie Kao
AS3讀書會(行前準備)
AS3讀書會(行前準備)
Eddie Kao
AMF
AMF
Eddie Kao
Misunderstanding about flash
Misunderstanding about flash
Eddie Kao
Refactoring in AS3
Refactoring in AS3
Eddie Kao
Plus de Eddie Kao
(20)
Rails girls in Taipei
Rails girls in Taipei
Rails Girls in Taipei
Rails Girls in Taipei
Let's Learn Ruby - Basic
Let's Learn Ruby - Basic
iOS app development and Open Source
iOS app development and Open Source
Vim
Vim
from Ruby to Objective-C
from Ruby to Objective-C
CreateJS - from Flash to Javascript
CreateJS - from Flash to Javascript
May the source_be_with_you
May the source_be_with_you
Why I use Vim
Why I use Vim
There is something about Event
There is something about Event
Happy Programming with CoffeeScript
Happy Programming with CoffeeScript
Ruby without rails
Ruby without rails
CoffeeScript-Ruby-Tuesday
CoffeeScript-Ruby-Tuesday
API Design
API Design
3rd AS Study Group
3rd AS Study Group
iOS Game Development with Cocos2d
iOS Game Development with Cocos2d
AS3讀書會(行前準備)
AS3讀書會(行前準備)
AMF
AMF
Misunderstanding about flash
Misunderstanding about flash
Refactoring in AS3
Refactoring in AS3
Dernier
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Enterprise Knowledge
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
lior mazor
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
naman860154
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Antenna Manufacturer Coco
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
hans926745
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
ChristopherTHyatt
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
Dernier
(20)
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Evaluating the top large language models.pdf
Evaluating the top large language models.pdf
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
AS3 Better Practices
1.
AS3 Better Practices
2.
http://blog.eddie.com.tw aquarianboy@ptt eddie@adcube.com.tw aquarianboy@plurk eddiekao@facebook
3.
4.
!
5.
(F1) Flash/ActionScript
RTFM, please :)
6.
7.
Google
...
8.
flash
9.
Designers:
Programmers: - logo cup.holder = true; - cup.render_texture = "blue"; - ...( ) cup.render_logo = new Puppy();
10.
fla
11.
12.
Flash
Flash ! Flash XD!
13.
:)
14.
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/
48.
49.
Refactoring...? That’s another story
:)
50.
Thank You!