SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

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
 

What's hot (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
 

Viewers also liked

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
 

Viewers also liked (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
 

Similar to 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
 

Similar to 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
 

Recently uploaded

2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 

Recently uploaded (20)

2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

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.