Anyone get this error and you can't understand why you are getting it in 
your Flex app?

1 Error found.

Error /project/MyComponent.mxml:3
The member is private and cannot be accessed.

I've been debugging this for most of the day, and the error it's reporting 
has nothing to do with what it's reporting.  For example, if you remove just 
about every property in your root tag:

<mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml";>

It'll still report it as private.  Things such as width and height in a root 
tag are fully legal, so I know it's not that.  I managed to fix it by 
commenting out a function in a class that uses the class Flex reports the 
error on, which to me it's merely using it wrong; somehow accessing a 
private method and Flex detects this, but doesn't report correctly where. 
However... then, it reports the same error on a higher level class that uses 
all of them.

I'm pretty much commenting everything out, and re-building from there, but 
just curious if anyone has ever received this error, and found the cause for 
it, because what it is saying is incorrect.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/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