SlideShare uma empresa Scribd logo
1 de 34
Why flash 4.5?  S.JeyaSekar MCA ., Mphil Software Engineer Aavanor  Systems Chennai. jeyasekar18@gmail.com
Developing mobile and multiscreen applications Accelerated coding for Flex and ActionScript projects Improved designer/developer workflow Updated platform support and improved performance
Improving load time  Startup module, local cache and storage, Externalizing skins and assets 20% faster for compilation 65% faster for large projects
Loading style sheets at run time Three-step process: Write a CSS file for your application.  Compile the CSS file into a SWF file.  Call the styleManager.loadStyleDeclarations() method in your application.      This method loads the CSS-based SWF file into your application.
Reducing SWF file sizes Larger SWF files take longer to unpack in Flash Player. Using the bytecode optimizer The bytecode optimizer can reduce the size of the application’s SWF file by using bytecode merging and peephole optimization Peephole optimization removes redundant instructions from the bytecode.
In Flash Builder or the mxmlc command-line compiler, you can set the optimize compiler option to true mxmlc -optimize=true MyApp.mxml
Disabling debugging Disabling debugging can make your SWF files smaller. When debugging is enabled, the Flex compilers include line numbers and other navigational information in the SWF file To disable debugging when using the command-line compiler, set the debug compiler option to false. The default value for the compc compiler is true.
Externalizing assets Advantage: reducing the SWF file size is to externalize assets; To load the assets at run time rather than embed them at compile time. You can do this with assets such as images, SWF files, and sound files. Disadvantage: (Embedded assets ) It add to the size of your application and slow down the application initialization process Advantage: Embedded assets load immediately, because they are already part of the Flex SWF file.
Optimizing Performance  Keep some facts in the back of your mind when developing.  Prioritize on what to optimize based on how the user sees it.
ActionScript Tips  Minimize work in constructor, static initializers as they are not JITed.  Use int or uint instead of Number where appropriate (promotion).
If type is known, cast before using it.  Writing to local var is 15x faster than class var.  Minimize access to getter/setter, loop counter, etc.
[object Object]
int main() {  if ((1*2) == (1 << 1)) printf("you certainly can!");  else printf("doesn't work that way");}
bitwise operatorsshift
Use strongly typed code. Make methods final.  Clear and re-use arrays – arr.length = 0;  Cast to int is faster than Math.floor()
[object Object]
When reading elements:Vector is 40% faster than Array on Windows        Vector is 60% faster than Array on Mac  ,[object Object]
Deletion is expensive (about 20x slower then         reading or writing)    It’s cheaper to write NaN, null, or -1 instead of deleting the element
Difference between Vector and ArrayList: 1)Vector is synchronized therefore it is thread safe while ArrayList is not. 2)Vector can increment the size by double while arraylist can increment it by 50%. 3)Vector is legacy class while ArrayList is newly added. 4)Default ArrayList capacity is 0 where as Vector intial  capacity is 10.out vector  and examples
http://www.mikechambers.com/blog/2008/09/24/actioscript-3-vector-array-performance-comparison/
Array < ArrayList < ArrayCollection.  Event Dispatching  Use custom event name in [Bindable] for better performance. (so that you can optimize dispatching in setter).
Item Renderers  ,[object Object],•MXML renderers are slower: Data binding  ,[object Object]
States
Layout
Heavier base class ,[object Object]
Lightweight text, no effects, some style support.
BitmapImage
 Lightweight image.
ContentCache
Cache images so that they don’t flash when scrolling. ,[object Object]
Compile parts of your application into SWFs that are loaded at runtime.
Load each module when you need it.
This will improve perceived startup time ,[object Object]
Loads before application starts, startup time penalized if RSL not in browser cache already

Mais conteúdo relacionado

Mais procurados

Design, Deploy, and Optimize Microsoft SQL Server on AWS
Design, Deploy, and Optimize Microsoft SQL Server on AWSDesign, Deploy, and Optimize Microsoft SQL Server on AWS
Design, Deploy, and Optimize Microsoft SQL Server on AWSAmazon Web Services
 
How To Create instances in AWS EC2 | Edureka
How To Create instances in AWS EC2 | EdurekaHow To Create instances in AWS EC2 | Edureka
How To Create instances in AWS EC2 | EdurekaEdureka!
 
Sap oss 0001656099
Sap oss 0001656099Sap oss 0001656099
Sap oss 0001656099mbmonnappa
 
Introduction to EC2
Introduction to EC2Introduction to EC2
Introduction to EC2Mark Squires
 
Oracle Peoplesoft on AWS: A quick introduction
Oracle Peoplesoft on AWS: A quick introductionOracle Peoplesoft on AWS: A quick introduction
Oracle Peoplesoft on AWS: A quick introductionTom Laszewski
 
AWS Customer Presentation - JovianDATA
AWS Customer Presentation - JovianDATAAWS Customer Presentation - JovianDATA
AWS Customer Presentation - JovianDATAAmazon Web Services
 
Dev & Test on AWS - Journey Through the Cloud
Dev & Test on AWS - Journey Through the CloudDev & Test on AWS - Journey Through the Cloud
Dev & Test on AWS - Journey Through the CloudAmazon Web Services
 
Getting Started with Visual Studio Tools for AI
Getting Started with Visual Studio Tools for AIGetting Started with Visual Studio Tools for AI
Getting Started with Visual Studio Tools for AIMicrosoft Tech Community
 
Leveraging Amazon's Elastic Block Store
Leveraging Amazon's Elastic Block StoreLeveraging Amazon's Elastic Block Store
Leveraging Amazon's Elastic Block StoreRightScale
 
Cloudphrase: AWS basics
Cloudphrase: AWS basicsCloudphrase: AWS basics
Cloudphrase: AWS basicsMichael Pearce
 
AWS Webcast - Getting Started with Amazon Web Services
AWS Webcast - Getting Started with Amazon Web ServicesAWS Webcast - Getting Started with Amazon Web Services
AWS Webcast - Getting Started with Amazon Web ServicesAmazon Web Services
 
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and ScalableAmazon Web Services
 
Usemon; Building The Big Brother Of The Java Virtual Machinve
Usemon; Building The Big Brother Of The Java Virtual MachinveUsemon; Building The Big Brother Of The Java Virtual Machinve
Usemon; Building The Big Brother Of The Java Virtual MachinvePaul René Jørgensen
 
AWS Cost Optimization Strategy
AWS Cost Optimization StrategyAWS Cost Optimization Strategy
AWS Cost Optimization StrategyRobert Sell
 
Oracle COTS Applications on AWS
Oracle COTS Applications on AWSOracle COTS Applications on AWS
Oracle COTS Applications on AWSTom Laszewski
 
AWS Customer Presenatation - SlingMedia uses AWS
AWS Customer Presenatation - SlingMedia uses AWSAWS Customer Presenatation - SlingMedia uses AWS
AWS Customer Presenatation - SlingMedia uses AWSAmazon Web Services
 
Introduction to Batch Processing on AWS
Introduction to Batch Processing on AWSIntroduction to Batch Processing on AWS
Introduction to Batch Processing on AWSAmazon Web Services
 

Mais procurados (20)

Design, Deploy, and Optimize Microsoft SQL Server on AWS
Design, Deploy, and Optimize Microsoft SQL Server on AWSDesign, Deploy, and Optimize Microsoft SQL Server on AWS
Design, Deploy, and Optimize Microsoft SQL Server on AWS
 
How To Create instances in AWS EC2 | Edureka
How To Create instances in AWS EC2 | EdurekaHow To Create instances in AWS EC2 | Edureka
How To Create instances in AWS EC2 | Edureka
 
Sap oss 0001656099
Sap oss 0001656099Sap oss 0001656099
Sap oss 0001656099
 
Introduction to EC2
Introduction to EC2Introduction to EC2
Introduction to EC2
 
Oracle Peoplesoft on AWS: A quick introduction
Oracle Peoplesoft on AWS: A quick introductionOracle Peoplesoft on AWS: A quick introduction
Oracle Peoplesoft on AWS: A quick introduction
 
AWS Customer Presentation - JovianDATA
AWS Customer Presentation - JovianDATAAWS Customer Presentation - JovianDATA
AWS Customer Presentation - JovianDATA
 
Aws elastic compute cloud
Aws   elastic compute cloudAws   elastic compute cloud
Aws elastic compute cloud
 
Dev & Test on AWS - Journey Through the Cloud
Dev & Test on AWS - Journey Through the CloudDev & Test on AWS - Journey Through the Cloud
Dev & Test on AWS - Journey Through the Cloud
 
Getting Started with Visual Studio Tools for AI
Getting Started with Visual Studio Tools for AIGetting Started with Visual Studio Tools for AI
Getting Started with Visual Studio Tools for AI
 
Leveraging Amazon's Elastic Block Store
Leveraging Amazon's Elastic Block StoreLeveraging Amazon's Elastic Block Store
Leveraging Amazon's Elastic Block Store
 
Cloudphrase: AWS basics
Cloudphrase: AWS basicsCloudphrase: AWS basics
Cloudphrase: AWS basics
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
AWS Webcast - Getting Started with Amazon Web Services
AWS Webcast - Getting Started with Amazon Web ServicesAWS Webcast - Getting Started with Amazon Web Services
AWS Webcast - Getting Started with Amazon Web Services
 
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable
 
Usemon; Building The Big Brother Of The Java Virtual Machinve
Usemon; Building The Big Brother Of The Java Virtual MachinveUsemon; Building The Big Brother Of The Java Virtual Machinve
Usemon; Building The Big Brother Of The Java Virtual Machinve
 
Using AML Python SDK
Using AML Python SDKUsing AML Python SDK
Using AML Python SDK
 
AWS Cost Optimization Strategy
AWS Cost Optimization StrategyAWS Cost Optimization Strategy
AWS Cost Optimization Strategy
 
Oracle COTS Applications on AWS
Oracle COTS Applications on AWSOracle COTS Applications on AWS
Oracle COTS Applications on AWS
 
AWS Customer Presenatation - SlingMedia uses AWS
AWS Customer Presenatation - SlingMedia uses AWSAWS Customer Presenatation - SlingMedia uses AWS
AWS Customer Presenatation - SlingMedia uses AWS
 
Introduction to Batch Processing on AWS
Introduction to Batch Processing on AWSIntroduction to Batch Processing on AWS
Introduction to Batch Processing on AWS
 

Destaque

Copyright -arcaute
Copyright -arcauteCopyright -arcaute
Copyright -arcautedarcaute9
 
Devsumi2013Summer EnterpriseTED MikuKinoshita
Devsumi2013Summer EnterpriseTED MikuKinoshitaDevsumi2013Summer EnterpriseTED MikuKinoshita
Devsumi2013Summer EnterpriseTED MikuKinoshitaKinoshita Miku
 
(3)พระไตรปิฏกฉบับประชาชน-พระอภิธรรม
(3)พระไตรปิฏกฉบับประชาชน-พระอภิธรรม(3)พระไตรปิฏกฉบับประชาชน-พระอภิธรรม
(3)พระไตรปิฏกฉบับประชาชน-พระอภิธรรมsarote3243
 
Leaflet swadana uns_2008
Leaflet swadana uns_2008Leaflet swadana uns_2008
Leaflet swadana uns_2008Ria Hardiyati
 
Solving education problems the social way
Solving education problems the social waySolving education problems the social way
Solving education problems the social wayYoomoot
 
Wasc parents presentation.final1046
Wasc parents presentation.final1046Wasc parents presentation.final1046
Wasc parents presentation.final1046Malcolm Harrison
 
Superstitions
SuperstitionsSuperstitions
Superstitionsninesing
 

Destaque (20)

Copyright -arcaute
Copyright -arcauteCopyright -arcaute
Copyright -arcaute
 
Ch05
Ch05Ch05
Ch05
 
Dafis(1)
Dafis(1)Dafis(1)
Dafis(1)
 
Chapter 12 Powerpoint
Chapter 12 PowerpointChapter 12 Powerpoint
Chapter 12 Powerpoint
 
Lecture 10 nuclear
Lecture 10 nuclearLecture 10 nuclear
Lecture 10 nuclear
 
Lecture 11 biodiversity
Lecture 11 biodiversityLecture 11 biodiversity
Lecture 11 biodiversity
 
Chapter 22
Chapter 22Chapter 22
Chapter 22
 
Chapter 19
Chapter 19Chapter 19
Chapter 19
 
Devsumi2013Summer EnterpriseTED MikuKinoshita
Devsumi2013Summer EnterpriseTED MikuKinoshitaDevsumi2013Summer EnterpriseTED MikuKinoshita
Devsumi2013Summer EnterpriseTED MikuKinoshita
 
Alto k10 brochure
Alto k10 brochureAlto k10 brochure
Alto k10 brochure
 
Aermap userguide under-revision
Aermap userguide under-revisionAermap userguide under-revision
Aermap userguide under-revision
 
(3)พระไตรปิฏกฉบับประชาชน-พระอภิธรรม
(3)พระไตรปิฏกฉบับประชาชน-พระอภิธรรม(3)พระไตรปิฏกฉบับประชาชน-พระอภิธรรม
(3)พระไตรปิฏกฉบับประชาชน-พระอภิธรรม
 
Lecture 7 populations
Lecture 7 populationsLecture 7 populations
Lecture 7 populations
 
Leaflet swadana uns_2008
Leaflet swadana uns_2008Leaflet swadana uns_2008
Leaflet swadana uns_2008
 
Lecture 5 interactions
Lecture 5 interactionsLecture 5 interactions
Lecture 5 interactions
 
Chapter 29
Chapter 29Chapter 29
Chapter 29
 
Solving education problems the social way
Solving education problems the social waySolving education problems the social way
Solving education problems the social way
 
Wasc parents presentation.final1046
Wasc parents presentation.final1046Wasc parents presentation.final1046
Wasc parents presentation.final1046
 
Superstitions
SuperstitionsSuperstitions
Superstitions
 
Unit 2 review_session
Unit 2 review_sessionUnit 2 review_session
Unit 2 review_session
 

Semelhante a Flex 4.5 jeyasekar

Asp.net performance
Asp.net performanceAsp.net performance
Asp.net performanceAbhishek Sur
 
Scaling Web Apps P Falcone
Scaling Web Apps P FalconeScaling Web Apps P Falcone
Scaling Web Apps P Falconejedt
 
Andy West – Director of Technology Architecture, Pearson
Andy West – Director of Technology Architecture, PearsonAndy West – Director of Technology Architecture, Pearson
Andy West – Director of Technology Architecture, PearsonRightScale
 
Adopting AnswerModules ModuleSuite
Adopting AnswerModules ModuleSuiteAdopting AnswerModules ModuleSuite
Adopting AnswerModules ModuleSuiteAnswerModules
 
Web Speed And Scalability
Web Speed And ScalabilityWeb Speed And Scalability
Web Speed And ScalabilityJason Ragsdale
 
Best practice adoption (and lack there of)
Best practice adoption (and lack there of)Best practice adoption (and lack there of)
Best practice adoption (and lack there of)John Pape
 
Silverlight Development & The Model-View-ViewModel Pattern
Silverlight Development & The Model-View-ViewModel PatternSilverlight Development & The Model-View-ViewModel Pattern
Silverlight Development & The Model-View-ViewModel PatternDerek Novavi
 
Whats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteWhats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteMicro Focus
 
RAHUL_Updated( (2)
RAHUL_Updated( (2)RAHUL_Updated( (2)
RAHUL_Updated( (2)Rahul Singh
 
Cast Iron Cloud Integration Best Practices
Cast Iron Cloud Integration Best PracticesCast Iron Cloud Integration Best Practices
Cast Iron Cloud Integration Best PracticesSarath Ambadas
 
Onion Architecture with S#arp
Onion Architecture with S#arpOnion Architecture with S#arp
Onion Architecture with S#arpGary Pedretti
 
Divide and Conquer – Microservices with Node.js
Divide and Conquer – Microservices with Node.jsDivide and Conquer – Microservices with Node.js
Divide and Conquer – Microservices with Node.jsSebastian Springer
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Mack Hardy
 
Salesforce Meetup 18 April 2015 - Apex Trigger & Scheduler Framworks
Salesforce Meetup 18 April 2015 - Apex Trigger & Scheduler FramworksSalesforce Meetup 18 April 2015 - Apex Trigger & Scheduler Framworks
Salesforce Meetup 18 April 2015 - Apex Trigger & Scheduler FramworksSumitkumar Shingavi
 
Datasheet was pluginforrd
Datasheet was pluginforrdDatasheet was pluginforrd
Datasheet was pluginforrdMidVision
 
Symfony - A Bird's Eye View
Symfony - A Bird's Eye ViewSymfony - A Bird's Eye View
Symfony - A Bird's Eye Viewcsushil
 
Overview of VS2010 and .NET 4.0
Overview of VS2010 and .NET 4.0Overview of VS2010 and .NET 4.0
Overview of VS2010 and .NET 4.0Bruce Johnson
 
What's New in .Net 4.5
What's New in .Net 4.5What's New in .Net 4.5
What's New in .Net 4.5Malam Team
 

Semelhante a Flex 4.5 jeyasekar (20)

Asp.net performance
Asp.net performanceAsp.net performance
Asp.net performance
 
Scaling Web Apps P Falcone
Scaling Web Apps P FalconeScaling Web Apps P Falcone
Scaling Web Apps P Falcone
 
Andy West – Director of Technology Architecture, Pearson
Andy West – Director of Technology Architecture, PearsonAndy West – Director of Technology Architecture, Pearson
Andy West – Director of Technology Architecture, Pearson
 
Adopting AnswerModules ModuleSuite
Adopting AnswerModules ModuleSuiteAdopting AnswerModules ModuleSuite
Adopting AnswerModules ModuleSuite
 
Web Speed And Scalability
Web Speed And ScalabilityWeb Speed And Scalability
Web Speed And Scalability
 
Adobe Flex4
Adobe Flex4 Adobe Flex4
Adobe Flex4
 
Best practice adoption (and lack there of)
Best practice adoption (and lack there of)Best practice adoption (and lack there of)
Best practice adoption (and lack there of)
 
Silverlight Development & The Model-View-ViewModel Pattern
Silverlight Development & The Model-View-ViewModel PatternSilverlight Development & The Model-View-ViewModel Pattern
Silverlight Development & The Model-View-ViewModel Pattern
 
Whats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteWhats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product Suite
 
RAHUL_Updated( (2)
RAHUL_Updated( (2)RAHUL_Updated( (2)
RAHUL_Updated( (2)
 
Cast Iron Cloud Integration Best Practices
Cast Iron Cloud Integration Best PracticesCast Iron Cloud Integration Best Practices
Cast Iron Cloud Integration Best Practices
 
Onion Architecture with S#arp
Onion Architecture with S#arpOnion Architecture with S#arp
Onion Architecture with S#arp
 
Divide and Conquer – Microservices with Node.js
Divide and Conquer – Microservices with Node.jsDivide and Conquer – Microservices with Node.js
Divide and Conquer – Microservices with Node.js
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
 
.net Framework
.net Framework.net Framework
.net Framework
 
Salesforce Meetup 18 April 2015 - Apex Trigger & Scheduler Framworks
Salesforce Meetup 18 April 2015 - Apex Trigger & Scheduler FramworksSalesforce Meetup 18 April 2015 - Apex Trigger & Scheduler Framworks
Salesforce Meetup 18 April 2015 - Apex Trigger & Scheduler Framworks
 
Datasheet was pluginforrd
Datasheet was pluginforrdDatasheet was pluginforrd
Datasheet was pluginforrd
 
Symfony - A Bird's Eye View
Symfony - A Bird's Eye ViewSymfony - A Bird's Eye View
Symfony - A Bird's Eye View
 
Overview of VS2010 and .NET 4.0
Overview of VS2010 and .NET 4.0Overview of VS2010 and .NET 4.0
Overview of VS2010 and .NET 4.0
 
What's New in .Net 4.5
What's New in .Net 4.5What's New in .Net 4.5
What's New in .Net 4.5
 

Último

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

Último (20)

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 

Flex 4.5 jeyasekar

  • 1. Why flash 4.5? S.JeyaSekar MCA ., Mphil Software Engineer Aavanor Systems Chennai. jeyasekar18@gmail.com
  • 2. Developing mobile and multiscreen applications Accelerated coding for Flex and ActionScript projects Improved designer/developer workflow Updated platform support and improved performance
  • 3. Improving load time Startup module, local cache and storage, Externalizing skins and assets 20% faster for compilation 65% faster for large projects
  • 4. Loading style sheets at run time Three-step process: Write a CSS file for your application. Compile the CSS file into a SWF file. Call the styleManager.loadStyleDeclarations() method in your application. This method loads the CSS-based SWF file into your application.
  • 5. Reducing SWF file sizes Larger SWF files take longer to unpack in Flash Player. Using the bytecode optimizer The bytecode optimizer can reduce the size of the application’s SWF file by using bytecode merging and peephole optimization Peephole optimization removes redundant instructions from the bytecode.
  • 6. In Flash Builder or the mxmlc command-line compiler, you can set the optimize compiler option to true mxmlc -optimize=true MyApp.mxml
  • 7. Disabling debugging Disabling debugging can make your SWF files smaller. When debugging is enabled, the Flex compilers include line numbers and other navigational information in the SWF file To disable debugging when using the command-line compiler, set the debug compiler option to false. The default value for the compc compiler is true.
  • 8. Externalizing assets Advantage: reducing the SWF file size is to externalize assets; To load the assets at run time rather than embed them at compile time. You can do this with assets such as images, SWF files, and sound files. Disadvantage: (Embedded assets ) It add to the size of your application and slow down the application initialization process Advantage: Embedded assets load immediately, because they are already part of the Flex SWF file.
  • 9. Optimizing Performance Keep some facts in the back of your mind when developing. Prioritize on what to optimize based on how the user sees it.
  • 10. ActionScript Tips Minimize work in constructor, static initializers as they are not JITed. Use int or uint instead of Number where appropriate (promotion).
  • 11. If type is known, cast before using it. Writing to local var is 15x faster than class var. Minimize access to getter/setter, loop counter, etc.
  • 12.
  • 13. int main() {  if ((1*2) == (1 << 1)) printf("you certainly can!");  else printf("doesn't work that way");}
  • 15. Use strongly typed code. Make methods final. Clear and re-use arrays – arr.length = 0; Cast to int is faster than Math.floor()
  • 16.
  • 17.
  • 18. Deletion is expensive (about 20x slower then reading or writing) It’s cheaper to write NaN, null, or -1 instead of deleting the element
  • 19. Difference between Vector and ArrayList: 1)Vector is synchronized therefore it is thread safe while ArrayList is not. 2)Vector can increment the size by double while arraylist can increment it by 50%. 3)Vector is legacy class while ArrayList is newly added. 4)Default ArrayList capacity is 0 where as Vector intial capacity is 10.out vector and examples
  • 21. Array < ArrayList < ArrayCollection. Event Dispatching Use custom event name in [Bindable] for better performance. (so that you can optimize dispatching in setter).
  • 22.
  • 25.
  • 26. Lightweight text, no effects, some style support.
  • 30.
  • 31. Compile parts of your application into SWFs that are loaded at runtime.
  • 32. Load each module when you need it.
  • 33.
  • 34. Loads before application starts, startup time penalized if RSL not in browser cache already
  • 35.
  • 36. Code faster Code generation Use QuickAssist/Fix to rename and manipulate variables, generate getters/setters and event handlers, organize imports, and more. Use the override/implements feature to define methods from a superclass or interface.
  • 37. Refactoring and ASDoc support Quickly navigate through code or restructuring by renaming all references to a class, method, or variable. Display comments in MXML and ActionScript editors using ASDoc.
  • 38. Code templates Use over 100 new best-practice code templates (aka snippets) for ActionScript, MXML, and CSS. Review and insert templates using code assist. Create custom templates and import or export them for sharing within teams.
  • 39.
  • 40. More productivity, more power Accelerate coding and testing of Flex and ActionScript projects using extensive new and improved tooling features.
  • 41. Large project development Improved large-application performance See up to a 65% reduction for refactoring operations on projects with a large number of dependent libraries, a significant reduction in memory used when profiling complex applications, and improved profiler responsiveness.
  • 42. Command-line build Use the command-line build capability to automate your build process.
  • 43. Expanded platform support Updated platform support Take advantage of new platform support for Eclipse™ 3.6 (Helios) and the standard Eclipse for Java™ distribution; the Cocoa version of Eclipse on Mac OS X; and Adobe Flash Player 10.1, Adobe AIR 2.5, and Flex SDK 4.5.
  • 44. Interactive data visualization Create data dashboards and interactive data analysis by dragging and dropping a chart type and linking it to a data source. Use the powerful Advanced Datagrid to enable users to explore complex data.
  • 45. Rich expressive experiences Create more intuitive, engaging applications to help people understand and use data to support key business activities, leading to increased levels of productivity and effectiveness.