mbsubstring function
mbsubstring(value:String, index:Number, count:Number) : String
Deprecated since Flash Player 5. This function was deprecated in favor of
Extracts a new multibyte character string from a multibyte character string.
Availability: ActionScript 1.0; Flash Player 4
Parameters
- The multibyte string from which to extract a new multibyte string.
value:String
- The number of the first character to extract.
index:Number
- The number of characters to include in the extracted string, not including
count:Number
the index character.
Returns
- The string extracted from the multibyte character string.
String
See also
substr (String.substr method)
MMExecute function
MMExecute("Flash JavaScript API command;":String) : String
Lets you issue Flash JavaScript API (JSAPI) commands from ActionScript. In Flash MX2004
the
function can be called only by a movie that is used as a Flash Panel (file is
MMExecute
stored in WindowSWF directory), by an XMLtoUI dialog box, or by the Custom UI of a
component. JSAPI commands have no effect in the player, in test movie mode, or outside the
authoring environment.
The Flash JSAPI provides several objects, methods, and properties to duplicate or emulate
commands that a user can enter in the authoring environment. Using the JSAPI, you can
write scripts that extend Flash in several ways: adding commands to menus, manipulating
objects on the Stage, repeating sequences of commands, and so on.
In general, a user runs a JSAPI script by selecting Commands > Run Command. However,
you can use this function in an ActionScript script to call a JSAPI command directly. If you
use
in a script on Frame 1 of your file, the command executes when the SWF
MMExecute()
file is loaded.
For more information on the JSAPI, see www.macromedia.com/go/jsapi_info_en.
String.substr()
Global Functions
77
.
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?