Disregard, solved.
Here's one for the farkin' archives.
When doing an equality test on a private static variable, for some reason
the Flex Builder compiler isn't telling me the correct line number. On line
369, I'm doing:
if(ModelLocator.state == ModelLocator.someVar)
{
}
Where someVar is private static. In a class used a few lines down via
PopUpManager, FlexBuilder says that that class is a private member. Sorry
compiler, but you're full of s$)(*%.
Thanks anyway.
----- Original Message -----
From: "JesterXL" <[EMAIL PROTECTED]>
To: "Flexcoders" <[email protected]>
Sent: Monday, December 19, 2005 2:43 PM
Subject: [flexcoders] member private error
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.
--
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
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/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/