help stub
[potlatch2.git] / net / systemeD / potlatch2 / help / HelpDialog.mxml
1 <?xml version="1.0" encoding="utf-8"?>
2 <mx:TitleWindow
3         xmlns:mx="http://www.adobe.com/2006/mxml" 
4         layout="vertical" showCloseButton="true"
5         horizontalAlign="center" title="Help"
6         width="350" height="250" verticalGap="0">
7   <mx:Script><![CDATA[
8     import mx.managers.PopUpManager;
9     import mx.events.CloseEvent;
10     import mx.core.Application;
11     
12     public function init():void {
13         PopUpManager.addPopUp(this, Application(Application.application), true);
14         PopUpManager.centerPopUp(this);
15         this.addEventListener(CloseEvent.CLOSE, helpDialog_close);
16     }
17     
18     private function helpDialog_close(evt:CloseEvent):void {
19         PopUpManager.removePopUp(this);
20     }
21
22               ]]>
23   </mx:Script>
24   <mx:Text>
25     <mx:htmlText>
26                 <![CDATA[
27 For Potlatch 2 help, see the <u><a href="http://wiki.openstreetmap.org/wiki/Potlatch_2" target="_blank">OpenStreetMap wiki</a></u>.
28                 ]]>
29     </mx:htmlText>
30   </mx:Text>
31   <mx:ControlBar>
32     <mx:Spacer width="100%"/>
33     <mx:Button label="Exit" click="PopUpManager.removePopUp(this);"/>
34   </mx:ControlBar>
35
36 </mx:TitleWindow>