User Guide

Selection 575
A policy file obtained from the old default location--/crossdomain.xml on an HTTP server on
port 80—implicitly authorizes access to all ports 1024 and above. There is no way to retrieve
a policy file to authorize XMLSocket operations from any other location on an HTTP server;
any custom locations for XMLSocket policy files must be on an XMLSocket server.
Because the ability to connect to ports lower than 1024 is new, a policy file loaded with
loadPolicyFile() must always authorize this connection, even when a movie clip is
connecting to its own subdomain.
Availability: ActionScript 1.0; Flash Lite 2.0
Parameters
url:String - A string; the URL where the cross-domain policy file to be loaded is located.
Selection
Object
|
+-Selection
public class Selection
extends Object
The Selection class lets you set and control the text field in which the insertion point is
located (that is, the field that has focus). Selection-span indexes are zero-based (for example,
the first position is 0, the second position is 1, and so on).
There is no constructor function for the Selection class, because there can be only one
currently focused field at a time.
Availability: ActionScript 1.0; Flash Lite 2.0
Property summary
Properties inherited from class Object
Event summary
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)
Event Description
onSetFocus = function([oldfocus], [newfocus]) {} Notified when the input focus
changes.