We need to see more code.  Create a test app.  I bet that will show you where the problem is by itself.

 

Tracy

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pottavathini, Sathish
Sent: Friday, July 07, 2006 4:57 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Issues Public/Private functions

 

I tried wrapping the whole thing into a package, but i got this message when i tried.

 

Severity Description Resource In Folder Location Creation Time Id
2 Syntax Error: package is unexpected. Expected a primary _expression_. helios.as helios line 10 July 7, 2006 1:55:24 PM 27058

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Tracy Spratt
Sent: Friday, July 07, 2006 11:49 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Issues Public/Private functions

Make sure your declarations are actually inside of the package.

 

Tracy

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pottavathini, Sathish
Sent: Friday, July 07, 2006 2:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Issues Public/Private functions

 

I have private/public functions/vars in my project and i get following errors in "Problems" console. If i change them to something(like internal etc) else then i get more errors. Even though i see these errors everything compiles correctly and works fine. Any idea why i am getting there errors? It's not damaging anything but it's just annoying.

Severity Description Resource In Folder Location Creation Time Id
2 The public attribute can only be used inside a package. helios.as helios line 86 July 7, 2006 10:30:08 AM 26841
2 The private attribute may be used only on class property definitions. helios.as helios line 95 July 7, 2006 10:30:08 AM 26842

If i remove private/public then i get following error.
Severity Description Resource In Folder Location Creation Time Id
1 function 'menuHandler' will be scoped to the default namespace: helios: internal helios.as helios line 173 July 7, 2006 11:01:56 AM 26970

Sathish Pottavathini

__._,_.___

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





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to