-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathInstruction.mxml
32 lines (28 loc) · 978 Bytes
/
Instruction.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
31
32
<?xml version="1.0" encoding="utf-8"?>
<s:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%" title="Инструкция" close="closeBtn_clickHandler(event)"
creationComplete="titlewindow1_creationCompleteHandler(event)" >
<s:layout>
<s:VerticalLayout horizontalAlign="center"/>
</s:layout>
<fx:Script>
<![CDATA[
import mx.events.CloseEvent;
import mx.events.FlexEvent;
import mx.managers.PopUpManager;
protected function closeBtn_clickHandler(event:CloseEvent):void
{
PopUpManager.removePopUp(this);
}
protected function titlewindow1_creationCompleteHandler(event:FlexEvent):void
{
this.width = this.parent.width;
this.height = this.parent.height;
page.location = "index.html";
}
]]>
</fx:Script>
<mx:HTML id="page" width="100%" height="100%">
</mx:HTML>
</s:TitleWindow>