| Package | com.adobe.rtc.collaboration |
| Class | public class ScreenShareSubscriberComplex |
| Inheritance | ScreenShareSubscriberComplex ScreenShareSubscriber mx.core.UIComponent |
| Implements | mx.managers.IFocusManagerComponent |
publisherID which restricts the screen share publisher that
can publish to this subscriber.
ScreenShareSubscriberComplex is a advance screen share subscriber component, it does ScreenShareSubscriber's task of subscribing to the screen share.
but ScreenShareSubscriberComplex also has feature to add with zoom and annotations white board.
Example:
_ssSubscriber = new ScreenShareSubscriberComplex();
_ssSubscriber.publisherID = myScreenSharePublisherID; //OPTIONAL, if there is only one publisher in the room, then that publisherID is default.
_ssSubscriber.connectSession = _cSession;
_ssSubscriber.graphics.drawRect(0, 0, stage.width, stage.height);
addChild(_ssSubscriber);
See also
| Property | Defined by | ||
|---|---|---|---|
| allowSave : Boolean = true | ScreenShareSubscriberComplex | ||
| annotateOnPause : Boolean = false | ScreenShareSubscriberComplex | ||
| autoScroll : Boolean = false | ScreenShareSubscriberComplex | ||
![]() | connectSession : IConnectSession
return the connectSession object
| ScreenShareSubscriber | |
| controllerUserID : String [read-only]
| ScreenShareSubscriberComplex | ||
![]() | fitToWidthPercent : Number | ScreenShareSubscriber | |
![]() | groupName : String
Components (pods) are assigned to a group via
groupName; if not specified,
the component is assigned to the default, public group (the room at large). | ScreenShareSubscriber | |
![]() | iAmPreparingToShare : Boolean
returns true if you are preparing to share or if someone else is preparing
| ScreenShareSubscriber | |
![]() | iAmSharing : Boolean
returns true if you or someone else is sharing
| ScreenShareSubscriber | |
| isScrollable : Boolean [read-only]
| ScreenShareSubscriberComplex | ||
![]() | isSynchronized : Boolean | ScreenShareSubscriber | |
![]() | publisherID : String
getting the publisher id for whom you like to view their screen share stream
| ScreenShareSubscriber | |
![]() | scaleToFitPercent : Number | ScreenShareSubscriber | |
![]() | sharedID : String
Defines the logical location of the component on the service; typically this assigns the
sharedID of the collectionNode
used by the component. | ScreenShareSubscriber | |
![]() | sharerUserID : String
getting the publisher's id, this is the default streampublisher id
| ScreenShareSubscriber | |
![]() | showMouse : Boolean = true | ScreenShareSubscriber | |
![]() | showMyStream : Boolean | ScreenShareSubscriber | |
![]() | someoneElseIsPreparingToShare : Boolean
returns true if you are preparing to share or if someone else is preparing
| ScreenShareSubscriber | |
![]() | someoneElseIsSharing : Boolean
returns true if you are preparing to share or if someone else is sharing
| ScreenShareSubscriber | |
![]() | videoPercentage : Number | ScreenShareSubscriber | |
![]() | zoomMode : uint | ScreenShareSubscriber | |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| ScreenShareSubscriberComplex | ||
|
canIControl():Boolean
| ScreenShareSubscriberComplex | ||
![]() |
close():void
| ScreenShareSubscriber | |
|
createTextField():void
| ScreenShareSubscriberComplex | ||
|
cursorData(p_x:Number, p_y:Number, p_type:Number, p_isDown:Boolean):void
| ScreenShareSubscriberComplex | ||
![]() |
cursorDataNull(p_x:Number, p_y:Number, p_type:Number, p_isDown:Boolean):void
| ScreenShareSubscriber | |
|
onHorizontalTweenEnd(p_value:Number):void
| ScreenShareSubscriberComplex | ||
|
onHorizontalTweenUpdate(p_value:Number):void
| ScreenShareSubscriberComplex | ||
|
onVerticalTweenEnd(p_value:Number):void
| ScreenShareSubscriberComplex | ||
|
onVerticalTweenUpdate(p_value:Number):void
| ScreenShareSubscriberComplex | ||
|
startControlling():void
| ScreenShareSubscriberComplex | ||
|
stopControlling():void
| ScreenShareSubscriberComplex | ||
![]() |
subscribe():void
Subscribes to a particular stream.
| ScreenShareSubscriber | |
| Method | Defined by | ||
|---|---|---|---|
|
calculateZoom(zoomType:Number, p_width:Number, p_height:Number, p_isAdvanceCalculate:Boolean = false):void
| ScreenShareSubscriberComplex | ||
|
cleanUpVideo():void
| ScreenShareSubscriberComplex | ||
|
clearAnnotation():void
| ScreenShareSubscriberComplex | ||
|
commitProperties():void
| ScreenShareSubscriberComplex | ||
|
dealWithStreamPause(p_desc:StreamDescriptor):void
| ScreenShareSubscriberComplex | ||
|
deleteIME():void
| ScreenShareSubscriberComplex | ||
![]() |
doInitialSetup():void
| ScreenShareSubscriber | |
|
getNextKey(p_event:KeyboardEvent):Boolean
| ScreenShareSubscriberComplex | ||
![]() |
onAutoHide(p_evt:TimerEvent):void
| ScreenShareSubscriber | |
![]() |
onBackgroundScroll(p_evt:ScrollEvent = null):void
| ScreenShareSubscriber | |
![]() |
onDimensionsChange(p_evt:StreamEvent):void
| ScreenShareSubscriber | |
|
onDragVideo(p_evt:MouseEvent):void
| ScreenShareSubscriberComplex | ||
|
onIMEComposition(event:IMEEvent):void
| ScreenShareSubscriberComplex | ||
|
onKeyDown(p_evt:KeyboardEvent):void
| ScreenShareSubscriberComplex | ||
|
onKeyUp(p_evt:KeyboardEvent):void
| ScreenShareSubscriberComplex | ||
|
onMouseDown(p_evt:MouseEvent):void
| ScreenShareSubscriberComplex | ||
|
onMouseMove(p_evt:MouseEvent):void
| ScreenShareSubscriberComplex | ||
|
onMouseOut(p_evt:MouseEvent):void
| ScreenShareSubscriberComplex | ||
|
onMouseOver(p_evt:MouseEvent):void
| ScreenShareSubscriberComplex | ||
|
onMouseUp(p_evt:MouseEvent):void
| ScreenShareSubscriberComplex | ||
|
onPropertiesToolBarChange(p_evt:WBCanvasEvent):void
| ScreenShareSubscriberComplex | ||
|
onReleaseVideo(p_evt:MouseEvent):void
| ScreenShareSubscriberComplex | ||
|
onRightMouseDown(p_evt:MouseEvent):void
| ScreenShareSubscriberComplex | ||
|
onRightMouseUp(p_evt:MouseEvent):void
| ScreenShareSubscriberComplex | ||
![]() |
onStreamDelete(p_evt:StreamEvent):void
| ScreenShareSubscriber | |
|
onStreamPause(p_evt:StreamEvent):void
Returns the ID of the current sharer, or null if there is none.
| ScreenShareSubscriberComplex | ||
![]() |
onStreamReceive(p_evt:StreamEvent):void
| ScreenShareSubscriber | |
![]() |
onSynchronizationChange(p_evt:CollectionNodeEvent):void
| ScreenShareSubscriber | |
|
onWBToolBarClick(p_evt:WBToolBarEvent):void
| ScreenShareSubscriberComplex | ||
|
sendKeyboardEvent(p_eventName:String, p_keyCode:uint):void
| ScreenShareSubscriberComplex | ||
|
sendMouseEvent(p_eventName:String, p_x:Number, p_y:Number):void
| ScreenShareSubscriberComplex | ||
|
setShapeBarPosition():void
| ScreenShareSubscriberComplex | ||
|
setUpFromDescriptor(p_desc:StreamDescriptor):void
| ScreenShareSubscriberComplex | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| ScreenShareSubscriberComplex | ||||
![]() | ScreenShareSubscriber | |||
| ScreenShareSubscriberComplex | ||||
![]() | ScreenShareSubscriber | |||
| ScreenShareSubscriberComplex | ||||
![]() | ScreenShareSubscriber | |||
| ScreenShareSubscriberComplex | ||||
![]() | ScreenShareSubscriber | |||
| ScreenShareSubscriberComplex | ||||
![]() | ScreenShareSubscriber | |||
| ScreenShareSubscriberComplex | ||||
![]() | ScreenShareSubscriber | |||
| Dispatched when the component either loses its connection to the session or regains it and has finished re-synchronizing itself to the rest of the room. | ScreenShareSubscriberComplex | |||
![]() | Dispatched when the component either loses its connection to the session or regains it and has finished re-synchronizing itself to the rest of the room. | ScreenShareSubscriber | ||
| ScreenShareSubscriberComplex | ||||
![]() | ScreenShareSubscriber | |||
| ScreenShareSubscriberComplex | ||||
![]() | ScreenShareSubscriber | |||
| Constant | Defined by | ||
|---|---|---|---|
| ACTUAL_SIZE : uint = 100 [static]
| ScreenShareSubscriberComplex | ||
| FIT_TO_WIDTH : uint = 1 [static]
| ScreenShareSubscriberComplex | ||
| IME_CARET_FREQUENCY : String = "imeCaretMessageFrequency" [static]
| ScreenShareSubscriberComplex | ||
| IME_INPUT : String = "imeInput" [static]
| ScreenShareSubscriberComplex | ||
| IME_POSITION : String = "imePosition" [static]
| ScreenShareSubscriberComplex | ||
| RIGHT_MOUSE_DOWN : String = "rightMouseDown" [static]
| ScreenShareSubscriberComplex | ||
| RIGHT_MOUSE_UP : String = "rightMouseUp" [static]
| ScreenShareSubscriberComplex | ||
| SCALE_TO_FIT : uint = 0 [static]
| ScreenShareSubscriberComplex | ||
| allowSave | property |
public var allowSave:Boolean = true
| annotateOnPause | property |
public var annotateOnPause:Boolean = false
| _annotationPropsBar | property |
protected var _annotationPropsBar:UIComponent
| _annotationShapesBar | property |
protected var _annotationShapesBar:UIComponent
| _annotationWB | property |
protected var _annotationWB:SharedWhiteBoard
| autoScroll | property |
public var autoScroll:Boolean = false
| _autoscrollTween | property |
protected var _autoscrollTween:Tween
| controllerUserID | property |
controllerUserID:String [read-only]Implementation
public function get controllerUserID():String
| _controlOutStream | property |
protected var _controlOutStream:NetStream
| CURSOR_HAND_CLOSED | property |
protected var CURSOR_HAND_CLOSED:Class
| CURSOR_HAND_OPEN | property |
protected var CURSOR_HAND_OPEN:Class
| _focusRect | property |
protected var _focusRect:HaloFocusRect
| _imeTextField | property |
protected var _imeTextField:TextArea
| _initialDragPt | property |
protected var _initialDragPt:Point
| _initialScrollPos | property |
protected var _initialScrollPos:Point
| _isControlling | property |
protected var _isControlling:Boolean
| isScrollable | property |
isScrollable:Boolean [read-only]Implementation
public function get isScrollable():Boolean
| _lastPropsBarPt | property |
protected var _lastPropsBarPt:Point
| _remoteControlDescriptor | property |
protected var _remoteControlDescriptor:StreamDescriptor
| _remoteControlNetStream | property |
protected var _remoteControlNetStream:NetStream
| _specialKeyPressed | property |
protected var _specialKeyPressed:Boolean = false
| _specialKeyReleased | property |
protected var _specialKeyReleased:Boolean = false
| _toggleSpecialKey | property |
protected var _toggleSpecialKey:Boolean = false
| ScreenShareSubscriberComplex | () | constructor |
public function ScreenShareSubscriberComplex()Constructor.
| calculateZoom | () | method |
protected override function calculateZoom(zoomType:Number, p_width:Number, p_height:Number, p_isAdvanceCalculate:Boolean = false):voidParameters
zoomType:Number |
|
p_width:Number |
|
p_height:Number |
|
p_isAdvanceCalculate:Boolean (default = false) |
| canIControl | () | method |
public function canIControl():Boolean
Returns
Boolean |
| cleanUpVideo | () | method |
protected override function cleanUpVideo():void
| clearAnnotation | () | method |
protected function clearAnnotation():void
| commitProperties | () | method |
protected override function commitProperties():void
| createTextField | () | method |
public function createTextField():void
| cursorData | () | method |
public override function cursorData(p_x:Number, p_y:Number, p_type:Number, p_isDown:Boolean):voidParameters
p_x:Number |
|
p_y:Number |
|
p_type:Number |
|
p_isDown:Boolean |
| dealWithStreamPause | () | method |
protected function dealWithStreamPause(p_desc:StreamDescriptor):voidParameters
p_desc:StreamDescriptor |
| deleteIME | () | method |
protected function deleteIME():void
| getNextKey | () | method |
protected function getNextKey(p_event:KeyboardEvent):BooleanParameters
p_event:KeyboardEvent |
Boolean |
| onDragVideo | () | method |
protected function onDragVideo(p_evt:MouseEvent):voidParameters
p_evt:MouseEvent |
| onHorizontalTweenEnd | () | method |
public function onHorizontalTweenEnd(p_value:Number):voidParameters
p_value:Number |
| onHorizontalTweenUpdate | () | method |
public function onHorizontalTweenUpdate(p_value:Number):voidParameters
p_value:Number |
| onIMEComposition | () | method |
protected function onIMEComposition(event:IMEEvent):voidParameters
event:IMEEvent |
| onKeyDown | () | method |
protected function onKeyDown(p_evt:KeyboardEvent):voidParameters
p_evt:KeyboardEvent |
| onKeyUp | () | method |
protected function onKeyUp(p_evt:KeyboardEvent):voidParameters
p_evt:KeyboardEvent |
| onMouseDown | () | method |
protected function onMouseDown(p_evt:MouseEvent):voidParameters
p_evt:MouseEvent |
| onMouseMove | () | method |
protected function onMouseMove(p_evt:MouseEvent):voidParameters
p_evt:MouseEvent |
| onMouseOut | () | method |
protected function onMouseOut(p_evt:MouseEvent):voidParameters
p_evt:MouseEvent |
| onMouseOver | () | method |
protected function onMouseOver(p_evt:MouseEvent):voidParameters
p_evt:MouseEvent |
| onMouseUp | () | method |
protected function onMouseUp(p_evt:MouseEvent):voidParameters
p_evt:MouseEvent |
| onPropertiesToolBarChange | () | method |
protected function onPropertiesToolBarChange(p_evt:WBCanvasEvent):voidParameters
p_evt:WBCanvasEvent |
| onReleaseVideo | () | method |
protected function onReleaseVideo(p_evt:MouseEvent):voidParameters
p_evt:MouseEvent |
| onRightMouseDown | () | method |
protected function onRightMouseDown(p_evt:MouseEvent):voidParameters
p_evt:MouseEvent |
| onRightMouseUp | () | method |
protected function onRightMouseUp(p_evt:MouseEvent):voidParameters
p_evt:MouseEvent |
| onStreamPause | () | method |
protected override function onStreamPause(p_evt:StreamEvent):voidReturns the ID of the current sharer, or null if there is none.
Parametersp_evt:StreamEvent |
| onVerticalTweenEnd | () | method |
public function onVerticalTweenEnd(p_value:Number):voidParameters
p_value:Number |
| onVerticalTweenUpdate | () | method |
public function onVerticalTweenUpdate(p_value:Number):voidParameters
p_value:Number |
| onWBToolBarClick | () | method |
protected function onWBToolBarClick(p_evt:WBToolBarEvent):voidParameters
p_evt:WBToolBarEvent |
| sendKeyboardEvent | () | method |
protected function sendKeyboardEvent(p_eventName:String, p_keyCode:uint):voidParameters
p_eventName:String |
|
p_keyCode:uint |
| sendMouseEvent | () | method |
protected function sendMouseEvent(p_eventName:String, p_x:Number, p_y:Number):voidParameters
p_eventName:String |
|
p_x:Number |
|
p_y:Number |
| setShapeBarPosition | () | method |
protected function setShapeBarPosition():void
| setUpFromDescriptor | () | method |
protected override function setUpFromDescriptor(p_desc:StreamDescriptor):voidParameters
p_desc:StreamDescriptor |
| startControlling | () | method |
public function startControlling():void
| stopControlling | () | method |
public function stopControlling():void
| controlStarted | event |
| controlStopped | event |
| screenSharePaused | event |
| screenShareStarted | event |
| screenShareStarting | event |
| screenShareStopped | event |
| synchronizationChange | event |
com.adobe.rtc.events.CollectionNodeEvent
Dispatched when the component either loses its connection to the session or regains it and has finished re-synchronizing itself to the rest of the room.
| videoPercentageChange | event |
| videoSnapShot | event |
| ACTUAL_SIZE | constant |
public static const ACTUAL_SIZE:uint = 100
| FIT_TO_WIDTH | constant |
public static const FIT_TO_WIDTH:uint = 1
| IME_CARET_FREQUENCY | constant |
public static const IME_CARET_FREQUENCY:String = "imeCaretMessageFrequency"
| IME_INPUT | constant |
public static const IME_INPUT:String = "imeInput"
| IME_POSITION | constant |
public static const IME_POSITION:String = "imePosition"
| RIGHT_MOUSE_DOWN | constant |
public static const RIGHT_MOUSE_DOWN:String = "rightMouseDown"
| RIGHT_MOUSE_UP | constant |
public static const RIGHT_MOUSE_UP:String = "rightMouseUp"
| SCALE_TO_FIT | constant |
public static const SCALE_TO_FIT:uint = 0
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/collaboration/ScreenShareSubscriberComplex.html