-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathred5recorder.mxml
30 lines (26 loc) · 1.49 KB
/
red5recorder.mxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="init()" xmlns:ns1="components.*" xmlns:ns2="*" xmlns:gauge="components.gauge.*" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#FFFFFF, #FFFFFF]" width="100%" height="100%">
<mx:Style source="style.css" />
<mx:states>
<mx:State name="player">
<mx:RemoveChild target="{myWebcam}"/>
<mx:AddChild relativeTo="{canvas2}" position="lastChild">
<mx:Canvas label="player" width="100%" height="100%">
<mx:VideoDisplay id="videoPlayer" mouseMove="rollOver(event)" mouseOut="rollOut(event)"
complete="videoIsComplete()" autoBandWidthDetection="false" width="100%" x="0" height="100%" y="0"/>
</mx:Canvas>
</mx:AddChild>
<mx:SetProperty name="width" value="100%"/>
<mx:SetProperty name="height" value="100%"/>
</mx:State>
</mx:states>
<mx:Script source="red5recorder.as" />
<mx:Style source="style.css" />
<mx:Canvas label="recorder" width="100%" height="100%" verticalScrollPolicy="off" horizontalScrollPolicy="off" id="canvas2">
<mx:VideoDisplay id="myWebcam" left="0" right="0" top="0" bottom="0"/>
<!--
<ns1:Blink y="0" width="217" text="{myRecorder.recordingText}" color="#FC0000" interval="1000" textAlign="right" fontWeight="normal" displayed="true" id="blink1" right="0" styleName="arial10E"/>
-->
</mx:Canvas>
<ns1:VideoContainer right="0" bottom="0"/>
</mx:Application>