background image

Introduction to Flash Lite 2.x ActionScript

Summary of Contents for FLASH 8-INTRODUCTION TO FLASH LITE 2.X...

Page 1: ...Introduction to Flash Lite 2 x ActionScript...

Page 2: ...art on the work of the Independent JPEG Group Nellymoser Inc Speech compression and decompression technology licensed by Nellymoser Inc http www nellymoser com Opera browser Copyright 1995 2002 Opera...

Page 3: ...and2 7 Commands partially supported or unsupported by fsCommand 8 Partially supported global properties 10 Chapter 2 Unsupported and Partially Supported Classes 11 Button class 11 Date class 13 Key cl...

Page 4: ...4...

Page 5: ...ses and how to use them when writing Flash Lite 2 0 applications Flash Lite 2 x ActionScript Language Reference Developing Flash Lite 2 x Applications Learning ActionScript 2 0 in Flash Guide to instr...

Page 6: ...s tips and other updates see the Mobile and Devices Developer Center at www macromedia com devnet devices For TechNotes documentation updates and links to additional resources in the Flash Lite develo...

Page 7: ...d through fsCommand and fsCommand2 The fsCommand and fsCommand2 global functions let the SWF file communicate with either Flash Player or the program that is hosting Flash Player such as a web browser...

Page 8: ...ways drawn at its original size and is never scaled Specifying true forces the SWF file to scale to 100 of the screen showmenu Specifying true enables the full set of context menu items Specifying fal...

Page 9: ...t prints a level in Flash Player as a bitmap according to the boundaries specified in the parameter bmovie bmax or bframe Not supported printNum A function that prints the level in Flash Player accord...

Page 10: ...which the draggableInstanceName the name of a movie clip instance that was the target of a startDrag function was dropped This property always returns a path that starts with a slash Partially suppor...

Page 11: ...tem class 21 capabilities System capabilities class 23 Sound class 26 Stage class 28 TextField class 29 TextFormat class 30 Video class 32 Button class All button symbols in a SWF file are instances o...

Page 12: ...ilities hasStylus are set to true Partially supported useHandCursor A Boolean value that indicates whether the pointer appears when the mouse passes over a button Not supported _xmouse Read only the x...

Page 13: ...te 2 0 onDragOver Invoked when the pointer is dragged over the button Supported if System capabilities hasMouse or System capabilities hasStylus are set to true Partially supported onReleaseOutside In...

Page 14: ...ed to the Key class when using ActionScript for Flash Lite 2 0 getLocaleShortDate This function sets a parameter to a string that represents the current date in abbreviated form formatted according to...

Page 15: ...ng references Developing Flash Lite 2 x Applications Chapter 14 Creating Interaction with ActionScript in Learning ActionScript 2 0 in Flash Chapter 2 ActionScript Classes in Flash Lite 2 x ActionScri...

Page 16: ...ping Flash Lite 2 x Applications Chapter 11 Working with Movie Clips in Learning ActionScript 2 0 in Flash Chapter 2 ActionScript Classes in Flash Lite 2 x ActionScript Language Reference Event Descri...

Page 17: ...he specified movie clip Not supported startDrag Specifies a movie clip as draggable and begins dragging the movie clip Limitations Supported if System capabilities hasMouse or System capabilities hasS...

Page 18: ...abilities hasStylus are set to true Partially supported menu Associates the specified ContextMenu object with the movie clip Not supported _quality Sets or retrieves the rendering quality used for a S...

Page 19: ...handler is invoked You can define the function on the timeline or in a class file that extends the MovieClip class or is linked to a symbol in the library Limitations Supported if System capabilities...

Page 20: ...lash Chapter 2 ActionScript Classes in Flash Lite 2 x ActionScript Language Reference onMouseMove Invoked every time the mouse moves Limitations Supported if System capabilities hasMouse is set to tru...

Page 21: ...e System package the capabilities class the security class and the IME class For more information about the System class see the following references Developing Flash Lite 2 x Applications Flash Lite...

Page 22: ...System class for use with ActionScript for Flash Lite 2 0 Method Description Support setClipboard Replaces the contents of the Clipboard with a specified text string Not supported showSettings Shows...

Page 23: ...ion based on the capabilities of the device Property summary The following table lists the properties that are not supported by the System capabilites class when using ActionScript for Flash Lite 2 0...

Page 24: ...n the Melody Format for i mode MFi audio format false otherwise hasMIDI A read only Boolean value that is true if the player can play sound data in the MIDI audio format false otherwise hasSMAF A read...

Page 25: ...nly Boolean value that is true if Flash content playing back in this application can access Flash Lite shared objects false otherwise hasQWERTYKeyboard A read only Boolean value that is true if Action...

Page 26: ...100 left to 100 right 0 sets the left and right channels equally The pan setting controls the left right balance of the current and future sounds in a SWF file Limitations Supported for use with nativ...

Page 27: ...ctor method of the generic Object class with parameters specifying how the sound is distributed to the left and right channels speakers Limitations Supported for use with native Flash sound not suppor...

Page 28: ...nsions The following table lists new properties in the Stage class that are specific to ActionScript for Flash Lite 2 0 Method Description getPan Returns the value of the previous setPan call This met...

Page 29: ...n Flash that are not embedded in a SWF file Flash Lite uses whatever font on the mobile device most closely resembles the device font Because font outlines are not embedded a SWF file size is smaller...

Page 30: ...ing to static and dynamic text fields Some properties of the TextFormat class are not available for embedded and device fonts You must use the constructor TextFormat to create a TextFormat object befo...

Page 31: ...xt in this text format as a string Limitations For Flash Lite this property works for embedded fonts only This property is not supported for Arabic Hebrew and Thai Partially supported italic A Boolean...

Page 32: ...references Developing Flash Lite 2 x Applications Chapter 15 Working with images Sound and Video in Learning ActionScript 2 0 in Flash Chapter 2 ActionScript Classes in Flash Lite 2 x ActionScript Lan...

Page 33: ...g Specifies whether the video should be smoothed interpolated when it is scaled For smoothing to work the player must be in high quality mode Not supported width An integer specifying the width of the...

Page 34: ...34 Unsupported and Partially Supported Classes...

Reviews: