Skip to content

Commit 910d4dc

Browse files
committed
On popmuenu opened trigger
1 parent d304245 commit 910d4dc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

popForm/PopMenu.as

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
public class PopMenu extends MovieClip
3535
{
3636
private static const CANCEL_ELEMENT_NAME:String = "cancel_mc" ;
37+
38+
private static var onPopUpOpenned:Function ;
3739

3840
/**main object of class*/
3941
private static var ME:PopMenu;
@@ -101,6 +103,11 @@
101103
{
102104
backButtonName = backString ;
103105
}
106+
107+
public static function onOpen(func:Function):void
108+
{
109+
onPopUpOpenned = func ;
110+
}
104111

105112
/**Activate the static cansel button*/
106113
public static function staticCanselEnabled(CancelNames:Array):void
@@ -383,6 +390,7 @@
383390
/**pop the pop menu up*/
384391
public function popUp2(title:String='' , type:PopMenuTypes=null , content:PopMenuContent=null,closeOnTime:int=0,onButtonSelects:Function=null,onClosedByTimer:Function=null,onClose:Function=null):void
385392
{
393+
if(onPopUpOpenned!=null)onPopUpOpenned();
386394
SliderManager.hide();
387395
cashedContents = content ;
388396

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy