Class is not showing up in code hinting

If a class is not showing up in code hinting or the class is not found the package path may be incorrect.

// this class has no path specified
package  {
      public myClass {
      }
}
// the package path is the folder path to the location of the file
// it must reflect the actual location of the "myClass.as" file
// for example, the following class
// would be valid if the file is located at
// ".../com/site/controls/myClass.as"
package com.site.controls {
      public myClass {
      }
}

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s