Git Repository Public Repository

CPE_learningsite

URLs

Copy to Clipboard

This repository has no backups
This repository's network speed is throttled to 100KB/sec

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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
				minWidth="100" minHeight="45" backgroundColor="gray" layout="absolute" width="100%" height="45" 
				initialize="getSurveyUrl()">
	<mx:Script>
		<![CDATA[
			import flash.net.navigateToURL;
			
			import mx.controls.Alert;
			import mx.controls.ToolTip;
			import mx.events.ToolTipEvent;
			import mx.managers.ToolTipManager;
			private var surveyUrl:String = "http:/wufoo.com";
			private function getSurveyUrl():void{
				surveyUrl = unescape(Application.application.parameters.surveyUrl);
			}
			protected function button1_clickHandler(event:MouseEvent):void
			{
				var feats:String = "height=600, width=480, toolbar=0, location=0, status=1, scrollbars=1, resizable=1";
				ExternalInterface.call("window.open", surveyUrl, "_blank" , feats);
			}
			
			private var tip:ToolTip;
			
			private function createCustomTip(text:String, event:MouseEvent):void {
				tip = ToolTipManager.createToolTip(text, 
					event.currentTarget.x - 180, 
					event.currentTarget.y - 12) 
					as ToolTip;
				tip.setStyle("backgroundColor",0x004B73);
				tip.setStyle("color",0xFFFFFF);
				tip.setStyle("fontWeight",'bold');
				tip.width = 175;
			}
			private function destroyTip():void {
				ToolTipManager.destroyToolTip(tip);
			}
			
		]]>
	</mx:Script>
	<mx:Style>
		.button {
			bottom: 20;
			right: 5;
		}
	</mx:Style>
	<mx:Canvas id="canvas"
			   backgroundColor="gray"
			   width="100%"
			   height="100%" >
		<mx:Text width="100%" color="blue" fontStyle="italic" fontSize="14">
			<mx:htmlText>
				<![CDATA[
				<a href="//t2.phplivesupport.com/jmcintosh/phplive.php?d=0" target="new"><img src="//t2.phplivesupport.com/jmcintosh/ajax/image.php?d=0" border=0></a>
				]]>
			</mx:htmlText>
		</mx:Text>
		<mx:Button right="5" label="Submit a Question" click="button1_clickHandler(event)" fontSize="14"
				   styleName="button" id="btnSubmitQuestion"
				   rollOver="createCustomTip('Click Button to Send a Question', event)"
				   rollOut="destroyTip()"
				   verticalCenter="1"/>
	</mx:Canvas>
	
</mx:Application>

Commits for CPE_learningsiteCPEFlex/CpeRecordingOverlay/src/CpeRecordingOverlay.mxml

Diff revisions: vs.
Revision Author Commited Message
4cd176 ... v.shishlov Fri 27 Aug, 2021 14:33:17 +0000

initial commit