You can only have one public class/method available in a package .as file.
Is this supposed to be an .as include? If so, just get rid of 'package {'
and the end brace.

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Monday, October 17, 2005 3:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Packages must not be nested? Flex2

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);
                }
        }
        // ...
}





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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