Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
ISandboxSupport

Package | flashx.textLayout.container
Interface | public interface ISandboxSupport
Implementors | ContainerController, TextContainerManager

Language Version : | ActionScript 3.0

Runtime Versions : | Flash Player 10, AIR 1.5

Interface to support TLF content in a sub-application. When an application is loaded in an untrusted context, mouse events that occur outside of the untrusted application's bounds are not delivered. Clients can handle this by implementing ISandboxSupport.

See also

flashx.textLayout.container.ContainerController
flashx.textLayout.container.TextContainerManager
flashx.textLayout.edit.SelectionManager
flash.system.SecurityDomain

Public Methods

| Method | Defined By
--- | --- | ---
|  | beginMouseCapture():void Called to request clients to begin the forwarding of mouseup and mousemove events from outside a security sandbox. | ISandboxSupport
|  | endMouseCapture():void Called to inform clients that the the forwarding of mouseup and mousemove events from outside a security sandbox is no longer needed. | ISandboxSupport
|  | mouseMoveSomewhere(event:Event):void Client call to forward a mouseMove event from outside a security sandbox. | ISandboxSupport
|  | mouseUpSomewhere(event:Event):void Client call to forward a mouseUp event from outside a security sandbox. | ISandboxSupport

Method Detail

beginMouseCapture | () | method

`public function beginMouseCapture():void`

Language Version : | ActionScript 3.0

Runtime Versions : | Flash Player 10, AIR 1.5

Called to request clients to begin the forwarding of mouseup and mousemove events from outside a security sandbox.

endMouseCapture | () | method |

`public function endMouseCapture():void`

Language Version : | ActionScript 3.0

Runtime Versions : | Flash Player 10, AIR 1.5

Called to inform clients that the the forwarding of mouseup and mousemove events from outside a security sandbox is no longer needed.

mouseMoveSomewhere | () | method |

`public function mouseMoveSomewhere(event:Event):void`

Language Version : | ActionScript 3.0

Runtime Versions : | Flash Player 10, AIR 1.5

Client call to forward a mouseMove event from outside a security sandbox. Coordinates of the mouse move are not needed.

Parameters

| `event:Event`

mouseUpSomewhere | () | method |

`public function mouseUpSomewhere(event:Event):void`

Language Version : | ActionScript 3.0

Runtime Versions : | Flash Player 10, AIR 1.5

Client call to forward a mouseUp event from outside a security sandbox. Coordinates of the mouse up are not needed.

Parameters

| `event:Event`

Sun Mar 5 2017, 03:42 PM +11:00