Sunday, March 28, 2010

newbie package question

If I create a class named ''myClass'' within the package structure:

com.myCompany.classes

and unbeknowingly my colleague also creates a class named ''myClass'' under his package structure:

com.myCompany.colleagueClasses

I then import both sets of classes into the main app:

import com.myCompany.classes

import com.myCompany.colleagueClass

using Actionscript (rather than MXML namespaces), how do I differentiate between the two ''myClass'' files??

eg. how do I instantiate one of each different ''myClass'' classes ?

Thanks kindly.

newbie package question

I think you should forget everything and just rename one of those class. waste of time and effort to find out how.. just rename it... it's easy, right click and rename..

hope this helps,

BaBo,

No comments:

Post a Comment