Hi,

As so many Flex engineers frequent this list, I thought it would be best 
to send this here. If there's a better place, let me know.

If you have a method with the same name as your Class but starting with 
a lowercase letter, Flex gives you the following warning:

Warning 
D:\web\xampp\xampp\htdocs\projects\arp\trunk\actionscript\org\osflash\arp\Log.as:54
 

The member function 'log' has a different case from the name of the 
class being defined, 'org.osflash.arp.Log', and will not be treated as 
the class constructor at runtime.

This is fine, most times, *if* you don't have a constructor as you may 
have mistyped the name of the constructor *but* it also gives the 
warning if you do have a constructor. ie., If you have a constructor 
called Log() and, as in the example above, a *static* method called 
log(). In these cases, it shouldn't give the warning.

All the best,
Aral


------------------------ 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/
 


Reply via email to