-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathPopMenu2.as
More file actions
41 lines (35 loc) · 863 Bytes
/
PopMenu2.as
File metadata and controls
41 lines (35 loc) · 863 Bytes
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
package
{
import popForm.PopMenu;
import popForm.PopMenuContent;
import popForm.PopMenuDispatcher;
import popForm.PopMenuTypes;
public class PopMenu2 extends PopMenu
{
private static var ME2:PopMenu2 ;
public function PopMenu2()
{
super();
ME2 = this;
}
public static function popUp(title:String='' , type:PopMenuTypes=null , content:PopMenuContent=null,closeOnTime:uint=0,onButtonSelects:Function = null)
{
//trace('POP 2 MENU OPENED '+Math.random());
ME2.popUp2(title, type, content,closeOnTime,onButtonSelects);
}
public static function get popDispatcher():PopMenuDispatcher
{
return ME2.popDispatcher ;
}
public static function close()
{
if(ME2)
ME2.close();
}
/**this will tell if the popMenuIsOpen*/
public static function get isOpen():Boolean
{
return ME2.show ;
}
}
}