Show
Ignore:
Timestamp:
05/07/08 23:07:43 (8 months ago)
Author:
silver
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/buddypub/bpclientflex/src/index.mxml

    r151 r152  
    2020                        import com.firemoss.modelglue.event.ModelGlueEvent; 
    2121                         
     22                        private function testAlert():void{ 
     23                                var event:ModelGlueEvent = new ModelGlueEvent(EventHandlers.ALERT_MESSAGE,{message:"This is a test message"}); 
     24                                event.dispatch();                        
     25                        } 
     26                         
    2227                ]]> 
    2328        </mx:Script> 
    2429         
    2530        <container:Main width="100%" height="100%"/> 
    26         <mx:Button click="msgBox.addMessage()" label="测试"/> 
     31        <mx:Button click="testAlert()" label="测试"/> 
    2732        <popup:MessagePopup id="msgBox" visible="false" x="{width-msgBox.width-2}" /> 
    2833