Can you file that on the wishlist please?  http://www.macromedia.com/go/wish.  We’ll see if we’ve done better in our current builds.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of Aral Balkan
Sent: Friday, September 02, 2005 8:52 AM
To: [email protected]
Subject: [flexcoders] Warning refinement request

 

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



--
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 Software design and development Macromedia flex
Software development best practice


YAHOO! GROUPS LINKS




Reply via email to