<?xml version="1.0" encoding="UTF-8"?>
<book title="Developing Flash Lite 2.x and 3.0 Applications" directory="FlashLite2DevGuide">
   <page href="00004642.html" title="Flash Lite 2.x and 3.0 overview" text="Flash Lite 2.x and 3.0&lt;br /&gt;overviewAdobe® Flash® Lite&#8482; is a version of Flash Player designed for devices. This documentation covers Macromedia® Flash® Lite&#8482; 2.0 and Macromedia Flash Lite 2.1 software from Adobe, which are collectively called Flash Lite 2.x. It also covers Adobe Flash Lite 3.0." />
   <page href="00004643.html" title="Flash Lite basics" text="Flash Lite basicsAbout Flash LiteAbout components in Flash LiteOptimizing content for performance and memory" />
   <page href="00004644.html" title="About Flash Lite" text="About Flash LiteMacromedia Flash Lite 1.0 and Macromedia Flash Lite 1.1 are based on Macromedia Flash Player 4. Flash Lite 2.0 and 2.1 (collectively called 2.x) are based on Macromedia Flash Player 7 and support most--but not all--features in Flash Player 7. Flash Lite 2.x also includes features specific to mobile development that are not available in Flash Player 7. For example, in Flash Lite 2.x, you can load device-specific media types (images, sounds, video) that aren't natively supported by Flash Lite. Flash Lite 2.x also includes device integration features, such as the ability to make phone calls and send text messages. Flash Lite 3.0 is also based on Flash Player 7, and it introduces support for Flash Video, for browsing most Flash 8 content, as well as numerous performance improvements. A new security model that mirrors the model used in Flash Player 8 is also included in Flash Lite 3.0." />
   <page href="00004645.html" title="About components in Flash Lite" text="About components in Flash LiteThe components installed with Flash (for example, DataGrid and Accordion) were designed for use in Flash desktop applications. The memory requirements and processing power that they require typically prohibit their use in Flash Lite applications. Adobe recommends that you don't use the standard user interface components in your Flash Lite applications." />
   <page href="00004646.html" title="Optimizing content for performance and memory" text="Optimizing content for performance and memoryTo optimize your Flash content, you must pay attention to basic principles. For example, Flash developers have often had to avoid extremely complex artwork, excessive tweening, and overusing transparency.Although earlier versions of Flash have resolved most of these performance issues for the desktop, Adobe Flash Lite developers still face additional challenges due to limitations of mobile devices: some devices perform better than others, sometimes dramatically, and because mobile authoring often requires publishing to many different devices, developers must sometimes author for the lowest common denominator. Optimizing mobile content often requires making trade-offs. For example, one technique might look better, while another results in better performance. As you measure these trade-offs, you will be going back and forth repeatedly between testing in the emulator and testing on the target device.In Flash 8, the emulator for Flash Lite 2.x was part of the Flash authoring environment. In Flash CS3 and Flash Lite 3.0, the emulator functionality is part of Adobe® Device Central CS3. Device Central lets you emulate your Flash Lite projects on a variety of devices, and can emulate device display, memory use, and performance on specific devices. For complete information about using the emulator to optimize your Flash Lite content for mobile devices, see &quot;Best practices for content on mobile devices&quot; in the Device Central documentation." />
   <page href="00004647.html" title="Flash Lite 3.0 features" text="Flash Lite 3.0 featuresFlash Lite 3.0 new featuresPerformance improvementsEnhanced video capabilityWeb content browsabilityLocal file securityContent management" />
   <page href="00004648.html" title="Flash Lite 3.0 new features" text="Flash Lite 3.0 new featuresPerformance improvements Introduces a variety of player alterations to improve the player's performance on mobile devices and to improve the device user's experience when viewing and interacting with content. See Performance improvements for more information.Enhanced video capabilities Supports both Flash Video (FLV) and device video. See Enhanced video capability for more information.Web content browsability Supports the playback of most Flash 8 content on mobile devices with some loss of fidelity. See Web content browsability for more information.Local file security Provides a security scheme for Flash Lite that is consistent with the security model introduced in Flash Player 8. See Local file security for more information.Content Management Provides an API to read SWF metadata. Content developers can use metadata to segment content on devices and control some aspects of how content is handled. See Content management for more information." />
   <page href="00004649.html" title="Performance improvements" text="Performance improvementsGraphics rendering acceleration Renders text scrolling, vector translations, and animated vectors with opaque fills quickly and efficiently.Run-time memory reduction &quot;Lazy-loads&quot; ActionScript&#8482; classes at runtime, so that only the ActionScript required to render the first frame is loaded at startup. Other ActionScript classes are loaded as needed by the content." />
   <page href="00004650.html" title="Enhanced video capability" text="Enhanced video capabilityFlash Lite 2.x supports only device video, which means it relied on the device to decode and render video. It is limited by the video formats supported by a specific device, can't synchronize the video with the timeline, can't control the volume of the video clip, and can't rotate, skew, composite, or blend the device video with other media. (The video is always on top of any other Flash content.) Flash Lite 3.0 adds support for Flash Video (FLV) using versions of the On2 and Sorenson codecs optimized for mobile devices. FLV video is rendered directly in the Flash Lite player rather than by the device, so you no longer need to be concerned about whether your target devices support a particular video format. Flash Lite 3.0 supports the playback of Flash Video using the following methods:Embedding video in SWF filesProgressive downloading of video from local folders and web servers (HTTP) Streaming video from a Flash Media ServerSee Working with video and images for complete information about using FLV in Flash Lite 3.0." />
   <page href="00004651.html" title="Web content browsability" text="CapabilitySupportDetailsFlash 8 basic HTML tagsYesThe Flash Lite player can now recognize and play back most Flash 8 content, with some loss of fidelity.Security enhancementsYesFlash Lite's security model is now consistent with the desktop player's security model. See Local file security for details.Flash VideoYesThe Flash Lite player now supports Flash Video (FLV) using versions of the On2 and Sorenson codecs optimized for mobile devices. Also supports RTMP client implementation (one-way, not two-way real-time). See Enhanced video capability for details.HTML Base tagYesAllows Flash Lite to behave in a manner similar to the Flash Player on the desktop.FlashType textPartially supportedComplete support is not critical to displaying content. Text is rendered, but without full FlashType implementation.Bitmap caching, effects and enhancementsNoNot implemented because most require floating-point support or make excessive demands on processor or memory resources.Focal gradientsNoNot implemented because they are processor-intensive and not critical to displaying content.Web content browsabilityFlash Lite 3.0 supports the playback of most Flash 8 content on mobile devices with some loss of fidelity. Because of the high processor and memory requirements necessary to support features found in the Flash 8 Expressiveness feature set, many of these features are not supported in Flash Lite 3.0. These expressiveness features include bitmap caching, blend modes, bitmap filters, enhanced strokes, enhanced gradients, and 9-slice scaling. Whenever Flash Lite encounters any of these features in a SWF file, it renders these objects without the added expressiveness to maintain a usable mobile experience. The following table describes the Flash 8 content and features that are supported, partially supported, or not supported." />
   <page href="00004652.html" title="Local file security" text="This new security scheme affects the functionality of almost all ActionScript that involves data loading or cross-scripting, including extremely common functions like getURL, loadMovie, loadMovieNum, loadVars, loadSound, XMLSocket.send, and XMLSocket.load. For a comprehensive list of all API functionality that is affected by security, please see Flash Player 8 Security-Related APIs (PDF) on the Flash Player Developer Center website.Local file securityIn Flash Lite 2.x, local SWF files are allowed to interact with and load data from other SWF files, whether local or remote. This creates a security vulnerability because an untrusted local SWF file, downloaded (for example) as an e-mail attachment, can access private data stored on the device and send it back to the content author via an HTTP connection.Flash Lite 3.0 introduces a new security model based on the Flash Player 8 security model. All SWF files are placed in a &quot;sandbox&quot; when they are loaded into the Flash Lite player. SWF files are assigned to different sandboxes according to their point of origin.SWF files from the network are always placed in a remote sandbox that corresponds to their domain of origin. Network SWF files can read the data from their domain of origin only. They cannot access data from other domains unless those domains explicitly grant permission to the SWF file making the request. For example, a SWF file from a.com may read (using XML.load, for example) from the server at b.com if b.com has a policy file that permits access from a.com (or from all domains). A SWF file from a.com may cross-script a SWF file from b.com (calling an ActionScript&#8482; method in the b.com SWF file, for example) if the b.com SWF file calls System.security.allowDomain to permit access from a.com.SWF files from local origins (local file system) are placed into one of three sandboxes, as follows.Local With Filesystem SWF files may read (using XML.load, for example) from files on local file systems, but they may not communicate with the network in any way. Local Trusted SWF files may read from local files, interact with any server, and script any other SWF file. (In Flash Lite 2.1, all local files are effectively in this sandbox.) Local With Networking Sandbox SWF files are allowed to communicate with other local-with-networking SWF files, and send data to servers (using XML.send, for example).See Flash 8 product Help for information about how the Flash 8 Player's security model works. When using this Help, please note that the following differences exist between the Flash Lite 3.0 and Flash Player 8 security models:Trust management is done by the host application in Flash Lite.No trust configuration files are required in Flash Lite.SWF file developers, manufacturers, and carriers must make all security decisions in Flash Lite. There is no user-mediated trust, or Settings Manager. However, the host application may provide a mechanism by which users can make limited security decisions. For example, the host may allow users to designate a particular SWF file as trusted. Prohibited operations fail silently; no dialog box is displayed in Flash Lite." />
   <page href="00004653.html" title="Content management" text="TitleDescriptionContent AuthorName of content author.Company NameCompany name of content author.TitleTitle of content.DescriptionDescription of the content.Copyright InformationRelevant copyright details.Content VersionVersion number of content (NOT Flash version).Content Type(s)Content type(s) categories for content file. See the content type table that follows for content type lexicon. Forward LockSpecifies if the content file can be transferred to another device. Supported Display ResolutionsList of resolutions supported by content.Icon Type and location of icon for content.Flash Player ProfileVersion of Flash/Flash Lite for which the content was published.Storage Size Storage size (size of SharedObject) required by the content. If size is unspecified, the content is assigned the default size set by the platform (generally 4KB).Background AlphaPreferred alpha value and blend mode for the background transparency feature.LoopingLooping behavior: content either repeats indefinitely or stops after the last frame.Default Quality Quality level at which the content should be played.Content typeDescriptionScreensaverFlash animation that is shown when a device-specified timeout occursRingtoneAnimation played when phone is receiving an incoming callBackgroundAnimated wallpaper that is displayed behind the idle/home screenGameInteractive gameApplicationStandalone applicationPresentationPresentation converted to a Flash movieIconFlash-based animated iconMovieAnimated Flash movieSkinSkin or theme for the phone or a single applicationStartupStartup animationShutdownShutdown animationOtherFlash content that does not fit into any of the above categoriesContent managementFlash Lite 3.0 provides an API that allows a device's host software to read information from SWF metadata, which is standard information embedded in SWF files. If the host chooses to implement this functionality, then the metadata information can be used by Flash Lite content developers to organize and categorize content on the device. The following categories of information can be included as metadata. Please note that some of these categories may be implemented differently (or not at all) by the manufacturer of the devices for which you are developing content.The following content types can be used to segment content for devices and control some aspects of how the content is handled." />
   <page href="00004654.html" title="Flash Lite 2.x features" text="Flash Lite 2.x featuresAbout Flash Lite 2.x featuresFlash Lite 2.1 new featuresFlash Lite 2.0 new featuresFlash Lite 2.0 ActionScriptDevice video playbackLoading device-specific sound and image formatsFlash Lite shared objectsSynchronized device soundText featuresAdditional key support" />
   <page href="00004655.html" title="About Flash Lite 2.x features" text="About Flash Lite 2.x featuresFlash Lite 2.0 and 2.1 (collectively called 2.x) are based on Flash Player 7 and support most of the features available in that version of Flash Player, including XML processing and ActionScript 2.0. Flash Lite 2.x also provides several features, not available in Flash Player 7, that are designed for mobile applications. " />
   <page href="00004656.html" title="Flash Lite 2.1 new features" text="Devices that support complex languages (for example, Hebrew, Arabic, Farsi, and some Asian languages) do not support inline text input. The functionality of input text fields on these devices will be the same for Flash Lite 2.1 as it is for Flash Lite 2.0.Flash Lite 2.1 new featuresFlash Lite 2.1 adds support for inline text input. In previous versions of Flash Lite, input text fields used the device's generic input text dialog box. In Flash Lite 2.1, input text fields can be edited directly.Flash Lite 2.1 enables socket communication using the XMLSocket class on devices that support it. (For more information, see the Flash Lite 2.x and 3.0 ActionScript Language Reference.) For more information about input text fields, see Working with text and fonts. Flash Lite 2.1 also adds tools to develop Flash Lite applications that run on devices using the Binary Runtime Environment for Wireless® (BREW®) platform made by QUALCOMM Incorporated. For more information about these tools, see Developing Flash Lite applications for BREW." />
   <page href="00004657.html" title="Flash Lite 2.0 new features" text="Flash Lite 2.0 new featuresFlash Lite 2.0 includes the following new features:Support for ActionScript 2.0, which lets you use advanced programming techniques including classes, interfaces, and strict data typingDevice video playbackLocal, persistent data storage (Flash Lite shared objects)Support for loading device-specific sound and image formatsNew system capabilities informationSupport for additional device keys, including QWERTY keyboard support and support for up to 11 soft keysRich text formatting (partial support)Ability to control backlight duration and set custom focus rectangle colorSynchronized device soundXML processing supportThe following features in Flash Player 7 are not available in Flash Lite 2.0:Several ActionScript classes available in Flash Player 7 are unsupported or partially supported in Flash Lite 2.0. For more information about available ActionScript, see Introduction to Flash Lite 2.0 ActionScript.Socket communication using the XMLSocket class (available in Flash Lite 2.1)Support for communication with Flash Media Server (available in Flash Lite 3.0)Remote shared objects (local shared objects are partially supported)Native support for Flash Video (FLV) playback (available in Flash Lite 3.0)Support for Flash Application Protocol (the binary data communication protocol used by Flash Remoting)Cascading Style Sheet (CSS) formatting with text fieldsMasking with device fontsBitmap smoothing while rendering at high-quality" />
   <page href="00004658.html" title="Flash Lite 2.0 ActionScript" text="Flash Lite 2.0 ActionScriptFlash Lite 2.0 ActionScript is the scripting language used in Flash Lite 2.0 and Flash Lite 2.1 applications. It shares some, but not all, of the ActionScript used in Flash Player 7. Flash Lite 2.0 also includes several ActionScript additions and extensions that let you, for example, get information about the device, make phone calls, or control the backlight duration.You can use ActionScript 2.0 or ActionScript 1.0 syntax when you develop applications for Flash Lite 2.0. ActionScript 2.0 provides authoring support for classes, interfaces, and strict data typing. Using ActionScript 2.0 syntax lets the ActionScript compiler provide better debugging information, and also encourages better program design.For more information about learning Flash Lite 2.0 ActionScript, see the following books and topics:Introduction to Flash Lite 2.x and 3.0 ActionScriptFlash Lite 2.x and 3.0 ActionScript Language ReferenceThe &quot;Learning ActionScript 2.0&quot; topic in Using Flash" />
   <page href="00004659.html" title="Device video playback" text="Device video playbackFlash Lite 2.0 can play video in any format that's supported natively by the target device. For example, some devices record and playback video in the 3GP video format. Others support AVI or MPEG video. During playback, Flash Lite passes the original video data to the device to decode and render the data directly to the screen. You can incorporate video in your application in any of the following ways:Bundle the original video data in the SWF file.Load an external video file from the device's memory card, or over the network.To control video playback in Flash Lite 2.0 you use the ActionScript Video object. First available in Flash Player 6, the Video object in Flash Lite 2.0 has additional methods for controlling video, as the Video.play() and Video.pause() methods. You can also use the System.capabilities.videoMIMETypes array to determine what video formats a device supports.For more information about the Video object and using video in Flash Lite, see Working with video and images." />
   <page href="00004660.html" title="Loading device-specific sound and image formats" text="Loading device-specific sound and image formatsIn Flash Lite 2.0, you can load any image or sound file that's in a format supported by the device. To load external images, you use the loadMovie() global function, or the MovieClip.loadMovie() method. For example, if the device supports the PNG file format, then you could use the following code to load a PNG file from a web server into the movie clip instance image_mc:image_mc.loadMovie(&quot;http://www.adobe.com/images/mobile.png&quot;To load external sounds, you use the Sound.loadSound() method. In Flash Lite 2.0, you can use this method to load any sound format that the device supports (for example, MIDI or SMAF). External device sounds must fully load into memory before they can play. As in Flash Lite 1.x, in Flash Lite 2.0 you can also play device sound that's bundled in the SWF file. For more information, see Using bundled device sound.For more information about loading external images and sounds, see the following topics:About external imagesPlaying external device sounds" />
   <page href="00004661.html" title="Flash Lite shared objects" text="The Flash Lite 2.0 implementation of shared objects does not allow multiple SWF files to share the same data. Also, none of the Flash Lite versions supports remote shared objects with Flash Media Server.Flash Lite shared objectsFlash Lite shared objects let you save data persistently to the user's device. For example, you might use a shared object to save information between application sessions, such as user preferences or game scores. You use the SharedObject class to read and write Flash Lite shared objects. For more information about using Flash Lite shared objects, see the SharedObject class in the Flash Lite 2.x and 3.0 ActionScript Language Reference." />
   <page href="00004662.html" title="Synchronized device sound" text="Synchronized device soundIn previous versions of Flash Lite you could only synchronize native Flash sound to animation in the timeline. But this was not possible with device sounds, which are played directly by the device, rather than natively by Flash Lite. In Flash Lite 2.0, you can synchronize device sound with the timeline using the new _forceframerate property. When this property is set to true, Flash Lite drops frames as necessary from animation to maintain the frame rate specified in the SWF file. For more information, see Synchronizing device sounds with animation and the _forceframerate property in the Flash Lite 2.x and 3.0 ActionScript Language Reference. " />
   <page href="00004663.html" title="Text features" text="Text featuresThe following features related to text handling are new in Flash Lite 2.0:All text in Flash Lite 2.0 is Unicode-based.Flash Lite 2.0 provides partial support for HTML formatting and the TextFormat ActionScript class.For more information about working with text fields in Flash Lite 2.x, see Working with text and fonts." />
   <page href="00004664.html" title="Additional key support" text="Additional key supportFlash Lite 2.0 provides additional support for device keys, including support for QWERTY keyboards, and up to 12 soft keys (including the standard left and right soft keys)." />
   <page href="00004665.html" title="Creating interactivity and navigation" text="Creating interactivity and navigationTo interact with your Adobe Flash Lite application, a user must be able to determine which object on the screen currently has focus, navigate among objects, and initiate an action by selecting an object or another key. While these basic principles are the same as for desktop applications, some of the functionality varies for mobile devices." />
   <page href="00004666.html" title="User interaction and supported keys" text="User interaction and supported keysAbout user interaction in Flash LiteKeys supported by Flash Lite" />
   <page href="00004667.html" title="About user interaction in Flash Lite" text="About user interaction in Flash LiteFlash Lite supports navigation and user interaction through the device's keypad, or through a stylus or touch-screen interface on devices that provide one. The options available to your application vary depending on the target device and content type. For more information about content types, see &quot;About Flash Lite content types&quot; in Getting Started with Flash Lite 2.x and 3.0.The simplest way to add key-based interactivity to a Flash Lite application is default navigation, which uses the device's four-way keypad like the arrow keys or the Tab and Shift+Tab keys in a desktop application. The user moves the focus to the desired object and then presses the select key. The application includes event handler code to respond to these button events. Default navigation in Flash Lite works with buttons, input text fields, and, optionally, movie clips; it is typically best for simple user interactions such as menus. For more information about default navigation, see Using default navigation in Flash Lite.Applications can also respond to arbitrary keypress events that Flash Lite generates when a user presses a particular key. Event-based navigation allows you to create Flash Lite applications like games that have a complex user interaction model. For more information about events, see About key and button events." />
   <page href="00004668.html" title="Keys supported by Flash Lite" text="DescriptionKeysAvailabilityNumeric, *, #0, 1, 2, 3, 4, 5, 6, 7, 8, 9, *, #All devicesFive-way keypadSelect, up, and downAll devicesLeft and rightDevices that support four-way navigation only (see Default navigation modes)Soft keysLeft and rightDevices that support the SetSoftKeys commandSOFT3 - SOFT12 keysDevices that have more than two soft keysKeyboard keys!, &quot;, #, $, %, &amp;, ', (, ), *, +, ,, -, ., /, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, :, ;, &lt;, +, &gt;, ?, @, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, [, , ], ^, _, ', a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, {, |, }, ~, BackspaceDevices that have a QWERTY keyboardKeys supported by Flash LiteIn addition to the alphanumeric keys available on standard telephones, most mobile devices feature a navigation keypad, which let users navigate and select items on the device screen, and two (or more) soft keys. A device's soft keys are multifunctional keys that use the screen to identify their purpose at any moment.A typical navigation keypad has four navigation keys (up, down, left, and right) and a select key (typically located at the center of the keypad). Different applications can use these keys in different ways. For example, a game might use the navigation keys to let the user move a character on the screen, and then use the select key to perform another action, such as make the character jump.The following images show the most common keys on a generic keypad and on an actual device:Not all devices and Flash Lite content types support all these keys. For example, devices that support two-way navigation don't support the left and right navigation keys (see Default navigation modes). Also, not all devices have access to the device's soft keys. Flash Lite supports the following keys on mobile devices:The following System.Capabilities properties allow you to determine the navigation and selection options available on a device:hasMappableSoftKeyssoftKeyCounthas4WayKeyAShasQWERTYKeyboardhasStylushasMouseFor more information about the System.Capabilites class, see Flash Lite 2.x and 3.0 ActionScript Language Reference." />
   <page href="00004669.html" title="Default navigation" text="Default navigationUsing default navigation in Flash LiteDefault navigation modesAbout the focus rectangleGuidelines for using default navigationCustomizing the focus rectangleControlling focus with ActionScriptCreate a custom text input focus managerControlling tab order in two-way navigation" />
   <page href="00004670.html" title="Using default navigation in Flash Lite" text="Using default navigation in Flash LiteOn desktop Flash applications, the Tab and Shift+Tab keys let users switch focus among objects on the screen. The arrow keys function in a similar way in some other applications. In Flash Lite, the navigation keys on the device's navigation keypad serve the same purpose as the arrow or Tab and Shift+Tab keys in a Flash desktop application. After the desired object has focus, the user can press the select key to trigger an action in the application. You define event handlers to respond when a button or movie clip is selected; for more information, see Handling button events.Default navigation in Flash Lite works with buttons and input text fields. Movie clips are also included if their tabEnabled property is set to true, or if they have event handlers associated with them and their tabEnabled property is not set to false. When an input text field has focus and the user presses the select key, Flash Lite opens the device's generic text input dialog box, in which the user can enter text. For an example of using default navigation, see Create a simple menu using buttons and default navigation." />
   <page href="00004671.html" title="Default navigation modes" text="The tabIndex property is not supported on devices that support four-way navigation, but tabEnabled and tabChildren are, which is different from how these properties work in Flash desktop applications.Default navigation modesFlash Lite supports three modes of default navigation: two-way, four-way, and four-way with wraparound. Different devices and Flash Lite content types support different navigation modes. For information on determining the navigation mode for a specific device and content type, see Playing a device video in the emulator.Two-way navigation in Flash Lite is analogous to tab navigation in Flash desktop applications, where the Tab and Shift+Tab keys navigate among objects on the screen. The down navigation key on the device corresponds to the Tab key, and the up navigation key corresponds to the Shift+Tab key.The default tab order in two-way navigation is generally left-to-right and top-to-bottom. For example, the following image shows a three-by-three grid of Button objects in a Flash Lite application. The numbers above each button indicate the order in which each button's will get keypad focus as the user presses the device's down navigation key repeatedly. After the button in the bottom-right corner has received keypad focus, the focus &quot;wraps around&quot; to the top-left button the next time the user presses the down navigation key.Example tab order in two-way navigationYou can customize the tab order in two-way navigation using the tabIndex property of the Button, MovieClip, and TextField objects. For more information, see Controlling tab order in two-way navigation.For an example of two-way navigation, see the Flash Lite Samples and Tutorials page at www.adobe.com/go/learn_flt_samples_and_tutorials. Locate the .zip file for your version of ActionScript, download and decompress the .zip file, and then navigate to the Samples folder to access the sample file named 2-way.fla.Four-way navigation in Flash Lite is similar to using the arrow keys on a desktop computer's keyboard to navigate among objects on the screen. The device's up, down, left, and right navigation keys correspond to the four arrow keys on a computer's keyboard. Pressing a navigation key moves the keypad focus to the object located in that direction, if one exists. If no object exists in that direction, then the keypad focus does not change from the current object.For an example that uses four-way navigation, see the Flash Lite Samples and Tutorials page at www.adobe.com/go/learn_flt_samples_and_tutorials. Locate the .zip file for your version of ActionScript, download and decompress the .zip file, and then navigate to the Samples folder to access the sample file named 4-way.fla.Four-way navigation with wraparound functions like a combination of standard four-way navigation and two-way navigation. Like standard four-way navigation described previously, users change keypad focus using the device's four-way navigation keys. The difference is that, similar to two-way navigation, keypad focus &quot;wraps around&quot; to the object on the opposite side of the screen. For example, in the image below, the button with the current keypad focus is located at the bottom-left corner of the screen. If the user presses the down navigation key, the next button to receive focus is located in the middle of the top row of buttons.You can test the behavior of two-way and four-way navigation modes in the Adobe Device Central emulator using the samples named 2-way.fla and 4-way.fla located at www.adobe.com/go/learn_flt_samples_and_tutorials. On the Samples and Tutorials page, locate, download and decompress the .zip file for your Flash Lite version, and then navigate to the Samples folder to access the samples. Each sample file consists of the same three-by-three grid of buttons, as discussed previously. The only difference between the sample files is that each FLA file is configured to target a combination of device and Flash Lite content type that supports the navigation mode (two-way or four-way).To use each sample file, open it in Flash and test it in the Adobe Device Central emulator (select Control &gt; Test Movie). Click the arrow keys on the emulator's keypad (or press the arrow keys on your keyboard) to see how each navigation mode affects user navigation." />
   <page href="00004672.html" title="About the focus rectangle" text="About the focus rectangleBy default, Flash Lite draws a yellow rectangle around the button or input text field that has focus. Movie clips are also included if their tabEnabled property is set to true, or if they have event handlers associated with them and their tabEnabled property is not set to false. The focus rectangle lets the user know which object on the screen will respond when the user presses the device's select key. For example, the following image shows the focus rectangle drawn around a button that has the current keypad focus:For buttons and movie clips, the focus rectangle's bounding box is determined by the object's hit area--the invisible region that (in Flash desktop applications) defines the part of the button or movie clip that responds to mouse clicks. For input text fields, the focus rectangle's bounding box is determined by the text field's dimensions. You can customize the color of the focus rectangle or disable it. For more information, see Customizing the focus rectangle." />
   <page href="00004673.html" title="Guidelines for using default navigation" text="Guidelines for using default navigationThe following are guidelines and considerations for using default navigation in your Flash Lite applications.If you disable the default focus rectangle by setting _focusRect to false, be sure to provide an alternative focus indicator for your buttons, input text fields, and tab-enabled movie clips. For buttons, you can do this by adding a visual element to the button's &quot;over&quot; state--the part of a button object's timeline that's displayed when the button has focus. For an example of this technique, see the sample application in Create a simple menu using buttons and default navigation. For input text fields, you can use the Selection object to determine when the text field has received focus and display the desired focus indicator. For an example, see the sample application discussed in Controlling focus with ActionScript.Have at least two objects (input text fields, buttons, tab-enabled movie clips, or a combination) on the screen at the same time. If the screen contains only one input text field, button, or tab-enabled movie clip, the user can't change the focus and may feel stuck in the user interface.If a screen in your application contains only a single button for user interaction, consider detecting a keypress event rather than using button events. For more information, see About key and button events.When appropriate, consider using the Selection.setFocus() method to set the initial focus to a specific object on the screen. This can help guide the user through the interface and reduce the amount of key navigation they must perform. For example, suppose that a screen in your application contains an input text field. Normally, for the user to enter a value in the text field, they would first press a navigation key to give the text field focus, and then press the select key to open the text input dialog box. You could use the following ActionScript to automatically set the keypad focus to the input text field:Selection.setFocus(inputTxtFor more information about controlling focus with ActionScript, see Controlling focus with ActionScript.The alignment of objects on the screen is important with default navigation. When objects are offset from each other on the screen, the sequence in which they get focus may not be intuitive for your users. You can prevent this by making objects consistent in size and aligning them vertically and horizontally as much as possible. With two-way navigation, you can also control the sequence using the tabIndex property; for more information, see Controlling tab order in two-way navigation. " />
   <page href="00004674.html" title="Customizing the focus rectangle" text="Customizing the focus rectangleThe focus rectangle is a default yellow highlight that indicates which button or input text box is currently selected. Movie clips are also included if their tabEnabled property is set to true, or if they have event handlers associated with them and their tabEnabled property is not set to false. For more information, see About the focus rectangle.You can disable the default focus rectangle behavior by setting the global _focusRect property to false. You can also disable the focus rectangle for specific buttons or movie clips (see _focusrect (Button._focusrect property) and _focusrect (MovieClip._focusrect property)) in the Flash Lite 2.x and 3.0 ActionScript Language Reference.You can also change the color of the focus rectangle from the default yellow to any other color. To do this you use the SetFocusRectColor command, which takes RGB values as parameters. For example, the following code changes the color of the focus rectangle to red:fscommand2(&quot;SetFocusRectColor&quot;, 255, 0, 0" />
   <page href="00004675.html" title="Controlling focus with ActionScript" text="Controlling focus with ActionScriptYou can use the Selection ActionScript object to get and set the current keypad focus, or to be notified when an object receives or loses keypad focus. This is useful, for example, if you want to automatically set the focus to a specific button when your application first loads. Or you may want to be notified when a specific object on the screen has received (or lost) keypad focus so that you can update the screen accordingly.For example, the following code uses the Selection.setFocus() method to set focus to the button instance named login_btn:Selection.setFocus(login_btnThe Selection.onSetFocus event listener lets you determine when the keypad focus has changed. You can use this event listener, for example, to create a custom focus manager for input text fields, rather than use the default focus rectangle. The following procedure shows how to create a custom focus manager that changes the border color of the TextField object with focus. For a sample of the completed application (custom_focus_manager.fla), see the Flash Lite Samples and Tutorials page at www.adobe.com/go/learn_flt_samples_and_tutorials. Locate the .zip file for your version of ActionScript, download and decompress the .zip file, and then navigate to the Samples folder to access the sample." />
   <page href="00004676.html" title="Create a custom text input focus manager" text="Create a custom text input focus managerCreate a new document from the Flash Lite 2.0 template that you created in &quot;Creating a Flash Lite document template&quot; in Getting Started with Flash Lite 2.x and 3.0, and save it as custom_focus_manager.fla.Using the Text tool, create a text field on the Stage. With the text field still selected, in the Property inspector, select Input Text from the Text Type pop-up menu, type inputTxt_1 in the Instance Name text box, and select the Show Border Around Text option.In the same manner, create another input text field below the first one with the instance name of inputTxt_2 and select the Show Border Around Text option for the second text field.In the Timeline, select Frame 1 in the layer named ActionScript.Open the Actions panel (Window &gt; Actions) and enter (or copy and paste) the following code:// Disable focus rect globally:_focusrect = false;// Create Selection listener object:var focusListener:Object = new Object (// Define onSetFocus method:focusListener.onSetFocus = function (oldFocus, newFocus) { // Enable/disable selection indicator: if (newFocus instanceof TextField) { // Set border color of text field with new focus to red: newFocus.borderColor = 0xFF0000; } if (oldFocus != undefined &amp;&amp; oldFocus instanceof TextField) { // Set border color of text field with old focus to black: oldFocus.borderColor = 0x000000; }};// Add listener to Selection object:Selection.addListener (focusListener// Set initial focus when application loads:Selection.setFocus (inputTxt_1// Enable full-screen mode:fscommand2 (&quot;FullScreen&quot;, trueSave your changes and test the application in the emulator (Control &gt; Test Movie).Press the emulator's down and up arrow keys to switch keypad focus between the two text fields. The text field with focus should have a red border, and the text field without focus should have a black border. Press the select key when a text field has focus to make the text input dialog box appear." />
   <page href="00004677.html" title="Controlling tab order in two-way navigation" text="Controlling tab order in two-way navigationTwo-way navigation in Flash Lite is analogous to tab navigation in Flash, and therefore supports the tabIndex property that allows you to specifically set the tab order of buttons, movie clips, and input text fields. On devices that support four-way navigation, the tabIndex property is not supported, so it's not possible to set tab order using the tabIndex property for four-way navigation.To control tab order in two-way navigation, you assign each object's tabIndex property a number that specifies the object's order in the default navigation. For example, suppose that an application contains a button (my_button), a movie clip (my_movieclip), and an input text field (my_inputTxt). The following code establishes the tab order so that the button gets focus first, then the movie clip, and finally the input text field.my_button.tabIndex = 1;my_movieclip.tabEnabled = true;my_movieclip.tabIndex = 2;my_inputTxt.tabIndex = 3;" />
   <page href="00004678.html" title="Key and button events" text="Key and button eventsAbout key and button eventsHandling button eventsCreate a button event handlerCreate a simple menu using buttons and default navigationHandling key eventsWriting an event listenerHandle keypress events through a key listenerUsing the soft keysUse the soft keys in an application" />
   <page href="00004679.html" title="About key and button events" text="About key and button eventsEvent handlers and event listeners specify how the application will respond to user- and system-generated occurrences. For example, when a button has focus and the user presses the select key, an onPress event is generated. In addition to using default navigation and responding to related events, a Flash Lite application can listen for and respond to keypress events.Not all devices and content types support all device keys. For example, on a device that supports two-way navigation (see Default navigation modes) Flash Lite doesn't generate keypress events for the left and right arrow keys. For a list of keys and description of their availability, see Keys supported by Flash Lite. " />
   <page href="00004680.html" title="Handling button events" text="Button eventDescriptiononDragOut Supported only on devices that have a mouse or stylus. Invoked when the user presses the mouse button over the button and the pointer is then dragged outside of the button.onDragOver Supported only on devices that have a mouse or stylus. Invoked when the user presses and drags the mouse button outside and then over the button.onKeyDown Invoked when the button has focus and a key is released.onKeyUp Invoked when the button has focus and a key is pressed.onKillFocus Invoked when focus is removed from a button.onPress Invoked when the user presses the select key on the device when the button has focus.onRelease Invoked when the user releases the select key on the device when the button has focus.onReleaseOutside Invoked when the mouse button is released while the pointer is outside the button after the button is pressed while the pointer is inside the button. onRollOut Invoked when a button loses focus.onRollOver Invoked when a button receives focus.onSetFocus Invoked when a button has input focus and a key is released.Handling button eventsYou can use buttons to quickly add interactivity to your Flash Lite applications. Flash Lite supports the same button events as Flash Player on desktop computers, although some events (for example, onDragOut) are only available on devices that have a mouse or stylus interface. On devices that have a keypad interface only, a button must have keypad focus before it will generate any events. Flash Lite supports the following ActionScript button events:The following procedure demonstrates how to create a simple application that handles button events. For an example of using buttons to create a menu, see Create a simple menu using buttons and default navigation." />
   <page href="00004681.html" title="Create a button event handler" text="Create a button event handlerCreate a new document from the Flash Lite 2.0 template that you created in &quot;Creating a Flash Lite document template&quot; in Getting Started with Flash Lite 2.x and 3.0, and save it as custom_focus_manager.fla.Select Window &gt; Common Libraries &gt; Buttons to open an external library of prebuilt button symbols.In the Library panel, double-click the classic buttons folder to open it, and then open the Circle Buttons folder.Drag an instance of the Menu button symbol to the Stage.In the Property inspector, in the Instance Name text box, type btn_1.Drag another instance of the same button to the Stage and position it directly below the first button.In the Property inspector, in the Instance Name text box, type btn_2.In the Timeline, select Frame 1 in the layer named ActionScript.Open the Actions panel (Window &gt; Actions) and enter the following code:// Disable the focus rectangle because buttons have an over state_focusRect = false;// Event handlers for btn_1btn_1.onPress = function() { trace(&quot;You pressed Button 1&quot;}btn_1.onRelease = function() { trace(&quot;You released Button 1&quot;}btn_1.onRollOver = function() { trace(&quot;Button 1 has focus&quot;}btn_1.onRollOut = function() { trace(&quot;Button 1 lost focus&quot;}// Event handlers for btn_2btn_2.onPress = function() { trace(&quot;You pressed Button 2&quot;}btn_2.onRelease = function() { trace(&quot;You released Button 2&quot;}btn_2.onRollOver = function() { trace(&quot;Button 2 has focus&quot;}btn_2.onRollOut = function() { trace(&quot;Button 2 lost focus&quot;}Test the application in the emulator (Control &gt; Test Movie).Watch the messages in the Output panel as you press the up and down arrow keys on the emulator's keypad.Other types of objects support different events; for example, the TextField object includes an onChanged event that is invoked when the content of a text field changes. You can write event handler code for these events using the same format as the button event handlers in this procedure. For more information about the events supported for text fields and movie clips, see the TextField and MovieClip entries in the Flash Lite 2.x and 3.0 ActionScript Language Reference." />
   <page href="00004682.html" title="Create a simple menu using buttons and default navigation " text="Create a simple menu using buttons and default navigation To create a simple menu using buttons and default navigation, you need to design the menu and then write event handling code for it. To create the menu, you'll use three button symbols, one for each menu option. Then you'll write event handling code that displays a message when the user rolls over each menu item--that is, when the user gives focus to the corresponding button--and when the user selects the menu item by pressing the select key on the device. For more information about handling button events in Flash Lite, see Handling button events.Start with a partially completed Flash document. You can change these settings to target a different device and content type (see Using the emulator).Download and open the file named simple_menu_start.fla located at www.adobe.com/go/learn_flt_samples_and_tutorials. On the Samples and Tutorials page, locate, download and decompress the .zip file for your Flash Lite version, and then navigate to the Samples folder to access the sample.Open the Library panel (Window &gt; Library).Notice that the Library contains three button symbols named News Button, Weather Button, and Sports Button.In the Timeline (Window &gt; Timeline), select the layer named Menu Buttons.Drag an instance of the News Button symbol from the Library panel to the Stage.In the Property inspector, in the Instance Name text box, type btn_news.Repeat steps 4 and 5 for the Sports and Weather buttons, naming them btn_sports and btn_weather, respectively.Align the three buttons vertically, as shown in the following example:In the Tools panel, select the Text tool and create a text field along the bottom of the Stage.This text field displays a short message when the user rolls over each menu item.With the new text field still selected, do the following in the Property inspector:Select Dynamic Text from the Text Type pop-up menu.Type txt_status in the Instance Name text box.The Stage should look something like the following image:In the Timeline, select Frame 1 in the layer named ActionScript.Open the Actions panel (Window &gt; Actions) and enter the following code:// Disable the focus rectangle because buttons have an over state_focusRect = false;btn_news.onRollOver = function() { txt_status.text = &quot;Press to select News&quot;;}btn_news.onPress = function() { txt_status.text = &quot;You selected News&quot;;}btn_sports.onRollOver = function() { txt_status.text = &quot;Press to select Sports&quot;;}btn_sports.onPress = function() { txt_status.text = &quot;You selected Sports&quot;;}btn_weather.onRollOver = function() { txt_status.text = &quot;Press to select Weather&quot;;}btn_weather.onPress = function() { txt_status.text = &quot;You selected Weather&quot;;}Select Control &gt; Test Movie to preview the application in the emulator.Click the down arrow key on the emulator with your mouse (or press the down arrow key on your computer's keyboard) to navigate between menu options; to select a menu item, click the emulator's select key by using your mouse (or press the Enter key on your computer's keyboard)." />
   <page href="00004683.html" title="Handling key events" text="Device keyActionScript key code/key code constantSelect keyKey.ENTERUp navigation keyKey.UPDown navigation keyKey.DOWNLeft navigation keyKey.LEFTRight navigation keyKey.RIGHTLeft soft keyExtendedKey.SOFT1 (or soft1)Right soft keyExtendedKey.SOFT2 (or soft2)048149250351452553654755856957*56#51Handling key eventsFlash Lite generates keypress events in response to the user pressing keys on the device. You can write key handler code to respond to these events. For a list of the keys that Flash Lite supports, see Keys supported by Flash Lite.The following table lists commonly used device keys and the corresponding ActionScript key codes and key code constants for those keys:" />
   <page href="00004684.html" title="Writing an event listener" text="Writing an event listenerEvent listeners let an object, called a listener object, receive events broadcast by another object, called a broadcaster object. The broadcaster object registers the listener object to receive events generated by the broadcaster. For more information, see &quot;Using event listeners&quot; in Learning ActionScript 2.x in Flash. A easy way to handle keypress events is to create a key listener object that defines an onKeyDown or onKeyUp function, and then register that object with the Key.addListener() method. The following example code defines a key listener that responds when the user presses the right navigation key on the device:var myListener:Object = new Object(myListener.onKeyDown = function() { if (Key.getCode() == Key.RIGHT) { trace(&quot;You pressed the right arrow key&quot; }}Key.addListener(myListener" />
   <page href="00004685.html" title="Handle keypress events through a key listener" text="Handle keypress events through a key listenerCreate a new document from the Flash Lite 2.0 template that you created in &quot;Creating a Flash Lite document template&quot; in Getting Started with Flash Lite 2.x and 3.0, and save it as keylistener.fla.Select the layer in the Timeline named Content. Using the Oval tool, create an oval or circle on the Stage and convert it to a movie clip.With the new movie clip selected, in the Property inspector, type circle in the Instance Name text box.In the Timeline, select the first frame in Layer 1.Open the Actions panel (Window &gt; Actions), and enter the following code:var myListener:Object = new Object(myListener.onKeyDown = function() { if (Key.getCode() == Key.LEFT) { circle._x -= 10; } else if (Key.getCode() == Key.RIGHT) { circle._x += 10; } else if (Key.getCode() == Key.UP) { circle._y -= 10; } else if (Key.getCode() == Key.DOWN) { circle._y += 10; }};Key.addListener(myListenerTest the application by selecting Control &gt; Test Movie.Press the four navigation keys on the emulator's keypad (or the corresponding arrow keys on your keyboard) to make the circle move around the Stage." />
   <page href="00004686.html" title="Using the soft keys" text="Using the soft keysTo use the soft keys in your Flash Lite application, you must first call the SetSoftKeys command. Subsequently, Flash Lite generates an ExtendedKey.SOFT1 event when the user presses the left soft key and an ExtendedKey.SOFT2 event when the user presses the right soft key. You write ActionScript event handler code that responds to these events and takes the desired action.The SetSoftKeys command takes two parameters that specify the labels for the left and right soft keys, respectively, that appear when your application is not running in full-screen mode. For applications running in full-screen mode, the labels that you specify are not visible, so you must create your own labels and position them on the Stage where the soft keys are located. For example, consider the following SetSoftKeys command call:fscommand2(&quot;SetSoftKeys&quot;, &quot;Options&quot;, &quot;Exit&quot;The following example shows the result of using this command in an application running on an actual device in normal (not full-screen) mode:If you enable full-screen mode--that is, if you call fscommand(&quot;fullscreen&quot;, true)--the labels that you specify as parameters to the SetSoftKeys command are not visible. Consequently, in full-screen mode applications, you must create your own soft key labels, as shown in the following example:For more information about the SetSoftKeys command, see the fscommand2 function entry in the Flash Lite 2.x ActionScript Language Reference." />
   <page href="00004687.html" title="Use the soft keys in an application" text="Use the soft keys in an applicationCreate a new document from the Flash Lite 2.0 template that you created in &quot;Creating a Flash Lite document template&quot; in Getting Started with FlashLite 2.x and 3.0, and save it as softkey.fla.Using the Text tool, create a static text field named Left and position it in the lower-left corner of the Stage, above the left soft key on the device.Create another static text field named Right, and position it in the lower-right corner of the Stage, above the right soft key on the device.Using the Text tool, create a dynamic text field, and position it in the middle of the Stage.Your document's Stage should look like the following example:With the dynamic text field still selected, in the Property inspector, type status in the Instance Name text box.Open the Actions panel (Window &gt; Actions) and, in the Timeline, select Frame 1 in Layer 1.In the Actions panel, type the following code:fscommand2(&quot;SetSoftKeys&quot;, &quot;Left&quot;, &quot;Right&quot;fscommand2(&quot;FullScreen&quot;, trueCreate and register an object to respond to keypress events (see Handle keypress events through a key listener) by entering the following code in the Actions panel:var myListener:Object = new Object(myListener.onKeyDown = function() { if (Key.getCode() == ExtendedKey.SOFT1) { // Handle left soft keypress event. status.text = &quot;You pressed the Left soft key.&quot;; } else if (Key.getCode() == ExtendedKey.SOFT2) { // Handle right soft keypress event. status.text = &quot;You pressed the Right soft key.&quot;; }};Key.addListener(myListenerSelect Control &gt; Test Movie to test the application in the emulator.To test the application, click the left and right soft keys on the emulator with your mouse, or press the Page Up and Page Down keys on your keyboard." />
   <page href="00004688.html" title="Working with text and fonts" text="Working with text and fontsYou can add static and dynamic text fields and add input text fields to your Macromedia Flash Lite 2.x from Adobe and Adobe Flash Lite 3.0 applications." />
   <page href="00004689.html" title="Text" text="TextAbout text in Flash LiteCreating and formatting text" />
   <page href="00004690.html" title="About text in Flash Lite" text="About text in Flash LiteFlash Lite 2.x and 3.0 support the following text features:Static, dynamic, and input text fieldsAt run time, the contents of a static text field can't change, but the contents of a dynamic or input text field can change. Input text fields allow users to enter text. Flash Lite 2.x and 3.0 support inline text input on most devices. On devices that support complex languages and in Flash Lite 2.0, input text fields use the device's generic text input mechanism. For more information about input text fields, see Using input text fields.Embedded and device fontsYou can have Flash Lite render text fields using font outlines that you embed in the SWF file or using fonts available on the device. For more information about font rendering methods, see Font rendering methods in Flash Lite.Unicode text encodingFlash Lite can display text in any language as long as fonts containing the required character glyphs are available. For information on multilanguage authoring in Flash, see &quot;Creating Multilanguage Text&quot; in Using Flash.Partial support for HTML formatting and the TextFormat class propertiesScrolling textFlash Lite does not support all the text features that are in the desktop version of Flash Player. Flash Lite has the following limitations:Advanced anti-aliasing, the enhanced font rendering technology available in Macromedia Flash Player 8 from Adobe and later, is not supported.Text formatting is supported, but only the color, face, size, bold, and italic options are available. Also, formatting is not displayed if the device text font does not include the selected option. For example, a field formatted as italic appears as regular text when the device font does not include an italic version.Device text cannot be masked, used as a mask, or rendered with transparency.The Render Text As HTML formatting option is partially supported for input and dynamic text fields. Text is displayed without visible HTML tags, but formatting is honored only for the following tags: p, br, sbr, font (with face, color, and size attributes), b, and i. Flash Lite does not support Cascading Style Sheets (CSS).Flash components, including Label, TextArea, and TextInput, are not supported.The TextField and TextFormat objects are partially supported, and additional limitations apply for Arabic, Hebrew, and Thai. For more information, see the Flash Lite 2.x and 3.0 ActionScript Language Reference.The XML and XMLNode objects are supported. Flash Lite 2.1 and later adds support for inline text input, predictive text engines, and XMLSocket:Inline text input support lets the user enter text directly into text fields.Predictive text support enables functionality such as word completion and candidate lists. Flash Lite 2.1 and later supports the top predictive text engines (such as T9, eZiTap/eZiText, and iTap) on any platform, as long as they are implemented similarly to the standard APIs provided by the predictive text engine vendors. XMLSocket support extends the Flash desktop support to Flash Lite, and enables developers to create continuous, low-latency data connections for applications such as games and chat." />
   <page href="00004691.html" title="Creating and formatting text" text="Creating and formatting textYou create and format text in Flash Lite as you would for a Flash desktop application.For more information about working with text in Flash, see the following topics in &lt;br /&gt;Using Flash:&quot;Creating text&quot; &quot;Setting text attributes&quot; &quot;Editing text&quot; &quot;Controlling text with ActionScript&quot; For a list of text features that are not supported in Flash Lite, see &quot;About text in Flash Lite&quot; on page 33." />
   <page href="00004692.html" title="Text input " text="Text input Using input text fieldsUsing inline text input (Flash Lite 2.1 and later)Inline input text fields and navigationActivating input text fields with ActionScriptInput mode indicatorAbout the device's input text dialog box (Flash Lite 2.0)Specifying types of input text fieldsRestricting character inputInput text dialog boxes (Flash Lite 2.0)Create a text field sample application" />
   <page href="00004693.html" title="Using input text fields" text="Using input text fieldsFlash Lite 2.1 and later supports inline text input. This features lets users edit text fields directly in the Flash Lite application, rather than in a separate text input box as in earlier versions. For example, the following figure shows how an inline input text field appears on a Series 60 device from Nokia:Flash Lite 2.1 and later supports inline text input for Latin and Asian languages but not complex languages, which include right-to-left languages such as Arabic, Hebrew, Urdu, Farsi, and Yiddish, as well as some Asian languages.On devices running Flash Lite 2.0 and Flash Lite 1.1, and in the Adobe Device Central emulator for all versions, users edit the contents of input text fields using a modal dialog box that appears over the Flash Lite content. For example, the following figure shows an example of a text input dialog box on a Symbian&#8482; Series 60 device running Flash Lite 2.0:In general, existing Flash Lite 2.0 and Flash Lite 1.1 applications can work without modification in Flash Lite 2.1 and later. In place of the modal dialog box, users can simply edit input text fields inline. However, legacy content should be re-authored to use the features that are available only in Flash Lite 2.1 and later, such as the ability to set text selections or the activateTextField command. For more information about the input text dialog box, see &quot;Using the device's input text dialog box (Flash Lite 2.0)&quot; on page 40." />
   <page href="00004694.html" title="Using inline text input (Flash Lite 2.1 and later)" text="The Flash Lite emulator on Adobe Device Central does not show inline text. For more information, see &quot;Testing inline text in Flash Lite 2.1&quot; on page 122.Using inline text input (Flash Lite 2.1 and later)Flash Lite 2.1 and later supports inline text input, which allows users to enter and edit text directly in an input text field. While entering text in a Flash Lite application, users interact with the device's native input method editor (IME)--the Flash Lite player does not process the user input itself. While an input text field is active, the Flash Lite 2.1 and 3.0 player runs in restricted mode. In this mode, the device's native IME handles all keypress events, and no ActionScript is processed. In addition, all animation, sound, and stop-video-playing events are ignored. After a text field is deactivated, Flash Lite resumes normal operating mode.Before a text field can accept text input from a user, it must be activated. A user can activate an input text field by giving it selection focus and then either pressing the device's select key or pressing a soft key for which the application sets the text entry to the focused state. (For details about activating a text field, see &quot;Activating input text fields with ActionScript&quot; on page 38.)The following figure shows the different states of an input text field: not selected, selected (but not activated), and activated:" />
   <page href="00004695.html" title="Inline input text fields and navigation" text="Inline input text fields and navigationAn activated text field contains a pointer that indicates the current insertion point. The user can change the pointer's location within the text field using the device's navigation keys. By default, Flash Lite draws a focus rectangle around the text field that has the current focus. This focus rectangle can sometimes obscure an activated text field's flashing pointer or insertion indicator. For this reason, it's recommended that you disable the focus rectangle (by setting _focusRect to false) and use a custom focus indicator. For an example of an application that uses a custom focus indicator, see the Flash Lite Samples and Tutorials page at www.adobe.com/go/learn_flt_samples_and_tutorials. Locate the ZIP file for your version of ActionScript, download and decompress the ZIP file, and then navigate to the Samples folder to access the sample. " />
   <page href="00004696.html" title="Activating input text fields with ActionScript" text="Activating input text fields with ActionScriptA user can activate an input text field that has keypad focus by pressing the device's select key. A Flash Lite application can also automatically activate an input text field when it receives focus using the activateTextField command. This command activates the currently selected text field; if there is no selected field when the command is executed, nothing happens.The most common place to call activateTextField is from within a Selection.onSetFocus handler or a TextField.onSetFocus handler. For example, suppose that your application contains two (or more) input text fields on the Stage. The following code automatically activates the text field that receives focus:var focusListener:Object = new Object (focusListener.onSetFocus = function (oldFocus, newFocus) { // Call activateTextField: fscommand (&quot;activateTextField&quot;, &quot;&quot;};TextField1.addListener (focusListenerYou can also use the TextField.prototype.onSetFocus handler to activate all text fields whenever they receive focus. It is also possible to use keys other than the device's select key to trigger the activateTextfield command. The following code activates a text field for all number keys, which makes it easier to enter (for example) the letter &quot;a&quot;. For example, if the application includes activateTextfield in the TextField.onSetFocus handler, the user would have to press Select and then 2; this code allows the user press 2 twice, which is more intuitive. var keyListener:Object = new Object(keyListener.onKeyDown = function() { if (Key.getCode() &gt;= 48 &amp;&amp; Key.getCode() &lt;= 57 ){ fscommand(&quot;activateTextField&quot;, &quot;&quot; }Selection.addListener (keyListener};For a completed sample application that uses this technique, see the Inline Text Input sample at www.adobe.com/go/learn_flt_samples_and_tutorials. Locate the ZIP file for your version of ActionScript, download and decompress the ZIP file, and then navigate to the Samples folder to access the sample. " />
   <page href="00004697.html" title="Input mode indicator" text="Input mode indicatorTo assist users with common text input tasks, most devices provide several input modes, such as predictive or manual (triple tap or multi tap) text entry, or all number-only modes. When Flash Lite is running in full screen mode, the device displays a letter A for alpha input mode and a number sign (#) for numeric input mode. When Flash Lite is not running in full screen mode, the device could draw an input mode indicator on a status bar or some other location on the display. For example, the following image shows the input mode indicator in non-full screen mode on the Series 60 stand-alone version of Flash Lite 2.1:When the player is running in full-screen mode, the device may draw an input mode indicator to a location of its choice on the display. For example, the following figure shows the input mode indicator in full screen mode on the Series 60 stand-alone version of Flash Lite 2.1:The input mode indicator for full screen applications shown in the previous figure is a reference implementation for the stand-alone Series 60 player. The specific indicator, if any, that appears is determined by the device. " />
   <page href="00004698.html" title="About the device's input text dialog box  (Flash Lite 2.0)" text="About the device's input text dialog box &lt;br /&gt;(Flash Lite 2.0)To open the device's input dialog box, users must first give an input text field focus, and then press their device's select key. The text input dialog box is modal, which means that the user can't interact with the Flash content while the dialog box has focus. Flash Lite also pauses the playhead in the Flash application while the dialog box has focus. If the user selects OK (the left soft key), the text input dialog box closes, and Flash Lite automatically assigns the text to the input text field. If the user selects Cancel (the right soft key), no text is assigned to the input text field.The Adobe Device Central emulator mimics the features of the text input dialog box when you test your application in the Flash authoring tool. The following image shows the text input dialog box running in the emulator:For an example of using an input text field in an application, see &quot;Text field example application&quot; on page 47." />
   <page href="00004699.html" title="Specifying types of input text fields" text="Specifying types of input text fieldsFlash Lite supports single line, multiline, and password input text fields. You specify an input text field's type by using the Line Type pop-up menu in the Property inspector, as the following image shows:The line type that you specify for an input text field determines the behavior of the device's input text dialog box when a user edits the text field. For example, when a user edits a single line input text field, the device's input text dialog box shows a single line input text box. The input text box scrolls horizontally if the user enters more characters than can be displayed. " />
   <page href="00004700.html" title="Restricting character input" text="Restricting character inputYou can use the SetInputTextType command to restrict the characters that the user can enter in the text input dialog box. For example, suppose an application contains an input text field for users to provide a numeric value, such as their age, and that the input text field has the variable name ageVar. To ensure that the user enters only numeric values in the text input dialog box, you could add the following code to your application:fscommand2(&quot;SetInputTextType&quot;, &quot;ageVar&quot;, &quot;Numeric&quot;When users open the input text dialog box, they can enter only numeric values in the text fields.For more information, see SetInputTextType in the fscommand2 function entry in the Flash Lite 2.x and 3.0 ActionScript Language Reference." />
   <page href="00004701.html" title="Input text dialog boxes (Flash Lite 2.0)" text="Input text dialog boxes (Flash Lite 2.0)In Flash Lite 2.0, the user enters text into a separate modal dialog box (controlled by the host application, not Flash Lite) rather than interacting with the onscreen text field directly. During this interaction, the Flash Lite player is effectively paused until the user exits the dialog box.(In Flash Lite 2.1 and later, the user can enter text directly into the onscreen text field.)The following image shows a device's input text dialog box for a single line input text field in a Flash Lite 2.0 application:When a user edits a multiline input text field, the device's input text dialog box expands as necessary to display all the text the user enters, as the following image shows:When a user edits a password input text field, the device's input text dialog box displays each character that the user enters. When the user clicks OK, the entire password is masked with asterisks, as the following image shows:" />
   <page href="00004702.html" title="Create a text field sample application" text="Create a text field sample applicationThis simple application gets text input from the user, and then formats and displays that text in an HTML-enabled dynamic text field. The application also uses the SetFocusRectColor command to change the focus rectangle color from the default color (yellow) to black.For a completed sample application (textfield_example.fla) that uses this technique, see www.adobe.com/go/learn_flt_samples_and_tutorials. Locate the ZIP file for your version of ActionScript, download and decompress the ZIP file, and then navigate to the Samples folder to access the sample. In Flash, create a new document from the Flash Lite 2.0 template that you created earlier in &quot;Creating a Flash Lite document template (Flash Professional only)&quot; in Getting Started with Flash Lite 2.x and 3.0, and save it as textfield.fla.Using the Text tool in the Tools panel, create a single-line text field across the top of the Stage.With the text field still selected, in the Property inspector, select Input Text from the Text Type pop-up menu, select Use Device Fonts from the Font Rendering Method pop-up menu, and type inputTxt in the Instance Name text box.Create another text field below the first that is several times taller than the first one, as shown below:With the second text field selected, in the Property inspector, select Dynamic Text from the Text Type pop-up menu, select Multiline from the Line Type pop-up menu, select the Render Text As HTML option, select Use Device Fonts from the Font Rendering Method pop-up menu, and type messageTxt in the Instance Name text box.In the Timeline, select Frame 1 on Layer 1.Open the Actions panel (Window &gt; Actions) and enter the following code:Selection.setFocus(inputTxtfscommand2(&quot;SetFocusRectColor&quot;, 0, 0, 0inputTxt.onChanged = function() { messageTxt.htmlText = &quot;You entered: &lt;i&gt;&quot; + this.text + &quot;&lt;/i&gt;&quot;;}The Selection.setFocus() method sets the initial focus to the input text field (inputTxt). Next, the fscommand2() function call specifies a custom focus rectangle color. Last, the input text field's onChanged event handler, called whenever the contents of the input text field changes, formats and displays the text that the user entered in the messageTxt text field.Save your changes and start the application in the emulator (Control &gt; Test Movie).To use the application, press the emulator's select key to open the text input dialog box and enter some text using your computer's keyboard. Then click OK to close the dialog box. The text that you entered appears in the messageTxt text field in italics." />
   <page href="00004703.html" title="Font rendering" text="Font renderingFont rendering methods in Flash LiteSelect a font rendering method for a text fieldFlash Lite rendering quality and anti-aliased textEmbedding font outlines in SWF filesEmbed font outlines for a dynamic or input text field" />
   <page href="00004704.html" title="Font rendering methods in Flash Lite" text="Font rendering methods in Flash LiteFlash Lite can render text field fonts in any of the following ways: Use fonts that are available on the device You can apply a font to a text field that you know is available on the device, or you specify one of the three generic device fonts (_sans, _serif, or _typewriter) that are available in the Font pop-up menu. If you select a generic device font, Flash Lite tries to match the selected generic font to a font on the device at run time (for example, _sans is mapped to a sans serif font, if available).Render the font as a bitmap Flash Lite renders bitmap text by aligning font outlines to pixel boundaries, which makes text readable at small point sizes (such as 10 points or smaller). This option requires that you include font outlines in the published SWF file for the selected font. (See Embedding font outlines in SWF files.) Render the font as anti-aliased vectors Flash Lite renders anti-aliased text using vector-based representations of font outlines, which you embed in the published SWF file. (See Embedding font outlines in SWF files.)You select a font rendering method for a text field using the Font Rendering Method pop-up menu located in the Property inspector. The Font Rendering Method pop-up menu contains five rendering options; however, only three of those are available to Flash Lite developers. The other two methods (Anti-Alias For Readability and Custom Anti-Alias) are available only to applications that are targeting Flash Player 8 or later on desktop computers.Below are some guidelines to consider when you choose between anti-aliased, bitmap, and device text:If you're using embedded fonts with dynamic or input text fields, embed the outlines only for the characters that you need to display. This will help to reduce file size. For example, if you're using an input text field to capture a user's age (a number), include only the font outline for number characters (0-9). In this case, consider restricting the character input to numbers (see Font rendering methods in Flash Lite).The Adobe Device Central emulator does not emulate device fonts, unless you have the same fonts installed on the computer that you're using to develop the content. Therefore, the layout and appearance of your device text field might be different in the emulator than on the device.If you apply one of the generic device font faces (_sans, _serif, or _typewriter), Flash Lite tries to find a similar font on the device to display the text. However, because mobile devices typically have fewer fonts and font styles than a desktop computer, a font such as _sans might not map to a sans serif font. You must test the application on each target device to determine the proper font settings.Anti-aliased text in Flash Lite is, essentially, a complex vector shape. Like any vector shape, it takes some processing power to render. Because processing speed on most devices is relatively slow, animating a lot of anti-aliased text may degrade application performance. To improve performance, try temporarily lowering the Flash Lite player's rendering quality during the animation, and then returning it to the higher rendering quality when the animation is complete. " />
   <page href="00004705.html" title="Select a font rendering method for a text field" text="Select a font rendering method for a text fieldSelect a text field on the Stage.In the Property inspector, select one of the following options from the Font Rendering Method pop-up menu:Select Use Device Fonts to have Flash Lite use a font that is available on the device. No font data is embedded in the published SWF file.Select Bitmap Text (No Anti-Alias) to have Flash Lite align font outlines along pixel boundaries, which makes small text appear crisp and clear. This option requires that Flash embed font outlines in the published SWF file. (See Embedding font outlines in SWF files.)Select Anti-Alias For Animation to have Flash Lite anti-alias the text field's font according to the current rendering quality setting (see Flash Lite rendering quality and anti-aliased text). This option requires that Flash embed font outlines in the published SWF file." />
   <page href="00004706.html" title="Flash Lite rendering quality and anti-aliased text" text="Flash Lite rendering quality and anti-aliased textFlash Lite has three rendering quality settings: low, medium, and high. The higher the rendering quality setting, the more smoothly and accurately Flash Lite renders vector outlines; a lower quality setting results in less smoothly drawn outlines. By default, Flash Lite renders outlines using medium quality. You can control the rendering quality using the SetQuality command (see SetInputTextType in the fscommand2 function entry in the Flash Lite 2.x and 3.0 ActionScript Language Reference).Flash Lite renders anti-aliased text using vector representations of font outlines. If you want anti-aliased text to appear as smooth as possible, you should set the player's rendering quality to high. Rendering quality affects all vector content on the screen, not just anti-aliased text. The following figure shows an anti-aliased text field (Arial, 24 point) rendered at high, medium, and low qualities:To maximize animation performance and frame rate--for example, during an intensive animation or tween sequence--you can temporarily set the rendering quality to a lower setting and return it to the previous setting after the animation has completed." />
   <page href="00004707.html" title="Embedding font outlines in SWF files" text="Embedding font outlines in SWF filesTo render a text field's font, Flash Lite can either use fonts that are available on the device or use font outlines that are embedded in the published SWF file (see Font rendering methods in Flash Lite). Embedding font outlines in the SWF file ensures that the text field's font appears the same on all target platforms, but results in a larger file size. Flash Lite requires font outlines to render either bitmap (no anti-alias) or anti-aliased text. For static text fields that use the anti-alias or bitmap font rendering methods, Flash automatically embeds the font outlines required to display the text field's contents. For example, if a static text field contains the word Submit, Flash automatically embeds the font outlines required to display those six characters (S, u, b, m, i, and t). Because the contents of a static text field can't change, the SWF file needs to include font outlines only for those characters.For dynamic and input text fields that use the anti-alias or bitmap font rendering methods, you must specify the characters whose font outlines you want to embed in the published SWF file. The contents of those types of text fields can change during playback; consequently, Flash can't assume which font outlines need to be available. You can include font outlines for all characters in the selected font, a range of characters, or specific characters. You use the Character Embedding dialog box to specify which characters you want to embed in the published SWF file." />
   <page href="00004708.html" title="Embed font outlines for a dynamic or input text field" text="Embed font outlines for a dynamic or input text fieldSelect the dynamic or input text field on the Stage.In the Property inspector, select Bitmap (No Anti-Alias) or Anti-Alias For Animation from the Font Rendering Method pop-up menu.Click the Embed button located next to the Font Rendering Method menu to open the Character Embedding dialog box.Select the characters you want to embed from the list, type the characters that you want to embed in the text box, or click Auto Fill to include the characters that are in the selected text field.Click OK." />
   <page href="00004709.html" title="Scrolling text" text="Scrolling textCreating scrolling textCreate a scrolling text field and control it with ActionScript" />
   <page href="00004710.html" title="Creating scrolling text" text="Creating scrolling textFlash Lite supports the TextField.scroll and TextField.maxscroll properties, which let you create scrolling text fields. The scroll property specifies the first visible line in a text block; you can get and set its value. For example, the following code scrolls the text field whose variable name is story_text down by five lines:story_text.scroll += 5;The maxscroll property specifies the first visible line in a text block when the last line of the text is visible in the text block; this property is read-only. You can compare a text field's maxscroll property to its scroll property to determine how far a user has scrolled within a text field. This is useful if you want to create a scroll bar that provides feedback about the user's current scroll position relative to the maximum scroll position." />
   <page href="00004711.html" title="Create a scrolling text field and control it with ActionScript" text="Create a scrolling text field and control it with ActionScriptIn Flash, create a new document from the Flash Lite 2.0 template that you created earlier in &quot;Creating a Flash Lite document template&quot; in Getting Started with Flash Lite 2.x and 3.0. Using the Text tool, drag a text field approximately the size shown in the following image on the Stage:Select Multiline from the Line Type pop-up menu in the Property inspector.Select Dynamic Text from the Text Type pop-up menu in the Property inspector.Select Use Device Fonts from the Font Rendering Method pop-up menu in the Property inspector.Select Text &gt; Scrollable to make the text field scrollable.Type story in the Instance Name text box in the Property inspector.Double-click inside the text field, and enter enough text so that one or more lines of text extend below its lower edge.In the Timeline, select the first frame on Layer 1, and open the Actions panel &lt;br /&gt;(Window &gt; Actions). Enter the following code in the Actions panel:var keyListener:Object = new Object(keyListener.onKeyDown = function() { var keyCode = Key.getCode( if (keyCode == Key.DOWN) { story.scroll++; } else if (keyCode == Key.UP) { story.scroll--; }};Key.addListener(keyListenerSelect Control &gt; Test Movie to test the application in the Adobe Device Central emulator.Click the up and down navigation keys on the emulator (or the Up Arrow and Down Arrow keys your computer's keyboard) to scroll the text up or down." />
   <page href="00004712.html" title="Working with sound" text="Working with soundFlash Lite supports two types of sound: standard (native) Flash sound and device sound. Native sounds are played directly by the Flash Lite player, just as they are in the desktop version of Flash Player. Device sounds, in contrast, are played directly by the device, rather than by the Flash Lite player. Some examples of device sound formats include MIDI or MFi, but supported sound formats vary from device to device. " />
   <page href="00004713.html" title="Device sound" text="Device soundAbout device soundUsing bundled device soundImport and play a device soundCreate a sound bundlePlaying external device soundsSynchronizing device sounds with animationDetermining supported device sound formats" />
   <page href="00004714.html" title="About device sound" text="About device soundDevice sounds refer to audio that is played directly by the device, rather than by the Flash Lite player. Different devices may support different sound formats, including MIDI, MFi, or MP3. To incorporate device sounds in your Flash Lite content you can either include them within your published SWF file, or load external sound files over the network or from the device's local file system. With some exceptions, you can use the ActionScript Sound object to control device sounds, as you would control sounds in the desktop version of Flash Player." />
   <page href="00004715.html" title="Using bundled device sound" text="Using bundled device soundTo bundle a device sound in your application, you first import a proxy sound in a format that the Flash authoring tool recognizes, such as an MP3, WAV, or AIFF file. Then you link the proxy sound to a device sound file on your computer that you want to bundle in your application. During the SWF file publishing process, the Flash authoring tool replaces the proxy sound with the linked external sound. During playback, Flash Lite passes the sound data to the device to decode and play.You can also package multiple device sounds in different formats in a single Flash sound bundle (FLS) file. This is useful if you're creating the same content for several devices that support different device sound formats. For more information, see Create a sound bundle." />
   <page href="00004716.html" title="Import and play a device sound" text="You can use any sound file that's recognized by the Flash authoring tool as the proxy sound. The proxy.wav file is provided for your convenience.Import and play a device soundTo play a device sound you can either attach it to the Timeline or use the Sound object to play the device sound with ActionScript. Create a new document from the Flash Lite 2.0 Symbian Series 60 document template, and save it as device_sound.fla.For more information about using the Flash Lite document templates, see &quot;Creating a Flash Lite document template&quot; in Getting Started with Flash Lite 2.x and 3.0.Select File &gt; Import &gt; Import to Library. On the Samples and Tutorials page at http://www.adobe.com/go/learn_flt_samples_and_tutorials, locate, download and decompress the ZIP file for your Flash Lite version, and then navigate to the Samples folder. Select the proxy.wav file and click OK.To link the proxy sound to the device sound file, do the following:In the Library panel, right-click (Windows®) or Control-click (Macintosh®) the proxy sound symbol and select Properties from the context menu to open the Sound Properties dialog box. In the Sound Properties dialog box, click the folder icon to the right of the Device Sound text box to open the Select Device Sound dialog box.Browse to http://www.adobe.com/go/learn_flt_samples_and_tutorials. On the Samples and Tutorials page, locate, download and decompress the ZIP file for your Flash Lite version, and then navigate to the Samples folder and select the file named hi_hat.mid.(Optional) To control the device sound with ActionScript, click Advanced to display the advanced sound properties options, select Export For ActionScript, and type device_sound in the Identifier text box. Click OK to close the Sound Properties dialog box.To play the device sound, you can either attach the proxy sound to the Timeline or use the ActionScript sound object. To use the ActionScript sound object, skip to step 6.To attach the device sound to the Timeline, do the following:Select the keyframe on Frame 1 on the layer named Content.In the Property inspector, select proxy.wav from the Sound pop-up menu.This attaches the proxy sound to the keyframe.The Flash authoring tool displays the proxy sound's waveform in the Timeline. Waveforms for sounds that are linked to external device sounds are colored green; waveforms for sounds that are not linked to external device sounds are colored blue, as the following image shows.To play the sound with ActionScript, do the following: Select the layer named Actions in the Timeline.Open the Actions panel (Window &gt; Actions), and type the following code:var deviceSound:Sound = new Sound(deviceSound.attachSound(&quot;device_sound&quot;deviceSound.start(Select Control &gt; Test Movie to start the Adobe Device Central emulator and test your SWF file." />
   <page href="00004717.html" title="Create a sound bundle" text="As of this writing, the Sound Bundler utility is supported by Windows systems only. Create a sound bundleFlash Lite provides the ability to encapsulate several device sounds of different formats into a single sound bundle. As an example, a single Flash application can contain the same sound represented in both MIDI and MFi formats. When the application is played on a device that supports MIDI audio, Flash Lite selects the MIDI sound data from the sound bundle and passes it to the device to play. Similarly, if the application is played on a device that supports only MFi, Flash Lite passes the MFi sound data to the device.You use a utility called the Flash Lite Sound Bundler to create a sound bundle (FLS) file. You then link the FLS file to a proxy sound in your Flash Lite document, just as you would do for a single device sound. For more information about adding device sounds to your Flash Lite applications, see Using bundled device sound.Locate and download the Flash Lite Sound Bundler application (FlashLiteBundler.exe) at www.adobe.com/go/developer_flashlite.&lt;br /&gt;The Sound Bundler appears as a floating window.From your desktop, drag the first sound file to be bundled into the Sound Bundler window.Another window appears that lists the contents of the sound bundle. The lower part of the window contains information about the sounds in the sound bundle, including sound format, size of sound data, and filename.Drag the rest of the sound files that you want to bundle into the window.You can't bundle more than one file in a given audio format. For example, you can't bundle two MIDI files in the same FLS file.To delete a file from the sound bundle, select the file in the list and click Delete. To delete all files in the sound bundle, click Delete All.To save the sound bundle, click Save Bundle, and choose a name and location for the FLS file.To exit the Sound Bundler, click the close button (X) in the Sound Bundler window.The next step is to add the sound bundle (FLS) file to your Flash document. The process is the same as adding standard device sounds to Flash documents, except that instead of specifying a single device sound file to replace the proxy sound, you specify the FLS file that you created. For more information, see About device sound)." />
   <page href="00004718.html" title="Playing external device sounds" text="Playing external device soundsIn addition to playing device sounds that are bundled in the published SWF file (see Using bundled device sound), you can also load and play external sound files. To play external device sounds you use the loadSound() method of the Sound object. As with bundled device sound, the Flash Lite player passes the externally loaded audio to the device to decode and play.The following information about playing external device sounds in Flash Lite is important to remember: Unlike in the desktop version of Flash Player, externally loaded sounds in Flash Lite are always treated as event sounds. This means that external device sounds do not stream--that is, play as they are being downloaded. The sound data must download fully before you can play the sound. For the same reason, you must call the Sound object's start() method to play the sound once it is fully loaded (see the following code example).The Flash Lite implementation of the loadSound() method does not support that method's second parameter (isStreaming). Flash Lite ignores this parameter if it is present.Flash Lite does not play externally loaded MP3 files natively. If your application loads an external MP3 file, Flash Lite passes the sound data to the device to decode and play, as it does with any externally loaded sound file.The following code shows how to load and play an external sound file:// Create the sound object.var mySound:Sound = new Sound(// Define onLoad handler for sound,// which starts the sound once it has fully loaded.mySound.onLoad = function(success){ if(success == true) { mySound.start( }}// Load the sound.mySound.loadSound(&quot;http://www.adobe.com/audio.midi&quot;" />
   <page href="00004719.html" title="Synchronizing device sounds with animation" text="Synchronizing device sounds with animationDevice sounds in Flash Lite are always treated as event sounds. This means that you can't synchronize device sounds with animation in the timeline in the same manner that you can with native Flash sounds. However, you can use device sounds to approximate true synchronized sound by setting the Flash Lite player's _forceframerate property to true. When this property is set to true, Flash Lite drops frames from animation to maintain the SWF file's specified frame rate. As long as the device sound data is authored for the correct duration, and as long as the device plays back sound data at the expected rate, animation and sound will be close to being synchronized.For example, suppose you have a device sound that's 5 seconds long. During playback, you'd like this sound to play in synch with animation in the timeline. Also assume that your application's frame rate is set to 15 FPS. When you start the sound--either by attaching it to a frame in the timeline or calling Sound.start()--you simultaneously set _forceframerate = &quot;true&quot;. Subsequently, for each second of device audio playback, Flash Lite ensures that the playback head has advanced 15 frames in the timeline. If, for some reason, the player cannot render each frame in the animation during this time, it drops frames to maintain the specified frame rate.For more information about the _forceframerate property, see _forceframerate property in the Flash Lite 2.x and 3.0 ActionScript Language Reference." />
   <page href="00004720.html" title="Determining supported device sound formats" text="Determining supported device sound formatsThe System.capabilities.audioMIMETypes property contains an array of audio MIME types that the device supports. You can use this information to determine what types of device audio your application can play. The array's indexes are the same as the supported MIME types, so you can easily check whether a device supports a specific type of audio. For example, the following code first checks whether the device supports playback of MIDI audio before loading an external MIDI file:if (System.capabilities.audioMIMETypes[&quot;audio/midi&quot;]) { my_sound.loadSound(&quot;soundtrack.mid&quot;}" />
   <page href="00004721.html" title="Native sound" text="Native soundAbout native Flash soundsUsing the 8 kHz sampling rate featureEnable the 8 kHz sampling rate feature for an individual soundEnable the 8 kHz sampling rate feature globally for all native sounds" />
   <page href="00004722.html" title="About native Flash sounds" text="About native Flash soundsIn addition to supporting device sound, Flash Lite also supports standard, or native, Flash sounds. Essentially, a native sound is a sound in any format that the Flash authoring tool recognizes. Native sound in Flash Lite can play either as event sound or synchronized sound (see About device sound).The general workflow for using native sounds in your Flash Lite applications is the same as for Flash desktop applications, with the following exceptions:Flash Lite does not support playing external MP3 files natively. However, if the device can play MP3 audio, you can load external MP3 files in your application. For more information, see Playing external device sounds.Flash Lite does not support the Speech audio compression option.For more information about working with native sound in Flash, see the &quot;Working with sound&quot; topics in Using Flash." />
   <page href="00004723.html" title="Using the 8 kHz sampling rate feature" text="For stream sounds, Flash always applies the global sound compression options that you specify in the Publish Settings dialog box. The per-sound compression options that you specify in the Sound Properties dialog box apply only to event sounds.Using the 8 kHz sampling rate featureBy default, the Flash authoring tool exports native audio at sampling rates of 5, 11, 22, or 44 kilohertz (kHz). However, many devices don't support playback of audio data at these sampling rates. For example, the Nokia Series 60 devices support only 8 and 16 kHz. In previous versions of Flash Lite, the player resampled the audio at runtime to 8 kHz before calling the device's native sound application programming interfaces (APIs) to pay the sound. This resampling required additional processing time and memory consumption.In Adobe Flash CS3 Professional, you can choose to have the authoring tool resample your application's native audio at 8 kHz during the SWF file publishing process. You apply this setting to all stream and event sounds in your application, or just to specific sounds in your document's Library panel.The first procedure that follows explains how to enable the 8 kHz sampling rate option for individual sounds in the Sound Properties dialog box; the second procedure explains how to use the Publish Settings dialog box to set this option globally for all event and stream sounds." />
   <page href="00004724.html" title="Enable the 8 kHz sampling rate feature for an individual sound" text="Enable the 8 kHz sampling rate feature for an individual soundIn Flash, right-click (Windows) or Control-click (Macintosh) a sound symbol in the Library panel and choose Properties from the context menu.In the Sound Properties dialog box that appears, select MP3 from the Compression pop-up menu.The 8 kHz sampling feature is available only for MP3-compressed audio.Deselect the Use Imported MP3 Quality option, if selected.Select the Use 8kHz Sample Rate option.Click OK." />
   <page href="00004725.html" title="Enable the 8 kHz sampling rate feature globally for all native sounds" text="The 8 kHz sampling feature is available only for MP3-compressed audio. Enable the 8 kHz sampling rate feature globally for all native soundsIn Flash, select File &gt; Publish Settings.In the Publish Settings dialog box, click the Flash tab.To enable the 8 kHz sampling rate for all stream sounds in your application, do the following:Click Set Stream sound options.In the Sound Properties dialog box that appears, select MP3 from the Compression pop-up menu.The 8 kHz sampling feature is available only for MP3-compressed audio.Select the Use 8kHz Sample Rate option.Click OK to close the Publish Settings dialog box.To enable the 8 kHz sampling rate for all event sounds, do the following:Click Set Event Sound Options.In the Sound Properties dialog box that appears, select MP3 from the Compression pop-up menu.Select the Use 8kHz Sample Rate option.Click OK.Click OK to close the Publish Settings dialog box." />
   <page href="00004726.html" title="Working with video and images" text="Working with video and imagesYou can incorporate video and external images in Flash Lite applications. " />
   <page href="00004727.html" title="Video basics" text="Video basicsAbout video in Flash LiteAbout external imagesDetermining supported video formats" />
   <page href="00004728.html" title="About video in Flash Lite" text="About video in Flash LiteFlash Lite 2.x supports only device video, which means it relies on the device to decode and render video. It is limited by the video formats supported by a specific device, can't synchronize the video with the timeline, can't control the volume of the video clip, and can't rotate, skew, composite, or blend the device video with other media. (The video is always on top of any other Flash content.)Flash Lite 3.0 adds support for Flash Video (FLV) using versions of the On2 and Sorenson codecs optimized for mobile devices. FLV video is rendered directly in the Flash Lite player rather than by the device, so you no longer need to be concerned about whether your target devices support a particular video format if you are targeting devices that support FLV. Some device manufacturers may choose to continue to support device video instead of FLV if they have already implemented an efficient video playback mechanism. " />
   <page href="00004729.html" title="Determining supported video formats" text="Determining supported video formatsDifferent devices support different video formats and encodings. Before developing a Flash Lite application that uses video, use Adobe Device Central to determine what video formats are supported by the target devices. See Device Central Help for information about using Device Central to select device profiles and display the video formats a specific device supports. You can also use the System.capabilities.videoMIMETypes property to determine what video formats a device supports. This property contains an array of video MIME types that the device supports. Each item in the array has the following format:video/video-typeFor example, the following code displays in a TextField object named mimeTypes_txt all of the video MIME types that the device supports:var mimeTypes = System.capabilities.videoMIMETypes;mimeTypes_txt.text = mimeTypes.toString(The indices for the items contained in the System.capabilities.videoMIMEtypes array are equal to the supported device video MIME types. This provides a quick way to test whether a device supports a particular video format. For example, the following code checks whether the device supports 3GPP video before playing a video file of that type:if (System.capabilities.videoMIMETypes[&quot;video/3gpp&quot;]) { my_video.play(&quot;movie.3gp&quot;}You can also check the device manufacturers' specifications to determine what video formats are supported by the target devices. " />
   <page href="00004730.html" title="About external images" text="About external imagesIn Flash Lite 2.0, as in Flash Lite 1.1, you can use the loadMovie() function (or, equivalently, the loadMovie() method of the MovieClip object) to load external SWF files into your application. Additionally, in Flash Lite 2.0, you can use the loadMovie() function to load any arbitrary image format that the device supports.For example, assuming that the target device can decode PNG files, the following code loads and displays an external PNG file that resides on the web server:loadMovie(&quot;http://www.adobe.com/image.png&quot;, &quot;image_target&quot;To determine what image formats the target device supports, you can use the System.capabilities.imageMIMETypes property, which contains an array of supported image MIME types. The index of each element in the array is equal to each supported MIME type.For example, the following ActionScript determines whether a device supports PNG images before the device attempts to load an external PNG file:if (System.capabilities.imageMIMETypes[&quot;image/png&quot;]) { loadMovie(&quot;images/image.png&quot;, &quot;mc_myPngImage&quot;}Flash Lite limits to five the number of loadMovie() operations that an application can perform in a given frame, and 10 total operations at any one time. For example, suppose your application contains code on Frame 1 to load six external JPEG images, as shown below:image1.loadMovie(&quot;image1.jpg&quot;image2.loadMovie(&quot;image2.jpg&quot;image3.loadMovie(&quot;image3.jpg&quot;image4.loadMovie(&quot;image4.jpg&quot;image5.loadMovie(&quot;image5.jpg&quot;image6.loadMovie(&quot;image6.jpg&quot; // Won't loadIn this case, only the first five images (image1.jpg through image5.jpg) will load; the last image (image6.jpg) will not load because the five connection limit is reached. One solution is to split the loadMovie() calls over multiple frames so that each frame contains a maximum of five loadMovie() calls." />
   <page href="00004731.html" title="Using Flash Video" text="Using Flash VideoAbout Flash VideoUsing embedded Flash VideoImport a Flash Video by using the Import Video wizardUsing external Flash VideoLimitations of Flash VideoControlling Flash Video with ActionScript" />
   <page href="00004732.html" title="About Flash Video" text="About Flash VideoThe ActionScript NetConnection and NetStream classes, which were not previously available in Flash Lite, let you control the playback of FLV video from a local drive or HTTP address. Streaming video data over an RTMP connection to a Flash Media Server is also supported in Flash Lite 3.0 (but RTMPT and RTMPS connections are not). The Camera class and recording video are not supported in Flash Lite, nor is the FLVPlayback component. Flash Lite 3.0 also includes a new property in the Video class, attachVideo, that specifies a video stream to be displayed within the boundaries of the Video object on the Stage. You use the methods of the NetStream class rather than those of the Video class to control playback of FLV (non-device) video. For example, to pause device video, you use the Video.pause method, but to pause FLV video, you use NetStream.pause." />
   <page href="00004733.html" title="Using embedded Flash Video" text="Using embedded Flash Video One way to deploy Flash Video in your Flash Lite 3.0 application is to package (embed) the video files within your published SWF file. To use embedded video, you import a Flash Video into your document's library. When you publish your application, the authoring tool embeds the Flash Video file into the published SWF file. You can also package device video (as opposed to Flash Video) within a SWF file, but this is referred to as bundled video rather than embedded video. See Using bundled device video for more information.Embedding Flash Video in a SWF file can add significantly to the size of your published SWF file, but it provides the best portability and playback reliability, because no external files need to open or stream.To embed Flash Video in your Flash Lite application, you first import the video into your Flash document. To do this, you can either use the Import Video wizard or the import feature available in the Video Properties dialog box. When you publish your application, the authoring tool embeds the video file's data in the published SWF file." />
   <page href="00004734.html" title="Import a Flash Video by using the Import Video wizard" text="Import a Flash Video by using the Import Video wizardIn Flash, select File &gt; Import &gt; Import Video.The Video Import wizard appears.Select the option to import a file on your computer and click Browse.Browse to the folder that contains the Flash Video file and select it.If you don't see the desired video file listed in the Open dialog box (or if you can see it but can't select it), select All Files (*.*) from the Files Of Type pop-up menu (Windows), or All Files from the Enable pop-up menu (Macintosh). This may be necessary because the Flash authoring tool cannot recognize most device video formats.Click Open.In the Import Video wizard, click Next to go to the wizard's Deployment screen.Select the option to embed the video in the SWF and play it in the timeline.In the Import Video wizard, click Next to go to the wizard's Embedding screen.Select Embedded video as the symbol type.Click Next to go to the wizard's Finish Video Import screen and click Finish to import the video.A new video symbol that's linked to the Flash Video file appears in your document's Library panel." />
   <page href="00004735.html" title="Using external Flash Video" text="Using external Flash VideoIn addition to playing Flash Video that's embedded in the SWF file, you can also play external video files that reside on the device's memory card or that come from a network address. Unlike with bundled device video, with embedded FLV the device does not need to be responsible for decoding the device video. The Flash Lite player handles the decoding.Another difference between external device video and external Flash Video is that to play an external device video file, you pass the absolute or relative file location or URL of the video file to the Video.play() method, but when you play an external Flash Video, you use the methods of the NetStream class rather than those of the Video class to control the playback. For more information about external device video, see Using external device video. " />
   <page href="00004736.html" title="Limitations of Flash Video" text="Limitations of Flash VideoThere are several Flash Video features that are available in Flash CS3 but not in Flash Lite 3.0. These features are:RTMPT and RTMPS connections are not supported; only RTMP is supported. If you attempt to connect to a Flash Media Server using an HTTP tunneling protocol (RTMPT) or SSL (RTMPS) connection, your connection defaults to an RTMP connection. Two-way communication between clients is not supported; only one-way communication is supported in Flash Lite.Multiple Flash Media Server connections are supported, but may be of limited use on mobile devices due to device limitationsThe recording of video is not supported in Flash Lite. Alpha channel video is not supported in Flash Lite. The On2 codec used for Flash on the desktop supports an alpha channel, but the version used for Flash Lite 3.0 does not. The FLVPlayback component is not supported in Flash Lite 3.0. See About components in Flash Lite for information about components.The ActionScript Camera class, which is used in the desktop version of the Flash Player to connect to a user's local camera and broadcast the video, is not supported in Flash Lite. " />
   <page href="00004737.html" title="Controlling Flash Video with ActionScript" text="Controlling Flash Video with ActionScriptTo control the playback of external Flash Video files at runtime, use the NetConnection and NetStream ActionScript classes. You use the NetConnection class to establish a connection, and then use the NetStream object to play back streaming video (FLV) files either locally or from a server. Loading Flash Video using the NetStream and NetConnection classes is a multistep process.The first step is to create a NetConnection object. The NetConnection class lets you play streaming FLV files from either an HTTP address or a local drive by passing the value null to the connect() method if you are connecting to a local FLV file that is not using a server. The second step is to create a NetStream object which takes a NetConnection object as a parameter and specify which FLV file you want to load. The third step is to create a new Video object and attach the previously created NetStream object using the Video class&#39;s attachVideo() method.See the Flash Lite 2.x and 3.0 ActionScript Language Reference for detailed descriptions of these classes, along with code examples that illustrate their use. " />
   <page href="00004738.html" title="NetConnection class" text="NetConnection classFlash Lite 3.0 supports two NetConnection methods: connect and close. The connect method opens a connection to a server, and close closes the connection that was opened locally or with the server. See the Flash Lite 2.x and 3.0 ActionScript Language Reference for a complete description of the NetConnection class. " />
   <page href="00004739.html" title="NetStream class" text="Standard security restrictions apply. For example a remote SWF file cannot access absolute file:// URLs in the form of &quot;file://C:/somefile.flv&quot;.NetStream classThe NetStream class creates a stream that can be used for playing FLV files through the specified NetConnection object.Local file URLs are also supported by simply replacing &quot;http:&quot; with &quot;file:&quot; For example:NetStream.play(&quot;http://somefile.flv&quot;NetStream.play(&quot;file://somefile.flv&quot;Flash Lite 3.0 supports all of the methods, properties and events documented in the ActionScript 2.0 Language Reference, with the exception of the checkPolicyFile property, which Flash Lite does not support. The supported methods, properties and events are briefly described below. See the Flash Lite 2.x and 3.0 Language Reference for complete descriptions.NetStream Class methodsclose(): Stops playing all data on the stream, and sets the time property to 0.pause(): Pauses or resumes playback of a stream.play(): Begins playback of an external video (FLV) file.seek(): Seeks the keyframe closest to the specified number of seconds from the beginning of the stream.setBufferTime(): Specifies how long to buffer messages before starting to display.NetStream Class propertiesbufferLength: The number of seconds of data currently in the buffer.bufferTime: The number of seconds assigned to the buffer by setBufferTime().bytesLoaded: The number of bytes of data that have been loaded into the player.bytesTotal: The total size in bytes of the file being loaded into the player.currentFPS: The number of frames per second being displayed.time: The position of the playhead, in seconds.NetStream Class eventsonStatus: Invoked when a status change or error is posted for the NetStream object.onCuePoint: Invoked when an embedded cue point is reached while playing an FLV file.onMetaData: Invoked when the Flash Player receives descriptive information embedded in the FLV file." />
   <page href="00004740.html" title="Video class" text="Video classThe existing Flash Lite 2.x Video class has one new method that has been added for Flash Lite 3.0: the attachVideo method, which specifies the stream (source) to be displayed within the boundaries of the Video object on the Stage. See the Flash Lite 2.x and 3.0 ActionScript Language Reference for a complete description of the Video class. " />
   <page href="00004741.html" title="Device video" text="Device videoUsing device videoUsing bundled device videoImport a device video by using the Import Video wizardImport a device video by using the Library panelCreate an application that plays bundled device videoPlay a video directly from the libraryUsing external device videoView and edit device video symbol propertiesLimitations of device videoControlling device video with ActionScript" />
   <page href="00004742.html" title="Using device video" text="Using device videoBeginning with version 2.0, Flash Lite can play device video, which refers to any video format or encoding that's supported by the target device. To keep player size small (and to support a wide variety of video formats), Flash Lite does not decode or render video natively when using device video. Instead, Flash Lite relies on the device to decode and render device video to the device's display. For this reason, there are some limitations to using device video. For more information, see Limitations of device video. Some common device video formats include 3GP, 3G2 (or 3GPP2), and MPEG-4. In general, you can play any video format in your Flash Lite 2.0 application that the target device supports. Different devices support different video codecs and formats. To determine what video formats a specific device supports, use Adobe Device Central's Device Profiles tab to display supported formats (see Device Central Help for information about Device Central).You can also check the device's specifications from the device manufacturer or use ActionScript to query the device's supported formats (see Limitations of device video). To deploy device video, you can either bundle it in the SWF file's library (see Using bundled device video) or load it from an external file on the user's device or from a network location (see Using external device video).To control device video playback, use the ActionScript Video object. Flash Lite 2.0 adds additional methods to the Video object that are not available in the desktop version of Flash Player, including Video.play() and Video.pause(). For more information about using the Video object to control video playback, see Controlling device video with ActionScript." />
   <page href="00004743.html" title="Using bundled device video" text="Using bundled device videoOne way to deploy video in your Flash Lite 2.0 application is to package (bundle) the video files within your published SWF file. To use bundled video, you import a device video into your document's library. When you publish your application, the authoring tool bundles the device video file into the published SWF file. Bundling device video in a SWF file can add significantly to the size of your published SWF file, but it provides the best portability and playback reliability, because no external files need to open or stream.To bundle video in your Flash Lite application, you first import the video into your Flash document. To do this, you can either use the Import Video wizard or the import feature available in the Video Properties dialog box. Both techniques result in a video symbol in your document's library that contains the original device video data. When you publish your application, the authoring tool bundles the external video file's data in the published SWF file." />
   <page href="00004744.html" title="Import a device video by using the Import Video wizard" text="Import a device video by using the Import Video wizardIn Flash, select File &gt; Import &gt; Import Video.The Video Import wizard appears.Select the option to import a file on your computer and click Browse.Browse to the folder that contains the device video file and select it.If you don't see the desired video file listed in the Open dialog box (or if you can see it but can't select it), select All Files (*.*) from the Files Of Type pop-up menu (Windows), or All Files from the Enable pop-up menu (Macintosh). This may be necessary because the Flash authoring tool cannot recognize most device video formats.Click Open.In the Import Video wizard, click Next to go to the wizard's Deployment screen.For Flash Lite 2.0 SWF files, the only deployment option is to bundle the device video in the SWF files.Click Finish to import the video.A new video symbol that's linked to the device video file appears in your document's Library panel. You can edit the video symbol's properties in the Video Properties dialog box. For more information, see View and edit device video symbol properties." />
   <page href="00004745.html" title="Import a device video by using the Library panel" text="Import a device video by using the Library panelIn Flash, open the Library panel (Window &gt; Library).Open the Library options menu and choose New Video.The Video Properties dialog box appears.In the Video Properties dialog box, select the option to bundle the source video in the SWF file, then click Import.Browse to the folder that contains the device video file and select it.If you don't see the desired video file listed in the Open dialog box (or if you can see it but can't select it), select All Files (*.*) from the Files Of Type pop-up menu (Windows), or All Files from the Enable pop-up menu (Macintosh). This is necessary sometimes because the Flash authoring tool doesn't recognize most device video formats.Click Open.In the Video Properties dialog box, select the Export For ActionScript option and enter a string in the Identifier text box to play the device video clip by using a separate video object on the Stage. For more information, see Playing a bundled video directly from the library.Click OK to close the Video Properties dialog box.A new video symbol appears in your document's Library panel that's associated with the device video file. You can edit the video symbol's properties in the Video Properties dialog box. For more information, see View and edit device video symbol properties." />
   <page href="00004746.html" title="Create an application that plays bundled device video" text="You must test a device video on the actual device; you can't preview it in the emulator.Create an application that plays bundled device videoIn this exercise, you'll first import a device video into your Flash document, create an instance of the video on the Stage, and finally add ActionScript to play and stop the video. You can also play video directly from the library. For more information, see Playing a bundled video directly from the library.In Flash, create a new document from the Flash Lite 2.0 Symbian Series 60 template, and save it as bundled_video.fla.Import the device video file named ocean.3gp in the Samples and Tutorials folder located in the Flash CS3 installation folder on your hard disk. For more information about importing a device video, see Import a device video by using the Import Video wizard.A new video symbol appears in the Library panel. In the Timeline, select the layer named Content, then drag an instance of the video symbol in the Library panel to the Stage.Select the video object on the Stage and, in the Property inspector, type myVideo in the Instance Name text box. This is the name you will use to refer to the video object in ActionScript code.In the Property inspector, set the video object's width to 176 and its height to 144.These dimensions match those of the source video. Depending on the device, a device video in Flash Lite does not always scale to fit the size of the video object's bounding box. For more information, see Limitations of device video.To add buttons to control the video, open the library of prebuilt buttons (Window &gt; Common Libraries &gt; Buttons).In the Buttons library, double-click the Circle Buttons folder to open it.Drag an instance of the Play button symbol from the Buttons library to the Stage.Drag an instance of the Stop button symbol from the Buttons library to the Stage.Select the Play button on the Stage and open the Actions panel (Window &gt; Actions).Type (or copy and paste) the following code into the Actions panel:on(press) { myVideo.play(}Select the Stop button on the Stage and type the following code in the Actions panel:on(press) { myVideo.stop(}Publish the SWF file (File &gt; Publish) and transfer it to your device for testing." />
   <page href="00004747.html" title="Playing a bundled video directly from the library" text="Playing a bundled video directly from the libraryEarlier in this document (see Using bundled device video) you learned how to import and play a single bundled device video. To do this, you imported the device video into the library, added an instance of the video symbol to the Stage, and called the Video.play() method on the video instance.You can also use a single Video object on the Stage to play multiple bundled device videos directly from the library. To do this, you bundle the device video in your application's library. You also assign an identifier to the video symbol that lets you reference the video symbol with ActionScript, as the following image shows:You then create another placeholder video symbol and add an instance of it to the Stage. To use the placeholder video to play the device video in the library, you pass the symbol's ActionScript identifier to the Video.play() method, as the following example shows:placeHolderVideo.play(&quot;symbol://ocean_video&quot;" />
   <page href="00004748.html" title="Play a video directly from the library" text="You should test device video on the target device; not all formats are supported by the emulator.Play a video directly from the libraryIn Flash, create a new document from the Flash Lite 2.0 Symbian Series 60 template, and save it as library_video.fla.Import the video file named ocean.3gp located at www.adobe.com/go/learn_flt_samples_and_tutorials. On the Samples and Tutorials page, locate, download and decompress the ZIP file for your Flash Lite version, and then navigate to the Samples folder to access the file. For more information about importing device video, see Import a device video by using the Import Video wizard.Right-click (Windows) or Control-click (Macintosh) the ocean.3gp video symbol in the library and choose Properties from the context menu. The Video Properties dialog box appears.In the Video Properties dialog box, select Export For ActionScript and type ocean_video in the Identifier text box, as the following image shows:Click OK to close the Video Properties dialog box.To create the placeholder video clip, do the following:In the Library panel, click the options menu button in the panel's title bar and select New Video. The Video Properties dialog box appears.In the Symbol text box, type videoHolder.Click OK to close the Video Properties dialog box.In the Timeline, select the layer named Content, then drag an instance of the videoHolder symbol to the Stage.In the Property inspector, type myVideo in the Instance Name text box.To add buttons to control the video, open the library of prebuilt buttons (Window &gt; Common Libraries &gt; Buttons).In the Buttons library, double-click the Circle Buttons folder to open it.Drag an instance of the Play button symbol from the Buttons library to the Stage.Drag an instance of the Stop button symbol from the Buttons library to the Stage.Select the Play button on the Stage and open the Actions panel (Window &gt; Actions).Type (or copy and paste) the following code into the Actions panel:on(press) { myVideo.play(&quot;symbol://ocean_video&quot;}Select the Stop button on the Stage and type the following code in the Actions panel:on(press) { myVideo.stop(}Publish the SWF file (File &gt; Publish) and transfer it to your device for testing." />
   <page href="00004749.html" title="Using external device video" text="Not all devices support the file:// protocol. Be sure to test your application on all target devices if you use this protocol.Using external device videoIn addition to playing video that's bundled in the SWF file (see Using bundled device video), you can also play external video files that reside on the device's memory card or that come from a network address. As with bundled device video, the device is responsible for decoding the device video.To play an external video file, you pass the absolute or relative file location or URL of the video file to the Video.play() method. In the following example, the SWF file and the 3GP file are located in the same folder on the device.myVideo.play(&quot;ocean.3gp&quot;You can also specify a relative folder path to the SWF file, as follows: myVideo.play(&quot;folder1/folder2/ocean.3gp&quot; // Depending on the device, you can also use the file:// protocol to play a video file at a specific location, as follows:myVideo.play(&quot;file://c:/folder1/folder2/ocean.3gp&quot;Depending on the device, you can also load a video file from a network address. Current implementations support video streaming using the RTSP (Real Time Streaming Protocol) only, as shown in the following example. HTTP-based streaming is not supported. myVideo.play(&quot;rtsp://www.adobe.com/video/ocean.3gp&quot;" />
   <page href="00004750.html" title="View and edit device video symbol properties" text="The OK button is dimmed until you either import a device video or deselect the option to bundle the video source in the SWF file.View and edit device video symbol propertiesYou use the Video Properties dialog box to view and edit information for video symbols in the Library panel.Open the Video Properties dialog boxDo one of the following:Right-click (Windows) or Control-click (Macintosh) a video symbol in the Library panel and choose Properties from the context menu.Select a video symbol in the Library panel and choose Properties from the options menu in the panel's title bar.Import a device video into a video symbolSelect a video symbol in the Library panel and open the Video Properties dialog box.In the Video Properties dialog box, select the option to bundle the video source in the SWF file, if it's not already selected.Click Import and, in the file browser, locate the device video file to import and select it.If you don't see the desired video file listed in the Open dialog box (or if you can see it but can't select it), select All Files (*.*) from the Files Of Type pop-up menu (Windows), or All Files from the Enable pop-up menu (Macintosh). This is necessary sometimes because the Flash authoring tool doesn't recognize most device video formats.Click Open to close the file browser.Click OK to close the Video Properties dialog box.Assign an identifier to a video symbolSelect the video symbol and open the Video Properties dialog box.Import a device video into the symbol, if you haven't already.Select Export For ActionScript.In the Identifier text box, enter an identifier for the video symbol.Like all identifiers in ActionScript, the first character must be a letter, underscore (_), or dollar sign ($). Each subsequent character can be a number, letter, underscore, or dollar sign.Click OK to close the Video Properties dialog box." />
   <page href="00004751.html" title="Limitations of device video" text="Limitations of device videoThe following limitations apply to using device video in your Flash Lite 2.0 applications:You can't rotate or skew device video. Some devices may support scaling.You can't synchronize device video with the timeline.You can't composite or blend device video with other media. The device renders video directly to the display atop any other Flash content.You can't control the sound volume of a video clip." />
   <page href="00004752.html" title="Controlling device video with ActionScript" text="These methods of the Video object correspond roughly to the same methods available in the NetStream object in the desktop version of Flash Player.Controlling device video with ActionScriptTo control device video playback, you use the ActionScript Video object. There are several differences between the Video object in Flash Lite 2.0 and later and the Video object in the desktop version of Flash Player.The following methods of the Video object are available only in Flash Lite 2.0 and later and not in the desktop version of Flash Player:Video.play()Video.stop()Video.pause()Video.resume()Video.close()Video.attachVideo() (Flash Lite 3.0 only)The following methods and properties of the Video object in the desktop version of Flash Player are not supported by Flash Lite 2.0:Video.clear()Video.deblockingVideo.heightVideo.smoothingVideo.widthVideo._visibleFor more information about using the Video object in Flash Lite, see the Video object entry in Flash Lite 2.x and 3.0 ActionScript Language Reference." />
   <page href="00004753.html" title="Developing Flash Lite applications for BREW" text="Developing Flash Lite applications for BREWYou can develop Adobe Flash Lite 2.x applications that can run on devices that use the Binary Runtime Environment for Wireless (BREW) platform made by QUALCOMM Incorporated. If you are a developer who is comfortable working with Flash Lite but are not familiar enough with the BREW platform and its requirements to readily produce applications for BREW devices, you should read this chapter. You will also find this chapter useful if you have expertise with other application development technologies and want to explore using Flash Lite to develop BREW applications. " />
   <page href="00004754.html" title="BREW basics" text="BREW basicsAbout BREWFlash Lite and BREW development toolsFlash Lite features supported in BREWFlash Lite features not supported in BREWBREW SDK versions supportedDevices supportedAdditional resources" />
   <page href="00004755.html" title="About BREW" text="About BREWThe QUALCOMM BREW mobile device platform is installed and supported on a variety of devices made by different manufacturers worldwide. Adobe Flash CS3 Professional includes tools and resources that developers use to create Flash Lite-based applications and content that users can download and use on BREW devices. Flash developers use the Flash authoring tool to create Flash Lite content and applications for BREW-enabled devices. Developers then submit their applications to National Software Testing Laboratories (NSTL) for True BREW Testing (TBT). Once applications pass TBT, they are uploaded to the BREW Delivery System (BDS), and if chosen for distribution by a carrier, they are made available on the carrier's application download server (ADS). Device users can then download and purchase these applications, taking advantage of key features in the BREW platform for over-the-air distribution and billing through the BDS. Developers who want to experiment with BREW without incurring the costs associated with full-scale BREW development can elect not to register as authenticated BREW developers and download only the free SDK components, which are sufficient to produce and test an application using the BREW Simulator, but not to upload and test it on a device, or to simulate specific device characteristics with customized device packs.BREW is intended to operate as an &quot;ecosystem&quot; to help support the development and delivery of wireless device content. Its aim is to make it easier for developers to create, distribute, and derive profit from wireless applications. This ecosystem consists of the following main groups of participants: Developers use tools available in the BREW SDK to develop content with C++ combined with APIs, or with a BREW-compatible extension. The BREW SDK is a free download, but you must register with QUALCOMM to get access to the Tools Suite and SDK Tools.National Software Testing Laboratories (NSTL) tests applications that developers submit, and if they pass, the applications are eligible for inclusion in the BDS. If they do not pass, developers can correct and resubmit their applications.QUALCOMM maintains the BREW Delivery System (BDS), which is a web-based system that delivers content listed in QUALCOMM's catalog, along with pricing and billing information. Pricing can involve several models, including operator auction. Operators (carriers) use the application download server (ADS) to offer content they select at retail prices for purchase by customers through an over-the-air (OTA) delivery mechanism. Device manufacturers use the BREW client, which exposes a common set of application programming interfaces (APIs) for standardized development of wireless applications. The client also includes an application manager that users can purchase and use to manage BREW applications. " />
   <page href="00004756.html" title="Flash Lite and BREW development tools" text="Flash Lite and BREW development toolsTo develop and test Flash Lite applications for the BREW environment, you need to acquire and install specific hardware and software tools. HardwareWindows computer For information about system requirements for the BREW SDK and the BREW tools suite, see the &quot;System Requirements&quot; section in Starting with BREW (available from the BREW website). For information about system requirements for Adobe software, see www.adobe.com/go/sysreqs.BREW-enabled devices with test bit set For information about how to acquire, activate, and test-enable BREW devices, see the &quot;Handset Acquisition and Readiness&quot; section of Getting Started with BREW (available from the BREW website). Note that devices that support BREW 2.x must be sent to QUALCOMM to be test-enabled; BREW 3x devices are pre-enabled.Data cables Data cables are required to upload Flash applications to the BREW devices you plan to support. Most devices come bundled with data cables, but if you do not have a cable, see the &quot;Acquire BREW Handsets and Data Cables&quot; section of Getting Started with BREW (available from the BREW website).SoftwareBREW SDK and BREW Tools Suite For information about installing the BREW SDK and tools, see Chapter 2, &quot;Installing the BREW SDK,&quot; in Getting Started with BREW (available from the BREW website). You must be a registered BREW developer to download and install the BREW Tools Suite, but not the SDK itself. For instructions on how to register, see the BREW website.USB drivers for targeted devices Obtain and install the USB drivers for the devices you intend to target. For information about how to acquire the drivers, contact the device manufacturer.Flash Lite extension for BREW-enabled devices These devices are available from the BREW website for testing purposes only. The extension is downloaded automatically to users' devices when they select and download a Flash Lite for BREW application.These components are described in detail in &quot;Setting up your system for BREW. " />
   <page href="00004757.html" title="Flash Lite features supported in BREW" text="Flash Lite features supported in BREWFlash Lite for BREW supports a subset of the features available in both Flash Lite 2.0 and Flash Lite 2.1. The features that Flash Lite for BREW supports are as follows. For further information about these features, see Flash Lite 3.0 features. Built on Macromedia Flash Player 7 from Adobe, supports ActionScript 2.0XML data handlingPersistent data managementDevice, vector fontsDevice sound for eventsInline video (restricted to the video formats that are supported on the device)Streaming videoXML socketsNetwork access and HTTP streamingInline text support (limited to 64,000 characters, with further limitations imposed by individual device implementations. Some devices support as few as 1000 characters.)Dynamic multimediaKeypad and keyboard support" />
   <page href="00004758.html" title="Flash Lite features not supported in BREW" text="ExtendBacklightDuration()GetNetworkConnectStatus()GetBatteryLevel()GetNetworkName()GetMaxBatteryLevel()GetNetworkRequestStatusGetMaxSignalLevel()GetPowerSource()GetNetworkConnectionName()GetSignalLevel()fscommand(Launch)mailto requests are not directly supported. Instead, you can use the Short Message Service (SMS) protocol, which limits the maximum message size to 160 characters. Flash Lite features not supported in BREWManufacturers of BREW devices can limit the use of some Flash Lite features, which means that these features cannot be used on the device. Information about specific devices is available in the BREW website's Developer Resources area. In addition to features that are not supported on a given device, the following list describes the functionality that is not supported in the current Flash Lite BREW implementation (and is thus not available on any device):Flash Lite sound decoding All sound formats are passed to the device for playback without modification. For example, if the sound is in MP3 format and the device supports MP3, it plays. Flash Lite does not decode any sounds internally in BREW, as it does on other platforms. Streaming sound All sound must be fully loaded before it can play. The current BREW implementation does not support playing sounds progressively as they are loading over a network. ActionScript commands The following ActionScript fscommand2() functions are unavailable on any BREW device: The following ActionScript fscommand() function is unavailable on any BREW device: getURL() support Some BREW handsets support some getURL() functions, depending on the implementation. As a general rule, neither MMS nor HTTP is supported (no API exists to enable Flash Lite to launch a browser). Wallpaper content Flash Lite wallpaper content is not supported in the Flash Lite for BREW implementation. Animated ring tones Animated ring tones are not supported in the Flash Lite for BREW implementation. " />
   <page href="00004759.html" title="BREW SDK versions supported" text="BREW SDK versions supportedFlash Lite 2.1 for BREW Devices currently supports BREW versions 2.1.3 and later. You can find the version of BREW that is running on a particular device in the Device Specifications list on the BREW website. The two devices that currently support Flash Lite for BREW (the Samsung SCH-A950 and the LG VX9800) support different versions of BREW (2.x and 3.x, respectively). Because the BREW SDKs are backward-compatible, you can download the SDK and tools for the most recent version (3.x at this writing) rather than the version supported on the device you are targeting for development. For example, if you are targeting the Samsung SCH-A950, which is a 2.x device, you can still download and use the 3.x version of the BREW SDK and Tools Suite. The differences between BREW 2.x and 3.x are minimal in terms of the user interface, and Flash Lite behaves the same on both platforms. The significant differences are in the way files are stored on the device and in how applications in the BREW Tools Suite are loaded. For more information about file system structure, see Device file structures for different BREW versions." />
   <page href="00004760.html" title="Devices supported" text="DeviceVersion supportedSamsung SCH-A950BREW version 2.1.3LG VX9800BREW version 3.1.2Devices supportedThe devices that currently support the BREW platform are:The Adobe customer support team will certify additional devices as they become available. For a current list of supported devices, see www.adobe.com/go/mobile/supported_devices/." />
   <page href="00004761.html" title="Additional resources" text="You must be a registered BREW developer to download and use the BREW Tools Suite, as well as to enable your devices for testing BREW. Details about how to register are available on the site.Additional resourcesFor information about BREW, see the BREW website. The Developer Home area of the site contains information about the BREW SDK, BREW tools and utilities, and the characteristics of specific devices that support BREW. " />
   <page href="00004762.html" title="Setting up your system for BREW" text="Setting up your system for BREWWorkflow for setting up your system for BREWAdditional resources" />
   <page href="00004763.html" title="Workflow for setting up your system for BREW" text="Workflow for setting up your system for BREWTo set up your system to produce Flash Lite files for BREW, you need to locate and install the appropriate software from several sources. You also need to acquire the appropriate hardware (BREW-enabled devices, data cables, and so on). Much of the specific information required to install and configure these components is located in other Flash Lite or BREW documents. To set up your system to support Flash Lite authoring for BREW, you complete the following tasks: Register as a BREW developer.Install the BREW SDK and Tools Suite.Install Flash Lite 2.1 for BREW.Install USB drivers for target devices.Register as a BREW developerTo register as a BREW developer, go to the QUALCOMM's main BREW site and follow the links on the Developer home page to become an authenticated BREW developer. Install the BREW SDK and toolsThe instructions that follow describe how to install the BREW SDK on your computer. They assume that you have already registered as a BREW developer. For more detailed information about installing the BREW SDK or Tools Suite, see &quot;Installing the BREW SDK&quot; in Starting with BREW. Go to the BREW website and then choose Developer Home &gt; BREW Documentation &gt; Application Development Documentation.From BREW Developer Home on the BREW website, click Download BREW Tools to display the BREW Development and Commercialization Tools page.Navigate to the BREW Development area and click the appropriate link to download the most recent BREW SDK version (at this writing, BREW SDK 3.1).Follow the onscreen instructions to download and install the SDK.After you install the SDK, install the tools. Navigate to the BREW Commercialization area of the BREW Development and Commercialization Tools page and click the link for the BREW Testing and Commercialization Utilities. Follow the onscreen instructions to install the Tools Suite on your computer.Your Start menu should now contain entries for both the BREW SDK and the BREW Tools Suite.Install Adobe Flash Lite 2.1 for BREW DevicesFlash Lite 2.1 for BREW Devices includes three components:Flash Lite Publisher for BREW (available from http://www.adobe.com/go/support_flashlite)Flash Lite 2.1 for BREW Simulator (available from http://www.adobe.com/go/support_flashlite)Flash Lite extension for BREW-enabled devices (available from the BREW website for testing purposes only. The extension is downloaded automatically to users' devices when they select and download a Flash Lite for BREW application.)Installing USB drivers for devicesEach device you intend to target for BREW development includes its own set of USB drivers, which must be installed on your computer. New devices should include a CD-ROM that contains these drivers; use these versions whenever possible. To install USB drivers for a device, follow the standard procedure for installing device drivers in Windows." />
   <page href="00004764.html" title="Additional resources" text="Additional resourcesFor more information about Flash Lite application development and testing, see the other sections in this document, which provide comprehensive information about how to develop and test Flash Lite applications. The online Help for Flash CS3 Professional also contains extensive information on Flash Lite development.For more information about BREW, the best source of information is the QUALCOMM BREW website. You can also consult the Help files included in the SDK for detailed information about BREW development processes and tools.At this writing, the BREW documentation set includes two similarly named documents, both of which are useful for learning BREW basics. These documents are:Getting Started with BREW (a two-page summary of the hardware and software you need to develop BREW applications).Starting with BREW (a more comprehensive document that contains all of the information you need to start developing BREW applications)." />
   <page href="00004765.html" title="Authoring Flash Lite files for BREW" text="Authoring Flash Lite files for BREWWorkflow for authoring Flash Lite files for BREWIdentifying your target device and content typeCreating your application in FlashTest your application in FlashAdditional resources" />
   <page href="00004766.html" title="Workflow for authoring Flash Lite files for BREW" text="Currently only the Samsung SCH-A950 supports screen saver content types.The testing you do in Flash using the emulator is different from the testing you do using the Simulator that is included with the BREW SDK. Flash emulator testing is described in this section, and BREW Simulator testing is described in Publishing Flash Lite files for BREW. Because the Device Central emulator does not currently provide device packs for BREW devices, the Device Central emulator can be used only to test basic functionality. Use the BREW Simulator to test your application's functionality in the BREW environment. Workflow for authoring Flash Lite files for BREWAuthoring for BREW is similar to authoring for Flash Lite in general, except that you tailor your applications to the characteristics of the specific BREW-enabled handset for which you are designing. This section describes how to use Flash to author Flash Lite content that can later be published for BREW by using the Flash Lite Publisher for BREW (described in Publishing Flash Lite files for BREW).Creating Flash Lite content for the BREW platform is an iterative process that involves the following tasks:Identify your target devices and Flash Lite content type At this writing the following two devices support BREW: the Samsung SCH-A950, which includes the BREW version 2.1.3 platform; and the LG VX9800, which includes the BREW version 3.1.2 platform. These devices have substantially different characteristics (for example, the LG has a QWERTY keyboard and the Samsung does not), so it is important to tailor your application development plans to the device's unique capabilities.Also, you can create two different content types--applications and screen savers; each content type requires different application design concerns. For more information about how screen savers differ from applications, go to the BREW website and navigate to Developer FAQs &gt; BREW Tools &gt; MIF Settings &gt; Screensaver.Create and test your application in Flash Adobe Flash CS3 Professional includes an emulator on Adobe Device Central CS3 that lets you test your application without having to transfer it to a device. You use the Device Central emulator to refine your application's overall design and fix any problems before you test it on a mobile device. " />
   <page href="00004767.html" title="Identifying your target device and content type" text="Identifying your target device and content typeThe QUALCOMM Developer Home contains information about the specific characteristics of all of the devices that currently support a version of BREW. Some information is also available about precommercial devices that are not yet available on the market. You can use this information to determine the devices that you plan to target with your BREW application. Several sample applications with different device packs are also included with the BREW SDK. You can use these sample applications to learn more about how specific devices work." />
   <page href="00004768.html" title="Creating your application in Flash" text="Content actionScreen modeLeft key actionRight key actionDefault (content does not call the SetSoftKeys command)Full-screen modeDisplays options menuExits the playerNon-full-screen mode (content does not call SetSoftKeys)Non-full-screen modeDisplays options menuExits the playerContent disables soft keys n/aNoneNoneContent overrides one or both soft keys (calls SetSoftKeys)n/aDisplays options menu if no override. If override, behavior specified by content.Exits the player if no override. If override, behavior specified by content.Creating your application in FlashThe process for creating Flash Lite applications for BREW is similar to creating a generic Flash Lite application. With the exception of features that are not supported on BREW devices (listed in Flash Lite features not supported in BREW) and BREW-specific authoring notes (below), developing applications for BREW devices can be done by following the development steps detailed in the rest of the Flash documentation. The following topics provide information that applies only to Flash Lite authoring for BREW. Launching a browserThe BREW target handsets use the OpenWave browser, which doesn't provide the appropriate hook for the BREW application to invoke the browser. Therefore, if you specify an HTTP URL in the getURL(), loadVars(send), or XML.send() functions, no browser is launched. To send information to a server and continue playing your SWF file without opening a new window or replacing content in a window or frame, use the loadVars.sendAndLoad() function.Default soft key behaviorFor information and examples describing how to program soft key behavior in Flash Lite, see Using the soft keys. The following table describes the default soft key behavior in Flash Lite 2.1 for BREW: " />
   <page href="00004769.html" title="Test your application in Flash" text="Test your application in FlashAs with creating your application, using the Adobe Device Central emulator to test your BREW application is similar to testing a generic Flash Lite application. Remember that the testing you do in Flash (using the Device Central emulator) is different from the testing you do using the Simulator that is included with the BREW SDK. Device Central emulator testing is described in this section, and BREW Simulator testing is described in Publishing Flash Lite files for BREW Because the Device Central emulator does not currently provide device packs for BREW devices, the Device Central emulator can be used only to test basic functionality. Use the BREW Simulator to test your application's functionality in the BREW environment. Open your application in Flash.Select File &gt; Publish Settings. On the Flash tab, select Flash Lite 2.1 from the Version list, and then select ActionScript 2.0 from the ActionScript version list. Click OK to save your settings.Launch the Adobe Device Central emulator (Control &gt; Test Movie) and click the Device Profiles tab.In the Available Devices pane, do one of the following: If you have not downloaded a device pack for your target device, select Generic &gt; Flash Lite 2.0 &gt; Generic Phone. If you downloaded a device pack for your targeted device (available from www.adobe.com/products/flash/download/device_profiles), click the device name to expand it, select the appropriate device size, and then drag the name of your targeted device from the Available Devices pane to the Device Sets pane.Select File &gt; Return to Flash, and then select Control &gt; Test Movie on the Flash menu. If the BREW Publisher wizard appears, click Cancel to close the dialog box. Flash exports the application to Device Central and opens it in the emulator.Use the emulator to test your application. For information about how to use the emulator, see Using the emulator. When you are finished testing your application in the emulator, save your files and proceed to Publishing Flash Lite files for BREW for instructions on how to publish your application for the BREW platform." />
   <page href="00004770.html" title="Additional resources" text="Additional resourcesFor further information about developing and testing Flash Lite applications, consult the following sources, which you can find in Flash Help:Getting Started with Flash Lite 2.x and 3.0 (PDF)Testing Flash Lite Content (Help topics)" />
   <page href="00004771.html" title="Publishing Flash Lite files for BREW" text="Publishing Flash Lite files for BREWAbout publishing Flash Lite files for BREWFile typesMIF filesSIG filesObtain a SIG fileBAR filesDevice file structures for different BREW versionsWorkflow for publishing and testing Flash Lite files for BREWUse the BREW Publisher wizard to publish application filesTest your application with the BREW SimulatorUse device packsAdditional resources" />
   <page href="00004772.html" title="About publishing Flash Lite files for BREW" text="About publishing Flash Lite files for BREWTo run on BREW devices, Flash Lite applications must conform to the BREW standard. The Flash Lite for BREW Publisher wizard makes it easier for developers to create applications that conform to this standard by automating some of the steps required. In addition to generating the files for the application itself, the wizard also uses the Simulator tool in the BREW SDK to generate files that you can use to test your BREW application.Before you start using the BREW Publisher wizard, it is useful to understand some basic information about BREW application file types, file structure, and requirements. " />
   <page href="00004773.html" title="File types" text="File File contentMIF fileConfiguration informationMOD fileApplication file for BREW deviceSIG fileDevice-specific file from QUALCOMMFileFile contentMIF fileConfiguration informationDLL fileApplication file for BREW SimulatorFile typesThe primary purpose of the Flash Lite Publisher for BREW is to publish a standard SWF file, and then use a post-processor to package the SWF file so that it can run on a BREW device. The following table lists the files needed to use Flash Lite content on a BREW device: The files needed to use Flash Lite content with the BREW Simulator are as follows: All of these files must have the same filename (plus the appropriate file extension: .mif, .mod, .sig, or .dll), and the filename must also be the same as the application folder name. These files must also be located in the correct folders on the device in order to work. The folder structure varies according to the version of BREW your target device uses. For more information, see Device file structures for different BREW versions. " />
   <page href="00004774.html" title="MIF files" text="MIF filesMIF files are configuration files that provide information required by BREW applets. The BREW Publisher wizard generates MIF files for you as part of the publishing process. However, it is the responsibility of the individual content developer to understand the MIF format and requirements, and to verify that the MIF file settings are correct before submitting applications for True BREW Testing. The following code shows the default MIF values that are output by the BREW Publisher wizard, for applications and screen savers, respectively. If any of these values are incorrect for your application, download the MIF Editor tool from the BREW website and edit the files before submitting your applications for testing.&lt;Applet&gt;- List of Applets defined in this Module: [Class ID in post processor]- Applet Information:* Name: [Applet Name in post processor]* Class ID: [Class ID in post processor]* Applet Type: [blank]- Graphics* Large: [Large Icon in post processor]* Medium: [Medium Icon in post processor]* Small: [Small Icon in post processor]&lt;Extension&gt;- Exported Classes: [blank]- Exported MIME Types: [blank]&lt;Dependencies&gt;- External Classes Used by this Module: [blank]- External Classes Directory (Checkbox): [checked]- Used: [Class IDs generated by post processor]&lt;Privileges&gt;File [checked]Network [checked]Web Access [checked]TAPI [checked]&lt;Access Control&gt;- ACL type [blank]- Rights [blank] - Groups [blank]&lt;License&gt;No License (Checkbox): [checked]&lt;General&gt;- Author Name: [Author in post processor]- Copyright String: [Copyright in post processor]- Module Version: [Version in post processor]- EFS Restrictions* Max Files: [blank]* Max Space: (bytes) [blank]- String Encoding Format: [ISOLATIN1]Default MIF output for Screensavers&lt;Applet&gt;- List of Applets defined in this Module: [Class ID in post processor]- Applet Information: * Name: [Applet Name in post processor] * Class ID: [Class ID in post processor] * Applet Type: [blank]- Graphics * Large: [Large Icon in post processor] * Medium: [Medium Icon in post processor] * Small: [Small Icon in post processor]- Notifications, Flags, Settings…  * Flags: Screensaver [checked] &lt;Extension&gt;- Exported Classes: [blank]- Exported MIME Types: [brew/ssaver Class ID] &lt;Dependencies&gt;- External Classes Used by this Module: [blank]- External Classes Directory (Checkbox): [checked]- Used: [Class IDs generated by post processor] &lt;Privileges&gt;All unchecked&lt;Access Control&gt;- ACL type [blank]- Rights [blank] - Groups [blank]&lt;License&gt;No License (Checkbox): [checked]&lt;General&gt;- Author Name: [Author in post processor]- Copyright String: [Copyright in post processor]- Module Version: [Version in post processor]- EFS Restrictions * Max Files: [blank] * Max Space: (bytes) [blank]- String Encoding Format: [ISOLATIN1]" />
   <page href="00004775.html" title="SIG files" text="SIG files are required for testing applications on devices, but they are not required for testing using the BREW Simulator.SIG filesSIG files are device-specific signature files that are required for each device you are using for your application development. These files must be obtained from QUALCOMM and are good for 90 days. After 90 days, the signature file expires and QUALCOMM must issue a new signature file. Only one SIG file is required per device. However, because each individual application requires its own corresponding SIG file, you make a copy of the original SIG file and rename it to match the name of the application you have created. Remember that the SIG file must reside in the same folder as the MOD file, the application file for the BREW device.You must be an authenticated BREW developer to access the signature generation utility on the BREW website. " />
   <page href="00004776.html" title="Obtain a SIG file" text="Obtain a SIG fileGo to the BREW website and navigate to the page that contains the link to the QUALCOMM web-based test signature generator.Select BREW Testing Generator.Enter your BREW developer user name and password.In the ESN field, type 0x&lt;ESN Number&gt; where the ESN number is the number you find under the device battery when you lift it up. Click Generate and wait for the Download Signature link to appear. Download the signature and save the file; it will be required for all testing on the device. " />
   <page href="00004777.html" title="BAR files" text="BAR filesYou can add, delete, and move files on a BREW-enabled device with a data cable and a Windows application called AppLoader (QUALCOMM provides AppLoader as part of the BREW Tools Suite). However, you cannot copy files from the BREW device that have the extensions .mod, .mif, or .bar to any other device or storage medium. This limitation is enforced by QUALCOMM to ensure that files purchased through the BREW Delivery System (BDS) cannot be distributed to unauthorized users.To enable Flash content developers to take advantage of this security feature, the Flash Lite player that runs on BREW devices checks for BAR files when it attempts to reference a file on the local device. This restriction applies to any ActionScript or Shared Libraries function that uses a path to reference a file (for instance, loadMovie(), loadSound(), loadVariables(), XML.load(), and so on). To use this feature, developers can append the .bar extension to any files they create, and the player can still locate and display them, but no one can copy them from the BREW device onto which they were initially loaded. The Flash Lite player first checks for the existence of the file by using the supplied local path (for instance, loadMovie(example.swf)). If the file is not found at this location, the player then checks the same path with the .bar extension appended (for instance, loadMovie(example.swf.bar)). The file is then loaded." />
   <page href="00004778.html" title="Device file structures for different BREW versions" text="Device file structures for different BREW versionsDevices that support BREW 2.x and BREW 3.x have different file structures. It is important to understand these differences before you use the BREW Publisher wizard to specify your BREW application's file structure.The file system on BREW 2.x devices is structured as follows: All application folders are stored in the root folder, called brew/.Application files (including SIG files) are stored in the application folder (subfolders are not allowed).MIF files are stored in the root folder, brew/. Shared media, such as images and BAR files are stored in the brew/shared folder. You can also store shared media in the folder that contains the main application files. Example:brew/appname/appname.modbrew/appname/appname.sigbrew/appname.mifbrew/shared/media.xxx, where xxx is the extension of any resource files, including graphics, video, sound, and BAR filesorbrew/appname/media.xxx, where xxx is the extension of any resource files, including graphics, video, sound, and BAR filesThe file system on BREW 3.x devices is structured as follows: All application directories are stored in the brew/mod folder. Application files (including SIG files) are stored in the application folder (subfolders are not allowed). MIF files are stored in the brew/mif folder. You can store shared media, such as images and BAR files, in the brew/shared folder. You can also store shared media in the folder that contains the main application files. Example:brew/mod/appname/appname.modbrew/mod/appname/appname.sigbrew/mif/appname.mifbrew/shared/media.xxx, where xxx is the extension of any resource files, including graphics, video, sound and BAR filesorbrew/mod/appname/media.xxx, where xxx is the extension of any resource files, including graphics, video, sound, and BAR files" />
   <page href="00004779.html" title="Workflow for publishing and testing Flash Lite files for BREW" text="Workflow for publishing and testing Flash Lite files for BREWThe workflow for publishing and testing Flash Lite files for BREW is as follows:In Flash, launch the BREW Publisher wizard and follow the screens to specify the appropriate settings for your BREW application and publish the files. In the BREW SDK, use the BREW Simulator to test your the application." />
   <page href="00004780.html" title="Use the BREW Publisher wizard to publish application files" text="If the Post-Processor list does not appear on the Flash tab, check the instructions in Setting up your system for BREW to ensure that you correctly installed Flash Lite 2.1 for BREW. The Post-Processor list appears only after the software is installed.Field nameField contentsClass IDThis field is prepopulated with a randomly generated value as a default. Replace this value with your certified class ID if you have one. A class ID is a unique 32-bit identification code (8-digit hexadecimal value), which the BREW interface creation mechanism uses. For testing on a local system, you can use the randomly generated default (provided it is unique), although QUALCOMM must issue a unique ID for applications intended for distribution. For more information on obtaining class ID files, see the BREW website.Applet NameThis field is prepopulated with the root portion of the name of the FLA file that is currently active. For example, if the active FLA file is called BREW.fla, the applet name is BREW. The name you enter in this field is displayed in the BREW Application Manager on the target device. Use the following guidelines for Applet names:Applet names must be all lowercase, and must begin with an alphabetic character. Numbers are allowed, but not as the first character. The underscore character is the only special character allowed, and it may not be the first character of the name. The maximum length of the name varies depending on the device. For information, see the device specifications on the BREW website.Field nameField contentsAuthorEnter the applet author's name (23 characters maximum).VersionEnter the applet version (23 characters maximum).CopyrightEnter the copyright information (23 characters maximum). Domain URLEnter the fully qualified domain for your applet, ending with a trailing slash (example: http://www.example.com/). The applet's domain controls which information the applet has access to at run time. In earlier versions of the Flash player, SWF files from similar domains (for instance, www.exampleapps.com and www.examplegames.com) could communicate freely with each other and with other documents. In Flash Player 7 and later, the domain of the data to be accessed must match the data provider&#39;s domain exactly for the domains to communicate. For more information about domains and security, see the Flash documentation's topics on security, cross-domain security, and allowing data access between cross-domain SWF files.Application Type (Application or Screen Saver)Specifies whether the BREW applet you are creating is an application or a screen saver. For more information about how screen savers differ from applications, go to the BREW website and navigate to Developer FAQs &gt; BREW Tools &gt; MIF Settings &gt; Screensaver.Field nameField contentsSmall IconImage file for small icon (displayed on device). Maximum size: 16 x 16.Medium IconImage file for medium icon (displayed on device). Maximum size: 26 x 26.Large IconImage file for large icon (displayed on distribution server and some devices). Maximum size: 65 x 42.Field nameField contentsFor SimulatorMIF FolderApplet FolderContains the files you need to test your applet by using the Simulator tool in the BREW SDK. For further information about the expected file locations and folder structure, see the documentation for the BREW Simulator on the BREW website.For DeviceContains the files you upload to the BREW device. For more information about how folder structures differ according to the version of BREW supported by the target device, see Uploading files to BREW devices.Field nameField contentsSummary Of Your SelectionsDisplays a list of all of your settings to review.Do Not Show This Wizard On PublishControls whether to display the wizard again when you publish the applet files, or trigger the publishing process without redisplaying the wizard. Note that you can always access the wizard regardless of this setting by displaying the Publish Settings dialog box and clicking the Settings button to the right of the Post-Processor list.This step is required only the first time you select Flash Lite for BREW from the Post-Processor list in a given file. Thereafter, you can publish without clicking OK first.Use the BREW Publisher wizard to publish application filesIn Flash, select File &gt; Publish Settings. The Publish Settings dialog box appears.On the Formats tab, select Flash (.swf) if it is not already selected. You can deselect all other file types, because only the SWF file is needed to generate the BREW applet.On the Flash tab, from the Version list, select a supported version of the player (Flash Player 7 or earlier, or any version of Flash Lite), and then select any of the versions from the ActionScript version list (all ActionScript versions are supported). From the Post-Processor list near the bottom of the Flash tab, select Flash Lite for BREW.Click Settings to the right of the Post-Processor list to display the BREW Publisher wizard.(Required) Use the input fields on the Identify Applet screen to specify a unique class ID and name for your BREW applet. The following table lists detailed information about these fields. When you are finished specifying your applet's class ID and name, click Next to continue.(Optional) Use the Include Applet Information screen to enter information that you want to publish along with your BREW applet. The information that you enter here is stored in your applet's MIF file. The following table lists detailed information about each field. When you are finished specifying your information, click Next to continue.(Optional for testing your application, but mandatory for applications that must pass True BREW Testing) Use the Applet Icons screen to enter or browse for the name and location of one or more icons for your applet. Supported file types are: JPEG, BMP, PNG, and BCI (BREW Compressed Image). These icons are displayed along with the applet's name in the BREW Application Manager on the target device. When you are finished specifying your icons, click Next to continue.Use the Define Output Settings screen to specify the locations in which to publish files for the BREW Simulator and the target device. These fields are populated with default values derived from your SWF file's location, combined with the applet's name and folder names (simulator and device) that indicate which files to use for testing and which files to upload to the device. You can accept the defaults, or you can specify different output locations. When you are finished, click Next to continue.Use the Summary Of Your Selections screen to review the applet settings you selected. To change any of these settings, use the Back button to return to previous screens and make changes. When your settings are complete, check or uncheck the box at the bottom of the screen to specify whether to display the wizard again when you publish, and then click Finish to save your settings. Click OK to save your settings, and then select File &gt; Publish Settings again. The Publish Settings dialog box appears. Click Publish to publish your files to the locations you specified using the wizard." />
   <page href="00004781.html" title="Test your application with the BREW Simulator" text="If you specified the BREW SDK examples folder as the location for the Simulator output files when you used the BREW Publisher wizard to publish the files, the files are already located in the correct folder and do not need to be copied.Test your application with the BREW SimulatorBefore uploading your application to the device, you should test it using the Simulator tool in the BREW SDK. For further information about this tool, see the documentation for the BREW Simulator on the BREW website.Navigate to the Simulator folder for the applet that you created by using the BREW Publisher wizard. Open the Simulator folder and copy all of its contents to the BREW SDK examples folder. Choose Start &gt; Programs-BREW SDK v&lt;your version&gt; and select the Simulator for BREW to open the application. In the Simulator, select File &gt; Load Device, and then select the device pack for your target handset. On the Simulator's Properties tab, select your application's folder as the Applet Directory.Use the Simulator's tools and features to test your application. " />
   <page href="00004782.html" title="Use device packs" text="Use device packsIf you are an authenticated BREW developer, you can download device-specific device packs for the devices you are targeting from the Developer Resources area of the BREW website. The device pack for the Simulator may not exactly match your actual device. For example, the Samsung SCH-A950 device pack shows a BACK key, which is labeled as CLR on the actual device. Also, the device pack for the LG VX9800 does not support key input from the alphabetic keys on the keyboard, although the actual device does. Contact QUALCOMM for more information about specific device packs, updates, or issues.If you are not an authenticated BREW developer, you can use the default device packs that are included with the SDK download. However, because these default device packs have less memory than the device-specific ones, you may need to select the device pack with the most memory (Device Pack 3 at this writing), or increase the memory to approximately 10,000,000 bytes to avoid performance issues and errors. Increase the memory for a single Simulator sessionOpen the Simulator and select the Device Details tab.Scroll to the Memory section.Increase the value for Heap Size (bytes). Note that this value is called RAM Size in some versions of the Simulator.Make the memory increase persist across Simulator sessionsUse a text editor to open the DSD file for the device pack you want to use (devicepack&lt;x&gt;.dsd, where x is the device pack number.) Locate the appropriate setting and increase the value of Text:&lt;String Id=&quot;24&quot; Name=&quot;IDS_DD_HW_RAM_SIZE&quot;&gt; &lt;Text&gt;1048576&lt;/Text&gt;Save and close the file.You may also encounter difficulties using the Simulator if the space allocated to the Examples folder and all of its subfolders is insufficient to allow your application to function properly. You can either delete unnecessary files from these folders manually, or increase the amount of space allocated for these files.Make the Examples file size increase persist across Simulator sessionsUse a text editor to open the configuration file and edit the appropriate value:For the Samsung SCH-A950: The configuration file is SCH-A950.qsc. The value to be changed is shown in boldface: FS_LIMITS_PER_MODULE 65535 15204352For the LG9800: The configuration file is LG-VX9800.dsd. The value to be changed is shown in boldface:&lt;String Id=&quot;20&quot; Name=&quot;IDS_DD_HW_EFS_SIZE&quot;&gt;&lt;Text&gt;47000000&lt;/Text&gt;&lt;Comment&gt;50MB&lt;/Comment&gt;&lt;/String&gt;Save and close the file." />
   <page href="00004783.html" title="Additional resources" text="Document name and typeLocation Starting with BREW, &quot;About the BREW Tools Suite&quot; (PDF)Go to the BREW website, and then select Developer Home &gt; Application Developer Documentation.BREW Simulator (Help)Open the Simulator and click Help in the menu bar to display the Help.Additional resourcesFor further information about the BREW Simulator, consult the following sources:" />
   <page href="00004784.html" title="Uploading files to BREW devices" text="Uploading files to BREW devicesAbout uploading Flash Lite applications for BREWWorkflow for uploading applicationsUploading Flash Lite Extension files to the device (first use only)AppLoader hints and best practicesUpload applications to a BREW 2.x deviceUpload applications to a BREW 3.x deviceTesting applications on the deviceAdditional resources" />
   <page href="00004785.html" title="About uploading Flash Lite applications for BREW" text="About uploading Flash Lite applications for BREWAfter you create your Flash Lite application and use the Flash Lite for BREW Publisher wizard to generate BREW-compatible files, you upload your application to a supported BREW device and test it.Ideally you already targeted the device in your initial design process and tested your application by using the Adobe Device Central emulator and the BREW Simulator. However, it is still important to test your application thoroughly on the target device to ensure that it functions as you expect.Before you can upload your application, you need: A device that supports Flash Lite for BREW (at this writing, either a Samsung SCH-A950 or an LG VX9800)A serial or USB cable to upload your application from your computer to the device (usually available from the device manufacturer)The AppLoader tool (available for download as part of the BREW Tools Suite to authenticated developers from the BREW website)Application files in the required file formats and structure (created by using the Flash Lite for BREW Publisher wizard)These are the required application files:appname.SIG (available for download to authenticated developers from the QUALCOMM web-based test signature generator) appname.MOD (generated by the Flash Lite Publisher for BREW wizard)appname.MIF (generated by the Flash Lite Publisher for BREW wizard)All sound, video, image, and BAR files that your application requiresFor complete information about required file formats and structure for your target device, see Device file structures for different BREW versions" />
   <page href="00004786.html" title="Workflow for uploading applications " text="Workflow for uploading applications This workflow assumes that you have already installed the appropriate USB drivers for your device on your computer. For more information, see Setting up your system for BREW.To upload and test Flash Lite applications on BREW devices, complete the following tasks:Connect handset to computer with cable.Open AppLoader on the computer:Copy application files to the appropriate locations for the device. For information, see Device file structures for different BREW versions.If necessary, copy Flash Lite Extension and Player files to device (first time only).Restart the device.Test the application on the device.The rest of this section contains more detailed information about each of these tasks." />
   <page href="00004787.html" title="Uploading Flash Lite Extension files to the device  (first use only)" text="Extension fileSourceflashlite_2_1.sigGenerated by developers using a tool available from the BREW website.flashlite_2_1.mifAvailable for download from the BREW website.flashlite_2_1.modAvailable for download from the BREW website. brewsaplayer.sigGenerated by developers using a tool available from the BREW website.brewsaplayer.mifAvailable for download from the BREW website.brewsaplayer.modAvailable for download from the BREW website.Uploading Flash Lite Extension files to the device &lt;br /&gt;(first use only)Before you can test your Flash Lite for BREW applications on a given device, you copy the Flash Lite Extension onto the device. This needs to be done only once, when you first acquire the device for testing. End users of your application will receive these files as part of the download when they download your completed application from the BDS or ADS, but developers must copy these files manually. The files are listed below. Follow the instructions in the rest of this section to upload the files to your device using the AppLoader tool. Note that the locations to which you copy these files are different for BREW 2.x and 3.x devices. See Device file structures for different BREW versions for more information." />
   <page href="00004788.html" title="AppLoader hints and best practices" text="AppLoader hints and best practicesThe following is a list of hints for using the AppLoader tool: When you create a folder on the device, do not use the backward slash ( ).Do not run any applications on the device while you are copying files. Restart the device after you use AppLoader to make any changes. Avoid overwriting files in AppLoader; instead, delete the old versions of files on the device and replace them with new copies of the files. Do not upload files or folders whose names consist of numerals only. You will be unable to delete these files and folders from some devices.Do not begin a file or folder name with the characters &quot;shared.&quot; &quot;Shared&quot; is a reserved word in BREW, and you will be prevented from uploading files or folders that begin with those characters." />
   <page href="00004789.html" title="Upload applications to a BREW 2.x device" text="You can find the COM port your device is connected to in the Windows Device Manager by looking at the properties of the port that corresponds to the installed device. If you always connect the same device model to the same COM port, this number does not change. Because it changes when you use a different device model, you should always check the COM port number when you connect a new device model. Upload applications to a BREW 2.x deviceThe following instructions explain how to upload a Flash Lite application for BREW to a Samsung SCH-A950, which includes the BREW version 2.x platform. This procedure assumes that you have already installed the appropriate USB drivers for your device on your computer. For more information, see Setting up your system for BREW. This procedure also assumes that you have already uploaded the required Flash Lite Extension and Flash Lite player files to the device. This needs to be done only once, when you first begin using the device. For more information, see Uploading Flash Lite Extension files to the device (first use only).Use the data cable that the handset manufacturer provides to attach the handset to a COM port on the computer on which your BREW application files are stored. Navigate to the folder that contains your application files and verify that the directory structure is correct for your target device.For complete information about the structure for BREW 2.x devices, see Device file structures for different BREW versions. Select Start &gt; Programs &gt; BREW Tools Suite &lt;latest version&gt; &gt; BREW Apploader to start the AppLoader tool. The AppLoader tool displays a connection window. Select the number of the COM port your device is connected to (if you are unsure what port to select, see the following note), select 2.x as the BREW version for your device, and then click OK to connect to the device.After you are connected, the AppLoader tool displays the device's BREW file system.To upload your application files (MOD, SIG, and resource files) to the handset, do one of the following: Select File &gt; Directory &gt; New Directory to create a folder with the same name as your application, and then copy your application files to it. See Device file structures for different BREW versions for details.Drag your application folder from the Windows Explorer to the AppLoader window.Restart the device. The device must be restarted before you can run your application.To restart the device, do one of the following:Select Device &gt; Reset from the BREW AppLoader menu.Press and hold the End key on the handset. Navigate to Get It Now &gt; Get Going and select the name of your application to start it in the BREW environment." />
   <page href="00004790.html" title="Upload applications to a BREW 3.x device" text="You can find the COM port that your device is connected to in the Windows Device Manager by looking at the properties of the port that corresponds to the installed device. If you always connect the same device model to the same COM port, this number does not change. Because it changes when you use a different device model, you should always check the COM port number when you connect a new device model. Upload applications to a BREW 3.x deviceThe instructions that follow explain how to upload a Flash Lite application for BREW to an LG VX9800, which includes the BREW version 3.x platform.This procedure assumes that you have already installed the appropriate USB drivers for your device on your computer. For more information, see Setting up your system for BREW.This procedure also assumes that you have already uploaded the required Flash Lite Extension and Flash Lite Player files to the device. This needs to be done only once, when you first begin using the device. For more information, see Uploading Flash Lite Extension files to the device (first use only). Use the cable that the handset manufacturer provides to attach the handset to a COM port on the computer on which your BREW application files are stored. Navigate to the folder that contains your application files and verify that the directory structure is correct for your target device. For complete information about the structure for BREW 3.x devices, see Device file structures for different BREW versions.Select Start &gt; Programs &gt; BREW Tools Suite &lt;latest version&gt; &gt; BREW Apploader to start the AppLoader tool. The AppLoader tool displays a connection window. Select the number of the COM port your device is connected to, select 3.x as the BREW version for your device, and then click OK to connect to the device.After you are connected, the AppLoader tool displays the device's BREW file system.To upload your application files (MOD, SIG and resource files) to the handset, do one of the following: Select File &gt; New &gt; Directory &gt; New Directory to create a directory with the same name as your application, and then copy your application files to it. See Device file structures for different BREW versions for details.Drag your application folder from the Windows Explorer to the AppLoader window.To restart the device, do one of the following:Select Device &gt; Reset from the BREW AppLoader menu.Press and hold the End key on the handset. Navigate to Get It Now &gt; Get Going and select the name of your application to start it in the BREW environment. On some devices, your application will not be displayed in the standard Get Going menu. To display your application on these devices, follow these steps:On the Verizon home screen, press Select/OK to access the menu.Press the zero key (0) to access the service menu.Enter the default password, which is six zeros (000000).Press the nine key (9) to display Get It Now.Press the g key to access the screen on which Flash Lite applications are displayed." />
   <page href="00004791.html" title="Testing applications on the device" text="Testing applications on the deviceBefore you can start and test your application on the device, you must have a test signature from QUALCOMM. Authenticated developers can use a web-based tool called Testsig on the BREW Developer extranet to generate test signatures. For specific information on how to generate and use your Testsig, see the BREW website. You can find extensive information on how to test your BREW applets to ensure that they ultimately comply with TBT (True BREW Testing) standards on the BREW Developer extranet." />
   <page href="00004792.html" title="Additional resources" text="Document name and typeLocation Starting with BREW, &quot;About the BREW Tools Suite&quot; (PDF)Go to the BREW website and then select Developer Home &gt; Application Developer DocumentationBREW)_Apploader.chm (Help)C: Program Files BREW Tools Suite &lt;latest version&gt; BREWApploader (default)BREW Testing generatorGo to the BREW website and navigate to the SDK download pageAdditional resourcesFor further information about the AppLoader tool, consult the following sources:" />
   <page href="00004793.html" title="Testing Flash Lite content " text="Testing Flash Lite content Adobe Flash CS3 Professional includes an Adobe Flash Lite emulator available on Adobe Device Central CS3 that lets you test your application in the authoring tool as it will appear and function on an actual device. When you're satisfied with the application running in the emulator, you can test it on an actual device." />
   <page href="00004794.html" title="Testing overview" text="Testing overviewFlash Lite testing featuresTesting features not supported by the emulatorTesting inline text in Flash Lite 2.1" />
   <page href="00004795.html" title="Flash Lite testing features" text="Flash Lite testing featuresThe Flash Lite testing features in Flash CS3 Professional are part of Adobe Device Central, which includes both an extensive database of device profiles and a device emulator. Device Central also works with many other Adobe products, such as Adobe Creative Suite® and Adobe Dreamweaver®.The Adobe Device Central emulator lets you preview your Flash Lite content within the Flash authoring tool. The emulator is configured to match the behavior and appearance of the target device. You use the Device Central interface to select and manage your target devices, as well as to specify your application's target Flash Lite content type, such as ring tone, browser, or stand-alone application. In Device Central, each combination of test device and Flash Lite content type defines a device configuration that specifies what features are available to your application, such as supported audio formats, ability to make network connections, and other features. For more information about the Flash Lite content types, see Supported content types.See Device Central Help for more information, including details about interacting with the emulator. " />
   <page href="00004796.html" title="Testing features not supported by the emulator" text="Testing features not supported by the emulatorThe Adobe Device Central emulator does not support all the features available in the standard (desktop) test window. The following is a list of features available in the desktop Flash test window that are not available in the Adobe Device Central emulator:The List Variables (Debug &gt; List Variables) and List Objects (Debug &gt; List Objects) featuresThe Bandwidth Profiler, and Streaming and Frame by Frame graphing featuresThe View &gt; Simulate Download menu commandThe ActionScript debuggerThe View &gt; Show Redraw Regions menu commandThe Controller toolbar (Window &gt; Toolbars &gt; Controller)" />
   <page href="00004797.html" title="Testing inline text in Flash Lite 2.1" text="Testing inline text in Flash Lite 2.1You cannot currently test the inline text functionality in the Adobe Device Central emulator; you must test this feature on a device. When testing in the emulator, you must edit the contents of input text fields using a modal dialog box that appears over the Flash Lite content (that is, the emulator functions the same way it did for Flash Lite 1.x and Flash Lite 2.x). For details on how the modal dialog box works, see Using input text fields." />
   <page href="00004798.html" title="Using the emulator" text="Using the emulatorInvoking Adobe Device CentralSet emulator debug optionsInteracting with the emulatorSupported content typesFlash Lite specific information in the emulatorAbout screen size and available Stage sizeFlash Lite features not supported by the emulatorPlaying a device video in the emulator" />
   <page href="00004799.html" title="Invoking Adobe Device Central" text="Invoking Adobe Device CentralTo start the emulator, choose Control &gt; Test Movie in the Flash authoring tool, the same way you preview your Flash desktop content. (However, Adobe Device Central has a different appearance and functionality than the test window for Flash desktop content.) After you choose Control &gt; Test Movie or press Ctrl+Enter to start Device Central, a progress bar appears to indicate that Flash is exporting your SWF to Device Central. Once the export is complete, Device Central launches with the focus on the emulator, and loads your SWF: In Device Central, the Device Sets list shows all target devices that Flash saved with your application. By default, the first device in the set is selected for emulation. The content type selected is the content type that was saved with the application when you created it (for details about the Flash Lite content types, see Supported content types). You can test the application with a different content type and different devices. Changing the content type and adding or removing devices from the device set automatically changes the device settings in Flash. To test how the content appears on a different device, double-click another device in either the top or bottom list. A spinning icon appears next to the device you are testing, and the emulator changes to display your application running in the device you selected." />
   <page href="00004800.html" title="Set emulator debug options" text="Set emulator debug optionsThe Adobe Device Central emulator can send debugging messages to the Flash Output panel while content is running; the emulator also displays a pop-up version of the Output panel showing the same messages. The emulator reports the following types of information:Trace messages that are generated by a trace() function call within your Flash Lite application. For more information about using trace(), see trace() in Flash Lite 2.x and 3.0 ActionScript Language Reference.Information messages that contain general information about the selected test device, SWF file size, and other information. These messages appear in the emulator's Alert panel. Warning messages that contain information about problems with your Flash Lite content that might affect playback. You can filter the type of information that the emulator generates as follows.Select Control &gt; Test Movie. Flash exports your application to Adobe Device Central and displays it in the emulator.Select View &gt; Flash Output &gt; Show In Device Central.Select or deselect the Trace option.Select or deselect the Information option.Select or deselect the Warnings option." />
   <page href="00004801.html" title="Interacting with the emulator" text="Interacting with the emulatorYou can use your computer mouse or use keyboard shortcuts to interact with the emulator's keypad. You can interact with the following keys on the emulator's keypad:Number keys (0 to 9), and the asterisk (*) and pound (#) keysNavigation keypad (left, right, down, up, and select)Left and right soft keysYou can use your mouse to click the emulator's keypad directly, or you can use the following equivalent keyboard shortcuts:The arrow keys on your keyboard (left, right, up, down) map to the corresponding navigation keys on the emulator's navigation keypad.The Enter or Return key corresponds to the emulator's select key.The Page Up and Page Down keys correspond to the emulator's left and right soft keys, respectively.The number keys on your keyboard map to the corresponding number keys on the emulator keypad. For additional details about interacting with the emulator to test your application, see the Adobe Device Central online help." />
   <page href="00004802.html" title="Supported content types" text="As of this writing, Flash Lite 2.0 supports the Standalone Player content type only.Flash Lite content typeDescriptionAvailabilityAddress BookUses Flash Lite to let users associate a SWF file with an entry in their device's address book application.DoCoMo and VodafoneKK (Japan only)AlarmUses Flash Lite to let the user select a SWF file to play for the device's alarm.KDDI and VodafoneKK (Japan only)BrowserUses Flash Lite to render Flash content embedded in mobile web pages and viewed in the device's web browser.DoCoMo, KDDI, and VodafoneKK (Japan only)Calling HistoryUses Flash Lite to display an image or animation associated with each entry in the user's address book, along with the name and phone number. KDDI (Casio phones only)Calling ScreenUses Flash Lite to display an animation when the user receives a call or makes a call.DoCoMo and KDDI (Japan only)Chaku FlashUses Flash Lite to let the user select a SWF file to play as the ring tone for incoming calls.KDDI (Japan only)Data BoxUses Flash Lite to render Flash content in the device's Data Box application, which lets the user manage and preview multimedia files on the device.DoCoMo, KDDI, and VodafoneKK (Japan only)Data FolderUses Flash Lite to render Flash content in the device's Data Folder application, which lets the user manage and preview multimedia files on the device.KDDI (Japan only)Icon MenuUses Flash Lite to let the user select custom icon menus for the device&#39;s launcher application (used by the UILauncher content type).KDDI (Casio phones only)Image ViewerUse the Image Viewer application that lets the user manage and preview multimedia files on the device, including SWF files.DoCoMo (Japan only)Incoming CallUses Flash Lite to display an animation when the user receives a call.DoCoMo, KDDI, and VodafoneKK (Japan only)MailerUses Flash Lite to display an animation when the user sends or receives an e-mail message.VodafoneKK (Japan only)MultimediaUses Flash Lite to preview SWF files (as well as other multimedia formats).KDDI (Japan only)My PictureUses the My Picture application that lets the user manage and preview SWF files on the device, as well as other image formats.DoCoMo (Japan only)OpenEMIRODisplays Flash Lite content when the device is returning from Standby mode. This is similar to the Wake Up Screen content type on other devices.KDDI (Casio devices only)Screen SaverUses Flash Lite to display the device's screen saver.KDDI and VodafoneKK (Japan only)SMIL PlayerUses Flash Lite to preview SWF files (as well as other multimedia formats).KDDI (Japan only)Standalone PlayerMakes Flash Lite available as a stand-alone application so that the user can start and view arbitrary SWF files that reside on the device or that the user receives in the messaging in-box.Available globally for select Symbian Series 60 and UIQ devicesStandby ScreenUses Flash Lite to display the device's Standby Screen (or wallpaper screen). DoCoMo and KDDI (Japan only)Sub LCDUses Flash Lite to display content on the external or secondary screen available on some flip phones.KDDI (Japan only)UILauncherUses Flash Lite for the device's application launcher.Uses Flash Lite to display the device&#39;s launcher application (that is, the application that lets the user start other applications).Wake Up ScreenUses Flash Lite to display an animation as the phone is starting.DoCoMo (Japan only)Supported content typesFlash Lite is installed on a variety of devices. Each installation supports one or more application modes, or content types. For example, some devices use Flash Lite to enable screen savers or animated ring tones. Other devices use Flash Lite to render Flash content that is embedded in mobile web pages.The following table lists and describes all of the Flash Lite content types available as of this writing. For additional and up-to-date information about Flash Lite content-type availability, see the Flash Enabled Mobile Device page at www.adobe.com/mobile/supported_devices/." />
   <page href="00004803.html" title="Flash Lite specific information in the emulator" text="Flash Lite specific information in the emulatorThe emulator includes panels that supply information specific to your Flash Lite application. The panels appear along the right side of the window; you can collapse and expand them as you do in Flash.The Content Type panel shows the default content type for your application and allows you to select other applicable content types.The File Info panel displays the filename, Flash file version, dimensions, and size in kilobytes.The Alert panel appears when there is a problem and displays warning messages.The Memory and Performance panels show the size of static and dynamic memory and allow you to adjust various parameters to tune your application for performance.The Device Status panel shows the values of various platform-specific (fscommand()) settings, such as time zone and battery level.The Network panel displays information about your network connectivity.The Persistent Storage panel shows you how much storage on the device has been used. This is a per-device value: if multiple applications write to the persistent storage, the value is the sum of all their data. You can click Empty to clear the store for that particular device, in order to remove the persistent objects for all content that ran on that device.For details about these panels and how to use them, see the Adobe Device Central online help." />
   <page href="00004804.html" title="About screen size and available Stage size" text="About screen size and available Stage sizeEach combination of target device and Flash Lite content type determines, among other things, the available screen area that a Flash Lite application can occupy. The available Stage area can be equal to, or less than, the device's full screen size.For example, the Stage area that is available to a SWF file running in full-screen mode in the stand-alone player on a Nokia Series 60 device is equal to the device's full screen size (176 x 208 pixels). On other devices (such as those available in Japan), the Stage area that is available to a SWF file running in one of the specialized content types (such as Address Book or Screensaver) might be less than the device's total screen size. For example, the Fujitsu 700i has a screen size of 240 x 320 pixels; however, a SWF file running in the device's Address Book application has 96 x 72 pixels of available Stage area.If a SWF file's actual dimensions are different from the available Stage dimensions, the Flash Lite player scales the content (proportionately) to fit within the available Stage area. When you test your content in the emulator, the emulator also warns if your application's Stage size is different from the available Stage area.To avoid any undesired scaling issues, Adobe recommends that your Flash document's Stage dimensions match the available Stage area for the selected test device and content type." />
   <page href="00004805.html" title="Flash Lite features not supported by the emulator" text="Flash Lite features not supported by the emulatorThe emulator doesn't support all the ActionScript commands and player features that are available to Flash Lite applications running on an actual device. For example, the emulator doesn't support the ability to initiate phone calls or Short Message Service (SMS) messages. If you attempt to use a command or feature that isn't supported by the emulator, the emulator generates a message in the Output panel, as the following image shows:You must test your SWF file on an actual device to confirm that those features are functioning as expected.The Adobe Device Central emulator does not support the following fscommand() and fscommand2() commands:FullScreenGetFreePlayerMemoryGetTotalPlayerMemoryLaunchQuitStartVibrateGetNetworkConnectStatusGetNetworkRequestStatusGetNetworkStatus" />
   <page href="00004806.html" title="Playing a device video in the emulator" text="Playing a device video in the emulatorThe Flash Lite player uses the device's default video handler application to play video content in your SWF file, rather than decoding the video natively. This practice lets Flash Lite developers use any video format that the target device supports, such as 3GPP, MPEG, or AVI. For more information about using video in Flash Lite, see Working with video and images.The Adobe Device Central emulator uses QuickTime Player to render device video when testing in the Flash authoring tool. The latest version of QuickTime Player (version 7 as of this writing) supports playback of several different device video formats, including 3GPP and others. However, by default, QuickTime might not support some video formats during playback that an actual device supports, and therefore those formats will not play in the Adobe Device Central emulator. For this reason, it's important to always test your content on an actual device.If your device video does not play in the QuickTime Player, by default, try the following:Upgrade to the latest version of QuickTime Player. If available, install a third-party video codec (short for compressor-decompressor) that supports the video format you're using." />
   <page href="00004807.html" title="Warning and error messages" text="Warning and error messagesThis appendix lists the possible information and warning messages that both the device and the Adobe Device Central emulator might generate while you're testing a Flash Lite application. Device error codesAdobe Device Central emulator error and information messages" />
   <page href="00004808.html" title="Device error codes" text="Error numberError stringDescription and possible causes1Out of memoryThe emulator has run out of heap memory. Unless otherwise specified, the emulator allocates 1 MB of memory for a SWF file to use.2Stack limit reachedThe emulator has detected that its stack limit is reached or exceeded. This could be caused by various reasons, including multiple levels of nested movie clips or complicated vector drawings.3Corrupted SWFThe emulator has detected that the SWF file data is corrupted.4ActionScript stuckThe emulator has detected that certain ActionScript code in the SWF file is taking too long to execute. As a result, the emulator has stopped executing the ActionScript code.5N/AN/A6Bad image dataThe SWF file contains an image that either Flash Lite, or the platform's native image decoder, was unable to decode.7Bad sound dataThe SWF file attempted to load a sound in an unsupported format, or the sound data is corrupted.8Root movie unloadedThis error occurs when the root (level 0) SWF file is replaced with another SWF file.9N/AN/A10getURL string too longThe URL string in the getURL call is too long.11Not enough memory to decompress image.Flash Lite does not have enough memory to decode an image in the SWF file.12Bad SVG dataFlash Lite attempted to load SVG data that is corrupted.13Stream loading out of memoryFlash Lite does not have enough memory available to handle the data being streamed from a URL. For example, this error can occur if you attempt to load an XML file over the network that's too large for Flash Lite to handle at one time. If possible, try breaking the data file into several smaller files and then load each file individually.Device error codesThe Adobe Device Central emulator can generate alerts as you test your content. One type of alert appears only in the emulator and is intended to provide information about actual or potential errors; the other type of alert occurs in both the emulator and on an actual device.The first type of alert provides debugging information about your SWF file. For example, if your SWF file contains ActionScript that isn't supported by Flash Lite (or by the version of Flash Lite available on the currently selected test device), the emulator generates an alert. The other type of message that can occur in the emulator also occurs on an actual device. These types of errors are displayed in an error dialog box that the user must close for the application to continue. The following image shows an example error dialog box as it appears in the emulator:On a device, the error dialog box that appears contains the string &quot;Problem with content&quot; followed by an error number. In the emulator, the error dialog box also contains a short error string. The emulator also displays a longer description of the error in the Output panel. The following table lists all of the errors that occur in the Flash Lite player, including error numbers, the short descriptions that appear in the error dialog box, and the longer descriptions that appear in the Output panel." />
   <page href="00004809.html" title="Adobe Device Central emulator error and information messages" text="Error codeMessageDescriptionFTPA002FSCommand is ignored.The emulator detected an fscommand() function call, which is not supported by the selected test device. No modifications are made to the device-specific SWF file--this is just a warning.FTPA003loadVariables is ignored.The emulator detected a loadVariables() function call, which is not supported by the selected test device and content type. No modifications are made to the device-specific SWF file--this is just a warning.FTPA004loadMovie is ignored.The emulator detected a loadMovie() function call, which is not supported by the selected test device and content type. No modifications are made to the device-specific SWF file--this is just a warning.FTPA005The call to GetURL for URL was ignored because there was more than one request per keypress.Flash Lite allows only one getURL() function call per keypress; the emulator detected that there was more than one getURL() so only the first command is processed--the others are ignored.FTPA006The call to GetURL for URL was ignored because it was not associated with a keypress.The currently selected test device and content type process only getURL() function calls that result from users pressing a key on their device. The emulator detected that your application made a call to getURL() that wasn't associated with a keypress.FTPA007getProperty or setProperty not supported for: movieclip property.Flash Lite does not support the specified movie clip property.FTPA008getProperty or setProperty not fully supported for: movieclip property.Flash Lite does not fully support the specified movie clip property. For more information, see the entry for the specified property in the Flash Lite 2.x ActionScript Language Reference.FTPA009startDrag and stopDrag are not supported.The emulator detected a startDrag() or stopDrag() function call, which Flash Lite does not support.FTPA014getURL is ignored.The emulator detected a getURL() function call, which is not supported by the selected test device and content type. No modifications are made to the device-specific SWF file--this is just a warning.FTPA015The call to loadMovie for URL was ignored because there was more than one request per keypress.Flash Lite allows only one loadMovie() function call per keypress; the emulator detected that there was more than one loadMovie() so only the first command is processed--the others are ignored.FTPA016The call to loadMovie for URL was ignored because it was not associated with a keypress.The currently selected test device and content type process only loadMovie() function calls that result from users pressing a key on their device. The emulator detected that your application made a call to loadMovie() that wasn't associated with a keypress.FTPA017The call to loadVariables for URL was ignored because there was more than one request per keypress.Your application made multiple loadVariables() function calls during a single keypress event. Flash Lite allows only one loadVariables() command per keypress, so only the first command is processed--the others are ignored.FTPA018The call to loadVariables for URL was ignored because it was not associated with a keypress.The currently selected test device and content type process only loadVariables() function calls that result from users pressing a key on their device. The emulator detected that your application made a call to loadVariables() that wasn't associated with a keypress.FTPA019The call to FSCommand with arguments command-arguments was ignored because there was more than one request per keypress.Flash Lite allows only one fscommand() function call per keypress; the emulator detected that there was more than one fscommand() so only the first command is processed--the others are ignored.FTPA020The call to FSCommand with arguments command-arguments was ignored because it was not associated with a keypress.The currently selected test device and content type process only fscommand() function calls that result from users pressing a key on their device. The emulator detected that your application made a call to fscommand() that wasn't associated with a keypress.FTPE001The key will not be processed: keyname ASCII Value: value.The emulator detected that a device key was pressed that isn't supported by Flash Lite--the keypress is ignored.FTPE013Input text fields are not supported for the selected content type on this device.The current test device and content type do not support input text fields.FTPS010Streaming Sound is unsupported.The selected test device and content type do not support streaming sound.FTPS011Only a single sound can be played at a time (no mixing).The emulator detected that the SWF file contains multiple sounds playing simultaneously, which is not supported in Flash Lite.FTPS012Event sound was ignored because it was not associated with a keypress.In Flash Lite 1.0, a sound can play only in response to users pressing a key on their device. (This restriction does not apply to Flash Lite 2.0 and later.)FTPS021Sound not supported for the selected content type on this device.The selected test device and content type do not support sound.FTPS022ADPCM sounds not supported for the selected content type on this device.The emulator detected that the SWF file contains a native (non-device) sound compressed with ADPCM compression, which is not supported by the selected content type on this device. No modifications are made to the device-specific SWF file--this is just a warning.FTPS023MP3 sounds not supported for the selected content type on this device.The emulator detected that the SWF file contains a native (non-device) sound compressed with MP3 compression, which is not supported by the selected content type on this device. No modifications are made to the device-specific SWF file--this is just a warning.FTPS024MIDI sounds not supported for the selected content type on this device.The emulator detected a MIDI device sound, which is not supported by the selected content type on this device.FTPS025PCM sounds not supported for the selected content type on this device.The emulator detected a native Flash sound compressed using PCM compression, which is not supported by the selected content type on this device.FTPS026Debug movie is not supported in the specified test movie player.The Adobe Device Central emulator does not support the Control &gt; Debug Movie menu command.FTPS027Sound Bundle found.The emulator detected that the SWF file contains a sound bundle file.FTPS028Invalid FSCommand2 command-name command found.The specified fscommand2() command is not a valid command string. For a list of valid fscommand2() commands, see fscommand2 function in the Flash Lite 2.x and 3.0 ActionScript Language Reference.FTPS029FSCommand2 command-name command found.The emulator detected the specified fscommand2() command.FTPS030FSCommand2 command-name command not supported in the emulator, please test it on the device.The emulator does not support the specified fscommand2() command. You need to test this SWF file on a device with Flash Lite installed to see whether the specified command functions as expected,FTPS031More than one instance of URL Request calls found, only one allowed per keypress/frame.Flash Lite allows only one getURL() function call per keypress or frame; the emulator detected that there was more than one getURL() so only the first command is processed--the others are ignored.FTPS032A call to GetURL(URL) found, limitations might apply.The emulator detected a getURL() function call, which may have some run-time restrictions when played on the selected device. Test your SWF file on an actual device to see whether the command functions as expected.FTPS033A call to loadVariables (URL) found, limitations might apply.The emulator detected a loadVariables() function call, which may have some run-time restrictions when played on the selected device. Test your SWF file on a device to ensure that the command functions as expected.FTPS034A Call to FSCommand (command-name) found, limitations might apply.This is just a warning that not all devices and Flash Lite content types may support the fscommand() in the application. Test your SWF file on a device to ensure that the command functions as expected.FTPS035A call to loadMovie(URL) found, limitations might apply.The emulator detected a loadMovie() function call, which may have some run-time restrictions when played on the selected device. Test your SWF file on a device to ensure that the command functions as expected.FTPS036N kilobytes of device-sound sound found in sound bundle.For each sound in a sound bundle, the emulator reports the type (for example, MIDI or SMAF) and size of each sound in the bundle.FTPS037SMAF sounds not supported for the selected content type on this device.The emulator detected a SMAF device sound, which is not supported by the selected content type on this device.FTPS038The call to StartVibrate was ignored because there was more than one request per frame or event.Flash Lite allows only one fscommand2(&quot;StartVibrate&quot;) call per keypress or frame; the emulator detected more than one, so only the first command is processed--the others are ignored.FTPS039FSCommand2 SetInputTextType (command-arguments) found, not supported in the emulator, please test it on the device.The SetInputTextType command is not supported in the emulator. You must test it on an actual device.FTPS048Four Way Navigation is not supported for this device.The currently selected test device and content type supports two-way navigation. You pressed the left or right arrow keys on the emulator's five-way keypad, which aren't supported in two-way navigation. For more information, see Default navigation modes.FTPS049Four Way Navigation with wraparound is not supported for this device.The currently selected test device and content type supports four-way navigation. You pressed one of the device's arrow keys when there were no objects on the Stage to receive focus in the direction of the arrow key that you pressed. For more information, see Default navigation modes.FTPS050Generic MFI sounds not supported for the selected content type on this device.The emulator detected a Generic MFi device sound, which is not supported by the selected content type on this device.FTPS051Unsupported Mouse Event (event-name) found.The specified mouse event is not supported by the selected test device and content type.FTPS067SMAF(MA-2) sounds not supported for the selected content type on this device.The emulator detected a SMAF (MA-2) device sound, which is not supported by the selected content type on this device.FTPS068SMAF (MA-3) sounds not supported for the selected content type on this device.The emulator detected a SMAF (MA-3) device sound, which is not supported by the selected content type on this device.FTPS069SMAF (MA-5) sounds not supported for the selected content type on this device.The emulator detected a SMAF (MA-5) device sound, which is not supported by the selected content type on this device.FTPS070MFI sounds with Fujitsu extension not supported for the selected content type on this device.The emulator detected an MFi device sound with a Fujitsu extension, which is not supported by the selected content type on this device.FTPS071MFI sounds with Mitsubishi extension not supported for the selected content type on this device.The emulator detected an MFi device sound with a Mitsubishi extension, which is not supported by the selected content type on this device.FTPS072MFI sounds with NEC extension not supported for the selected content type on this device.The emulator detected an MFi device sound with an NEC extension, which is not supported by the selected content type on this device.FTPS073MFI sounds with Panasonic extension not supported for the selected content type on this device.The emulator detected an MFi device sound with a Panasonic extension, which is not supported by the selected content type on this device.FTPS074MFI sounds with Sharp extension not supported for the selected content type on this device.The emulator detected an MFi device sound with a Sharp extension, which is not supported by the selected content type on this device.FTPS075MFI sounds with Sony extension not supported for the selected content type on this device.The emulator detected an MFi device sound with a Sony extension, which is not supported by the selected content type on this device.FTPS099Print commands are not supported.Your application contains one of the ActionScript print commands (for example, print() or printAsBitmap()), which are not supported by Flash Lite.FTPS100Device-sound sound is chosen in sound bundle.Indicates the name of the device sound in a sound bundle that the emulator played.FTPS101None of the formats in the sound bundle are supported on this device.Indicates that none of the device sounds in a sound bundle are supported by the selected content type on this device.FTPS102SMAF sound playback failed.The emulator was not able to play the SMAF sound.FTPS105This SWF is not in Flash Lite format.Your application attempted to load a SWF file whose version was not in the Flash Lite format; Flash Lite can load other Flash Lite SWF files or Flash 4-formatted SWF files only.FTPS106Mouse Event (event-name) was ignored because it was not triggered by Keypress.The emulator detected a mouse event over a button in your Flash Lite application. The current test device does not support a stylus or touch-screen interface, so you can only interact with buttons on the screen using the emulator's keypad or equivalent keyboard shortcuts.FTPS107The key will not be processed: device-key. Use FSCommand2 SetSoftKeys to enable this key. You pressed one of the soft keys on the emulator's keypad without first calling the SetSoftKeys command. For more information, see Using the soft keys.FTPS108Invalid FSCommand (command-name) found.The specified fscommand() command is not a valid command string.FTPS109FSCommand (command-name) not supported in the emulator, please test it on the device.The emulator does not support the specified fscommand() command. You must test this SWF file on a device with Flash Lite installed to see whether the specified command functions as expected.FTPS110Soft keys are not supported in the Flash Lite 1.0 player.The emulator detected that you pressed one of its soft keys but your document's SWF file's version publish setting is set to Flash Lite 1.0. Flash Lite 1.0 does not support soft keys. Adobe Device Central emulator error and information messagesMessages appear in a pop-up Output window in the emulator and Flash also reports them in its Output panel. The following table lists all the information messages that the Adobe Device Central emulator reports:" />
</book>