SlideShare una empresa de Scribd logo
1 de 16
Descargar para leer sin conexión
Multi-touch development in Flash and Flex
About Me


    Senthil kumar .S

           Senior RIA Engineer

            http://sensaran.wordpress.com
Agenda

 Flow of Input from user to Run Time
 Supported Platform and Hardware
 Touch Events vs gestures
 The API for handling user interaction
 New Flex Touch Events
 New Flex Gesture Events
 Code
Flow of Input from user to Run Time
              User



              Device


          Operating System



           Application



          Flash Run Time
Supported Platforms and hardware
Supported by Flash Player 10.1 and Air 2.0
 Touch
    Windows 7 and later.
    Mac OS X 10.5.3 and later
    iphone OS 3.0 and later.
    Android 2.2 , Windows 6.5
 Gesture
    Windows 7 and later.
    Mac OS X 10.5.3 and later
    iphone OS 3.0 and later.
    Android 2.2 , Windows 6.5
What is New For MultiTouch?
Touch events vs gestures


• Touch events       Input with a single point
                     device
• Gesture events     One or more touch
                   for eg,user rotates
                   the rectangle using
                   two fingers or zoom
Important concepts and terms In Touch

  Discovery API.
  Touch event .
  Touch point.
  Multi touch event.
  Gesture event.
  Phases.
  Stylus.
  Press-and-tap .
• Touch Events
TouchEvent class


 •   TouchEvent.TOUCH_BEGIN
 •   TouchEvent.TOUCH_END
 •   TouchEvent.TOUCH_MOVE
 •   TouchEvent.TOUCH_OUT
 •   TouchEvent.TOUCH_OVER
 •   TouchEvent.TOUCH_ROLL_OUT
 •   TouchEvent.TOUCH_ROLL_OVER
 •   TouchEvent.TOUCH_TAP
• Gesture Events
Gesture event types.

  • TransformGestureEvent.GESTURE_PAN



  • TransformGestureEvent.GESTURE_ROTATE



  • TransformGestureEvent.GESTURE_SWIPE



  • TransformGestureEvent.GESTURE_ZOOM
Multitouch and gesture support
•     Windows 7
TransformGestureEvent.GESTURE_PAN
TransformGestureEvent.GESTURE_ROTATE
TransformGestureEvent.GESTURE_ZOOM
PressAndTapGestureEvent.GESTURE_PRESS_AND_TAP


•     Mac OS X 10.5.3 and later + iPhone
TransformGestureEvent.GESTURE_PAN
TransformGestureEvent.GESTURE_ROTATE
TransformGestureEvent.GESTURE_SWIPE
TransformGestureEvent.GESTURE_ZOOM


•     Windows Mobile 6.5
    TransformGestureEvent.GESTURE_PAN
• DEM0 CODE
    import mx.core.UIComponent;
    import flash.ui.Multitouch;
    import flash.ui.MultitouchInputMode
    public function init( ) :void {
    // check the Status of the Touch Input....
    if(Capabilities.touchscreenType == TouchscreenType.NONE){
        Multitouch.inputMode = MultitouchInputMode.NONE;
    }
    if(Capabilities.touchscreenType ==     TouchscreenType.FINGER)
    {
     Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
    }
    if(Capabilities.touchscreenType ==    TouchscreenType.STYLUS){
     Multitouch.inputMode = MultitouchInputMode.GESTURE;
    }
var mySprite:Sprite = new Sprite();
    var    uiCon:UIComponent = new UIComponent();
    addChild(uiCon);
    mySprite.graphics.beginFill(0x336699);
    mySprite.graphics.drawRect(50,50,100,100);
    uiCon.addChild(mySprite);
    mySprite.addEventListener(TouchEvent.TOUCH_BEGIN, onTouchBegin)
    mySprite.addEventListener(TouchEvent.TOUCH_MOVE, onTouchMove)
    mySprite.addEventListener(TouchEvent.TOUCH_END, onTouchEnd)
}
private function onTouchBegin( event :TouchEvent ) :void   {
    event.target.startTouchDrag(event.touchPointID);
    event.target.scaleX *= 0.5
    event.target.scaleY *= 0.5
}
// Function will trigger when function Move
private function onTouchMove( event :TouchEvent ) :void {
event.target.alpha = 0.5
}
// Here the Touch End
private function onTouchEnd( event :TouchEvent ) :void
{
event.target.stopTouchDrag(event.touchPointID);
event.target.width = 240;
event.target.height = 240;
event.target.alpha = 1;
}

Más contenido relacionado

La actualidad más candente

Multi-Touch System
Multi-Touch SystemMulti-Touch System
Multi-Touch Systemkerry14cn
 
Multi Touch And Gesture Event Interface And Types
Multi Touch And Gesture Event Interface And TypesMulti Touch And Gesture Event Interface And Types
Multi Touch And Gesture Event Interface And TypesEthan Cha
 
Multi Touch Introduction
Multi Touch IntroductionMulti Touch Introduction
Multi Touch IntroductionBram Vandeputte
 
multitouch screen
multitouch screenmultitouch screen
multitouch screenveena jl
 
zForce Touch Screen Technology
zForce Touch Screen TechnologyzForce Touch Screen Technology
zForce Touch Screen TechnologySuryakanta Rout
 
Touch Less Touch Screen Technology
Touch Less Touch Screen TechnologyTouch Less Touch Screen Technology
Touch Less Touch Screen Technologyijtsrd
 
Touchless Touchscreen
Touchless TouchscreenTouchless Touchscreen
Touchless Touchscreenvishnu murthy
 
Touchscreen technology
Touchscreen technologyTouchscreen technology
Touchscreen technologyJita Mitra
 
Touchscreen technology
Touchscreen technologyTouchscreen technology
Touchscreen technologyslire
 
Touchscreen-MOBILE TECHNOLOGY
Touchscreen-MOBILE TECHNOLOGYTouchscreen-MOBILE TECHNOLOGY
Touchscreen-MOBILE TECHNOLOGYAditya Porwal
 
Touch Technology....ppt
Touch Technology....pptTouch Technology....ppt
Touch Technology....ppthashgeneration
 
Touchless touchscreen
Touchless touchscreenTouchless touchscreen
Touchless touchscreenNaga Dinesh
 
Touch screen and Touchless technology
Touch screen and Touchless technologyTouch screen and Touchless technology
Touch screen and Touchless technologyRajesh Kumar Sahoo
 

La actualidad más candente (20)

Multi-Touch System
Multi-Touch SystemMulti-Touch System
Multi-Touch System
 
Multi Touch And Gesture Event Interface And Types
Multi Touch And Gesture Event Interface And TypesMulti Touch And Gesture Event Interface And Types
Multi Touch And Gesture Event Interface And Types
 
Multi Touch Introduction
Multi Touch IntroductionMulti Touch Introduction
Multi Touch Introduction
 
multitouch screen
multitouch screenmultitouch screen
multitouch screen
 
Multi touch interaction
Multi touch interactionMulti touch interaction
Multi touch interaction
 
Multi touch
Multi touchMulti touch
Multi touch
 
Ppt on touch screen
Ppt on touch screenPpt on touch screen
Ppt on touch screen
 
Multi touch technology
Multi touch technologyMulti touch technology
Multi touch technology
 
zForce Touch Screen Technology
zForce Touch Screen TechnologyzForce Touch Screen Technology
zForce Touch Screen Technology
 
14 561
14 56114 561
14 561
 
Touch Less Touch Screen Technology
Touch Less Touch Screen TechnologyTouch Less Touch Screen Technology
Touch Less Touch Screen Technology
 
Touchscreen PPT
Touchscreen PPTTouchscreen PPT
Touchscreen PPT
 
Touchless Touchscreen
Touchless TouchscreenTouchless Touchscreen
Touchless Touchscreen
 
Touchscreen technology
Touchscreen technologyTouchscreen technology
Touchscreen technology
 
Touchscreen
TouchscreenTouchscreen
Touchscreen
 
Touchscreen technology
Touchscreen technologyTouchscreen technology
Touchscreen technology
 
Touchscreen-MOBILE TECHNOLOGY
Touchscreen-MOBILE TECHNOLOGYTouchscreen-MOBILE TECHNOLOGY
Touchscreen-MOBILE TECHNOLOGY
 
Touch Technology....ppt
Touch Technology....pptTouch Technology....ppt
Touch Technology....ppt
 
Touchless touchscreen
Touchless touchscreenTouchless touchscreen
Touchless touchscreen
 
Touch screen and Touchless technology
Touch screen and Touchless technologyTouch screen and Touchless technology
Touch screen and Touchless technology
 

Destacado

Buck-Boost Converter
Buck-Boost ConverterBuck-Boost Converter
Buck-Boost ConverterSagar Patil
 
Brain Finger Printing Technology
Brain Finger Printing TechnologyBrain Finger Printing Technology
Brain Finger Printing TechnologyYashu Cutepal
 
Ambient back scatter
Ambient back scatterAmbient back scatter
Ambient back scatterChe Tna
 
Clinical information system
Clinical information systemClinical information system
Clinical information systemNUR3563Team1
 
Airline flights delay prediction- 2014 Spring Data Mining Project
Airline flights delay prediction- 2014 Spring Data Mining ProjectAirline flights delay prediction- 2014 Spring Data Mining Project
Airline flights delay prediction- 2014 Spring Data Mining ProjectHaozhe Wang
 
Brain Fingerprinting PPT
Brain Fingerprinting PPTBrain Fingerprinting PPT
Brain Fingerprinting PPTVishnu Mysterio
 

Destacado (9)

Buck-Boost Converter
Buck-Boost ConverterBuck-Boost Converter
Buck-Boost Converter
 
Brain Finger Printing Technology
Brain Finger Printing TechnologyBrain Finger Printing Technology
Brain Finger Printing Technology
 
Ambient back scatter
Ambient back scatterAmbient back scatter
Ambient back scatter
 
Clinical information system
Clinical information systemClinical information system
Clinical information system
 
BIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPT
BIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPTBIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPT
BIG DATA TO AVOID WEATHER RELATED FLIGHT DELAYS PPT
 
Big Data For Flight Delay Report
Big Data For Flight Delay ReportBig Data For Flight Delay Report
Big Data For Flight Delay Report
 
Brain fingerprinting
Brain fingerprintingBrain fingerprinting
Brain fingerprinting
 
Airline flights delay prediction- 2014 Spring Data Mining Project
Airline flights delay prediction- 2014 Spring Data Mining ProjectAirline flights delay prediction- 2014 Spring Data Mining Project
Airline flights delay prediction- 2014 Spring Data Mining Project
 
Brain Fingerprinting PPT
Brain Fingerprinting PPTBrain Fingerprinting PPT
Brain Fingerprinting PPT
 

Similar a Multi Touch presentation

Developing Multi Touch Applications
Developing Multi Touch ApplicationsDeveloping Multi Touch Applications
Developing Multi Touch ApplicationsBrian Blanchard
 
Win7 Multi Touch
Win7 Multi TouchWin7 Multi Touch
Win7 Multi TouchDaniel Egan
 
Flash Lite & Touch: build an iPhone-like dynamic list
Flash Lite & Touch: build an iPhone-like dynamic listFlash Lite & Touch: build an iPhone-like dynamic list
Flash Lite & Touch: build an iPhone-like dynamic listSmall Screen Design
 
Tips for building fast multi touch enabled web sites
 Tips for building fast multi touch enabled web sites Tips for building fast multi touch enabled web sites
Tips for building fast multi touch enabled web sitesAspenware
 
Fast multi touch enabled web sites
Fast multi touch enabled web sitesFast multi touch enabled web sites
Fast multi touch enabled web sitesAspenware
 
Session 12 - Overview of taps, multitouch, and gestures
Session 12 - Overview of taps, multitouch, and gestures Session 12 - Overview of taps, multitouch, and gestures
Session 12 - Overview of taps, multitouch, and gestures Vu Tran Lam
 
Getting touchy - an introduction to touch and pointer events / TPAC 2016 / Li...
Getting touchy - an introduction to touch and pointer events / TPAC 2016 / Li...Getting touchy - an introduction to touch and pointer events / TPAC 2016 / Li...
Getting touchy - an introduction to touch and pointer events / TPAC 2016 / Li...Patrick Lauke
 
Developing Series 40 Java Apps for Multiple UI Patterns
Developing Series 40 Java Apps for Multiple UI PatternsDeveloping Series 40 Java Apps for Multiple UI Patterns
Developing Series 40 Java Apps for Multiple UI PatternsMicrosoft Mobile Developer
 
Air on Mobile (2011)
Air on Mobile (2011)Air on Mobile (2011)
Air on Mobile (2011)Maso Lin
 
Advance ui development and design
Advance ui  development and design Advance ui  development and design
Advance ui development and design Rakesh Jha
 
Ch10 - Programming for Touchscreens and Mobile Devices
Ch10 - Programming for Touchscreens and Mobile DevicesCh10 - Programming for Touchscreens and Mobile Devices
Ch10 - Programming for Touchscreens and Mobile Devicesdcomfort6819
 
Mobile Web on Touch Event and YUI
Mobile Web on Touch Event and YUIMobile Web on Touch Event and YUI
Mobile Web on Touch Event and YUIMorgan Cheng
 
Getting touchy - an introduction to touch events / Sainté Mobile Days / Saint...
Getting touchy - an introduction to touch events / Sainté Mobile Days / Saint...Getting touchy - an introduction to touch events / Sainté Mobile Days / Saint...
Getting touchy - an introduction to touch events / Sainté Mobile Days / Saint...Patrick Lauke
 
Virtual Network Computing Based Droid desktop
Virtual Network Computing Based Droid desktopVirtual Network Computing Based Droid desktop
Virtual Network Computing Based Droid desktopIOSR Journals
 
Android Training - Pull to Refresh
Android Training - Pull to RefreshAndroid Training - Pull to Refresh
Android Training - Pull to RefreshKan-Han (John) Lu
 
tL20 event handling
tL20 event handlingtL20 event handling
tL20 event handlingteach4uin
 

Similar a Multi Touch presentation (20)

Developing Multi Touch Applications
Developing Multi Touch ApplicationsDeveloping Multi Touch Applications
Developing Multi Touch Applications
 
Pc03
Pc03Pc03
Pc03
 
Mobile Application Development class 005
Mobile Application Development class 005Mobile Application Development class 005
Mobile Application Development class 005
 
Win7 Multi Touch
Win7 Multi TouchWin7 Multi Touch
Win7 Multi Touch
 
Flash Lite & Touch: build an iPhone-like dynamic list
Flash Lite & Touch: build an iPhone-like dynamic listFlash Lite & Touch: build an iPhone-like dynamic list
Flash Lite & Touch: build an iPhone-like dynamic list
 
Tips for building fast multi touch enabled web sites
 Tips for building fast multi touch enabled web sites Tips for building fast multi touch enabled web sites
Tips for building fast multi touch enabled web sites
 
Fast multi touch enabled web sites
Fast multi touch enabled web sitesFast multi touch enabled web sites
Fast multi touch enabled web sites
 
Session 12 - Overview of taps, multitouch, and gestures
Session 12 - Overview of taps, multitouch, and gestures Session 12 - Overview of taps, multitouch, and gestures
Session 12 - Overview of taps, multitouch, and gestures
 
Getting touchy - an introduction to touch and pointer events / TPAC 2016 / Li...
Getting touchy - an introduction to touch and pointer events / TPAC 2016 / Li...Getting touchy - an introduction to touch and pointer events / TPAC 2016 / Li...
Getting touchy - an introduction to touch and pointer events / TPAC 2016 / Li...
 
Developing Series 40 Java Apps for Multiple UI Patterns
Developing Series 40 Java Apps for Multiple UI PatternsDeveloping Series 40 Java Apps for Multiple UI Patterns
Developing Series 40 Java Apps for Multiple UI Patterns
 
Air on Mobile (2011)
Air on Mobile (2011)Air on Mobile (2011)
Air on Mobile (2011)
 
Advance ui development and design
Advance ui  development and design Advance ui  development and design
Advance ui development and design
 
Ch10 - Programming for Touchscreens and Mobile Devices
Ch10 - Programming for Touchscreens and Mobile DevicesCh10 - Programming for Touchscreens and Mobile Devices
Ch10 - Programming for Touchscreens and Mobile Devices
 
Mobile Web on Touch Event and YUI
Mobile Web on Touch Event and YUIMobile Web on Touch Event and YUI
Mobile Web on Touch Event and YUI
 
Take a Ride on the Metro
Take a Ride on the MetroTake a Ride on the Metro
Take a Ride on the Metro
 
What is Event
What is EventWhat is Event
What is Event
 
Getting touchy - an introduction to touch events / Sainté Mobile Days / Saint...
Getting touchy - an introduction to touch events / Sainté Mobile Days / Saint...Getting touchy - an introduction to touch events / Sainté Mobile Days / Saint...
Getting touchy - an introduction to touch events / Sainté Mobile Days / Saint...
 
Virtual Network Computing Based Droid desktop
Virtual Network Computing Based Droid desktopVirtual Network Computing Based Droid desktop
Virtual Network Computing Based Droid desktop
 
Android Training - Pull to Refresh
Android Training - Pull to RefreshAndroid Training - Pull to Refresh
Android Training - Pull to Refresh
 
tL20 event handling
tL20 event handlingtL20 event handling
tL20 event handling
 

Más de senthil0809

First look on python
First look on pythonFirst look on python
First look on pythonsenthil0809
 
Enterprise search with apache solr
Enterprise search with apache solrEnterprise search with apache solr
Enterprise search with apache solrsenthil0809
 
Get started with R lang
Get started with R langGet started with R lang
Get started with R langsenthil0809
 
Big data with HDFS and Mapreduce
Big data  with HDFS and MapreduceBig data  with HDFS and Mapreduce
Big data with HDFS and Mapreducesenthil0809
 
Big data - Apache Hadoop for Beginner's
Big data - Apache Hadoop for Beginner'sBig data - Apache Hadoop for Beginner's
Big data - Apache Hadoop for Beginner'ssenthil0809
 
AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )senthil0809
 
Exploring Layouts and Providers
Exploring Layouts and ProvidersExploring Layouts and Providers
Exploring Layouts and Providerssenthil0809
 
Exploring Adobe Flex
Exploring Adobe Flex Exploring Adobe Flex
Exploring Adobe Flex senthil0809
 
Flex Introduction
Flex Introduction Flex Introduction
Flex Introduction senthil0809
 

Más de senthil0809 (9)

First look on python
First look on pythonFirst look on python
First look on python
 
Enterprise search with apache solr
Enterprise search with apache solrEnterprise search with apache solr
Enterprise search with apache solr
 
Get started with R lang
Get started with R langGet started with R lang
Get started with R lang
 
Big data with HDFS and Mapreduce
Big data  with HDFS and MapreduceBig data  with HDFS and Mapreduce
Big data with HDFS and Mapreduce
 
Big data - Apache Hadoop for Beginner's
Big data - Apache Hadoop for Beginner'sBig data - Apache Hadoop for Beginner's
Big data - Apache Hadoop for Beginner's
 
AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )
 
Exploring Layouts and Providers
Exploring Layouts and ProvidersExploring Layouts and Providers
Exploring Layouts and Providers
 
Exploring Adobe Flex
Exploring Adobe Flex Exploring Adobe Flex
Exploring Adobe Flex
 
Flex Introduction
Flex Introduction Flex Introduction
Flex Introduction
 

Último

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...panagenda
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jNeo4j
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfFIDO Alliance
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfSrushith Repakula
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfFIDO Alliance
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform EngineeringMarcus Vechiato
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024Stephen Perrenod
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...marcuskenyatta275
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Hiroshi SHIBATA
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...CzechDreamin
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireExakis Nelite
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FIDO Alliance
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...CzechDreamin
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 

Último (20)

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 

Multi Touch presentation

  • 1. Multi-touch development in Flash and Flex
  • 2. About Me Senthil kumar .S Senior RIA Engineer http://sensaran.wordpress.com
  • 3. Agenda Flow of Input from user to Run Time Supported Platform and Hardware Touch Events vs gestures The API for handling user interaction New Flex Touch Events New Flex Gesture Events Code
  • 4. Flow of Input from user to Run Time User Device Operating System Application Flash Run Time
  • 5. Supported Platforms and hardware Supported by Flash Player 10.1 and Air 2.0 Touch Windows 7 and later. Mac OS X 10.5.3 and later iphone OS 3.0 and later. Android 2.2 , Windows 6.5 Gesture Windows 7 and later. Mac OS X 10.5.3 and later iphone OS 3.0 and later. Android 2.2 , Windows 6.5
  • 6. What is New For MultiTouch?
  • 7. Touch events vs gestures • Touch events Input with a single point device • Gesture events One or more touch for eg,user rotates the rectangle using two fingers or zoom
  • 8. Important concepts and terms In Touch Discovery API. Touch event . Touch point. Multi touch event. Gesture event. Phases. Stylus. Press-and-tap .
  • 10. TouchEvent class • TouchEvent.TOUCH_BEGIN • TouchEvent.TOUCH_END • TouchEvent.TOUCH_MOVE • TouchEvent.TOUCH_OUT • TouchEvent.TOUCH_OVER • TouchEvent.TOUCH_ROLL_OUT • TouchEvent.TOUCH_ROLL_OVER • TouchEvent.TOUCH_TAP
  • 12. Gesture event types. • TransformGestureEvent.GESTURE_PAN • TransformGestureEvent.GESTURE_ROTATE • TransformGestureEvent.GESTURE_SWIPE • TransformGestureEvent.GESTURE_ZOOM
  • 13. Multitouch and gesture support • Windows 7 TransformGestureEvent.GESTURE_PAN TransformGestureEvent.GESTURE_ROTATE TransformGestureEvent.GESTURE_ZOOM PressAndTapGestureEvent.GESTURE_PRESS_AND_TAP • Mac OS X 10.5.3 and later + iPhone TransformGestureEvent.GESTURE_PAN TransformGestureEvent.GESTURE_ROTATE TransformGestureEvent.GESTURE_SWIPE TransformGestureEvent.GESTURE_ZOOM • Windows Mobile 6.5 TransformGestureEvent.GESTURE_PAN
  • 14. • DEM0 CODE import mx.core.UIComponent; import flash.ui.Multitouch; import flash.ui.MultitouchInputMode public function init( ) :void { // check the Status of the Touch Input.... if(Capabilities.touchscreenType == TouchscreenType.NONE){ Multitouch.inputMode = MultitouchInputMode.NONE; } if(Capabilities.touchscreenType == TouchscreenType.FINGER) { Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT; } if(Capabilities.touchscreenType == TouchscreenType.STYLUS){ Multitouch.inputMode = MultitouchInputMode.GESTURE; }
  • 15. var mySprite:Sprite = new Sprite(); var uiCon:UIComponent = new UIComponent(); addChild(uiCon); mySprite.graphics.beginFill(0x336699); mySprite.graphics.drawRect(50,50,100,100); uiCon.addChild(mySprite); mySprite.addEventListener(TouchEvent.TOUCH_BEGIN, onTouchBegin) mySprite.addEventListener(TouchEvent.TOUCH_MOVE, onTouchMove) mySprite.addEventListener(TouchEvent.TOUCH_END, onTouchEnd) } private function onTouchBegin( event :TouchEvent ) :void { event.target.startTouchDrag(event.touchPointID); event.target.scaleX *= 0.5 event.target.scaleY *= 0.5 }
  • 16. // Function will trigger when function Move private function onTouchMove( event :TouchEvent ) :void { event.target.alpha = 0.5 } // Here the Touch End private function onTouchEnd( event :TouchEvent ) :void { event.target.stopTouchDrag(event.touchPointID); event.target.width = 240; event.target.height = 240; event.target.alpha = 1; }