HTML5 for Flash Developers.
A step by step guide with detailed examples. Experienced Flash AS3 programmers who are making the switch to Javascript and HTML5.
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2013.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.packtpub.com; Table of Contents; Preface; Chapter 1: Why HTML5?; Understanding HTML5; What is HTML5?; HTML standards; HTML syntax; HTML elements; Bringing in the style; Passing it over to JavaScript; What is JavaScript?; JavaScript in action; Why bother learning HTML5?; Write once, deploy everywhere; Exciting new features; canvas
- 2D drawing API; Media playback; Offline storage; Document editing; Drag-and-drop; Geolocation; File API; Mobile accessibility; Flash Player on Mobile; Build on your existing skillset; ECMAScript.
- Avoiding the initial road blocksStage versus DOM; Positioning assets in the DOM; Dealing with media elements; Securing your code; Browser and platform compatibility; Summary; Chapter 2: Preparing for the Battle; Preparing the asset; Images; JPEG; PNG; GIF; Audio; The audio element; Video; Video codecs; Video containers; Video encoding software; The video element; Debugging and output methods; Google Chrome; Firebug for Firefox; Safari; Opera; Internet Explorer; Syntax differences; Variables; Variable type conversion; Conditions and loops; Functions; Objects; DOM events; Mouse events.
- Example JavaScript in actionTiming JavaScript execution; Summary; Chapter 3: Scalability, Limitations, and Effects; HTML5 limitations; Object manipulation with CSS3; box-shadow; text-shadow; border-radius; Fonts; Acceptable font formats; External font libraries; Opacity; RGB and RGBA coloring; Element transforms; Translate; Rotate; Scale; Skew; Matrix; 3D transforms; Transitions; Browser compatibility; Frame rate; Developing for mobile; Responsive layouts; CSS Media Queries; Audio and video playback control; Preloading; Autoplay; Looping; Sound effects; Media playback manipulation.
- Reading local files with the File APIWeb Workers; WebSockets; Canvas element; Stage3D versus WebGL; Summary; Chapter 4: Building Robust Applications with HTML5; Writing object-oriented JavaScript; Class syntax; Functions; Variable scope; Public and private variables and functions; Prototype; Instance types; Object literals; Constructors; Inheritance; Listing object properties; Making OOP in JavaScript easier; JavaScript events; Keyboard and mouse events; Touch events; Custom events; Event bubbling; Putting it all together; Summary; Chapter 5: Code Once, Release Everywhere.
- Covering all your basesCreateJS; EaselJS; TweenJS; PreloadJS; SoundJS; CreateJS Toolkit; Setting up the Toolkit; Publishing your assets; Reviewing the CreateJS Toolkit output; Modernizr; Using Modernizr; Understanding Polyfills; Modernizr.load(); What Modernizr can detect; CSS media queries; Summary; Chapter 6: HTML5 Frameworks and Libraries; How frameworks and libraries can make your life easier; What can I do with JavaScript frameworks and libraries; Finding the right library or framework for your project; jQuery; Putting jQuery into action; Selecting elements with jQuery.