It errors on line 1.  Don't understand what it's talking about.

package {
        import mx.managers.PopUpManager;
        import mx.containers.TitleWindow;
        import mx.utils.Delegate;
        public function alertHandlerResultsGrid(event):Void {
                if (event.detail==mx.controls.Alert.OK) {
                         investigatorResultsGrid.setStyle
("borderColor","#CCCCCC");
                         investigatorResultsGrid.setStyle
("borderThickness",1);
                }
        }
        public function alertHandlerSelectionsGrid(event):Void {
                if (event.detail==mx.controls.Alert.OK) {
                         investigatorSelectionGrid.setStyle
("borderColor","#CCCCCC");
                         investigatorSelectionGrid.setStyle
("borderThickness",1);
                }
        }
        // Managemnt Reporting Main Initialization Function
        public function initFunction():Void {
                initDoubleClick();
                main_tn.visible=false;
                selectionsPanel.visible=false;
                personelDetailBox.visible=false;
        }
        public function showPopUp(message:String, title:String) : Void
        {
                var popup = mx.managers.PopUpManager.createPopUp( 
_root, MyPopup, false, null, true );            
                popup.width = 600;
                popup.height = 500;
                popup.messagebox.htmlText = message;
                popup.title = title;
                popup.centerPopUp( _root );
        }       
        // Error Handler Function
        public function err(message:String, title:String):Void {
                if(title == null) { title="ERROR!" }
                showPopUp(message, title);
                //alert(message,title);
        }
        
        // Get Today's Date as a string
        public function getToday():String {
                var today_date:Date = new Date();
                var date_str:String = ((today_date.getMonth()+1)
+"/"+today_date.getDate()+"/"+today_date.getFullYear());
                return date_str;
        }
        
        // Formats a date and returns a string
        public function formatDate(today_date:Date):String {
                var date_str:String = ((today_date.getUTCMonth()+1)
+"/"+today_date.getUTCDate()+"/"+today_date.getUTCFullYear());
                return date_str;
        }
        
        
        // Type in filter
        //private function filterType() {
        //    var tempObject:Object = new Object();
        //      var runningArray:Array = new Array();
        //      var compString:String = new String();
        //
        //    for(var i=0; i < otd_tech_search_dp.length; i++){
        //     tempObject = otd_tech_search_dp[i];
        //       compString = tempObject.TITLE
        //       if ( compString.indexOf(String(search.text)) >= 0 ) {
        //           runningArray.push(tempObject);
        //              }
        //    }
        //      OTD_TECH_RESULTS.dataProvider = runningArray;
        //      OTD_TECH_RESULTS.dataProvider.dispatchEvent
({type: "modelChanged"});
        //}
}





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to