Hi,
I had this error to. I worked around it by omitting the types of a variable.
Example:
Change
var test:CyclicalClass = ...
test.someFunction();
to
var test = ...
test.someFunction();
everything (e.g: function calls on the instance) still works.
Only the compiler will not check anymore whether you use your instance of
CyclicalClass correctly...
-Ursprüngliche Nachricht-
Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
Auftrag von Abdul Qabiz
Gesendet: Mittwoch, 12. Oktober 2005 19:11
An: flexcoders@yahoogroups.com
Betreff: RE: [flexcoders] Cyclical reference error
Hi,
This might also happen if two MXML files reference each other indirectly.
Can you please post samples-but-complete-code for the same.
-abdul
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jim Phelan
Sent: Wednesday, October 12, 2005 9:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cyclical reference error
Hello,
We've been getting a strange error recently
When compiling for the first time after starting JRUN / Flex, we get an
error similar to:
Cyclical reference to class Two MXML Files cannot reference each other
as child tags.
As far as I can tell, no MXML files are referencing each other.
The really strange thing is that we are able to correct the issue by
commenting out the MXML for the offending class, compiling, and then
uncommenting and compiling again. Flex doesn't complain at all and
compiles fine until the next time we restart the server.
Has anyone experienced this? Is there anything that could be causing this
or that can be done about it?
Best.
Jim
--
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
* Visit your group flexcoders
http://groups.yahoo.com/group/flexcoders on the web.
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] mailto:flexcoders-
[EMAIL PROTECTED]
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
http://docs.yahoo.com/info/terms/ .
Yahoo! Groups Sponsor ~--
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/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/