View unanswered posts | View active topics


Reply to topic  [ 2 posts ] 
Classes that begin with _ in SWC dont get autocomplete 
Author Message
Member

Joined: Wed Jul 02, 2008 10:30 am
Posts: 22
Post Classes that begin with _ in SWC dont get autocomplete
How to reproduce:

Create an SWC with a class that begins with _ eg:"_MyClass"
Create a new AS3 project and Add to Library the class

If you double click the class you will get nothing.
Also typing the namespace will not give you anything at all.

If the class is inherited by another class that does NOT begin with "_", the new class will have autocomplete but not for the methods it inherits.


Sun Feb 05, 2012 10:38 am
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 10740
Location: Paris, France
Post Re: Classes that begin with _ in SWC dont get autocomplete
This is a little trick used to hide junk classes in SWCs - the test could be a bit less generic though.


Sun Feb 05, 2012 5:27 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.