Macromedia flash 8-developing flash lite 2.x applications Manual De Usuario
3
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
What’s new in Flash Lite authoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Guide to instructional media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Additional resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Typographical conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
What’s new in Flash Lite authoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Guide to instructional media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Additional resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Typographical conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Chapter 1: Creating Interactivity and Navigation . . . . . . . . . . . . . . . 7
Keys supported by Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Using tab navigation in Flash Lite. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Handling key events (Flash Professional Only) . . . . . . . . . . . . . . . . . . . . 13
Handling button events (Flash Professional Only) . . . . . . . . . . . . . . . . 20
Using the soft keys (Flash Professional Only) . . . . . . . . . . . . . . . . . . . . 26
Keys supported by Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Using tab navigation in Flash Lite. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Handling key events (Flash Professional Only) . . . . . . . . . . . . . . . . . . . . 13
Handling button events (Flash Professional Only) . . . . . . . . . . . . . . . . 20
Using the soft keys (Flash Professional Only) . . . . . . . . . . . . . . . . . . . . 26
Chapter 2: Working with Text and Fonts . . . . . . . . . . . . . . . . . . . . 31
About text in Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Using input text fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Font rendering methods in Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Flash Lite rendering quality and anti-aliased text . . . . . . . . . . . . . . . . . 39
Embedding font outlines in SWF files . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Text field example application (Flash Professional Only) . . . . . . . . . . 42
Creating scrolling text (Flash Professional Only). . . . . . . . . . . . . . . . . . 45
About text in Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Using input text fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Font rendering methods in Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Flash Lite rendering quality and anti-aliased text . . . . . . . . . . . . . . . . . 39
Embedding font outlines in SWF files . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Text field example application (Flash Professional Only) . . . . . . . . . . 42
Creating scrolling text (Flash Professional Only). . . . . . . . . . . . . . . . . . 45
Chapter 3: Working with Sound . . . . . . . . . . . . . . . . . . . . . . . . . . 49
About sound in Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Using device sound (Flash Professional Only). . . . . . . . . . . . . . . . . . . . 50
Using native Flash sounds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
About sound in Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Using device sound (Flash Professional Only). . . . . . . . . . . . . . . . . . . . 50
Using native Flash sounds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Chapter 4: Optimizing content for performance and file size . . .57
SWF file size and memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
Performance optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
Device speed and frames per second . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
SWF file size and memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
Performance optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
Device speed and frames per second . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61