This migth be so basic that i am afraid to ask
Anyway
package leprechan {
public class c1{
var gh:int = 1;
}
public class c2{
var gh:int = 2;
}
}
saved as leprechan.as
and in the main timeline:
import leprechan.c1;
var c:c1 = new c1();
flash says:
]1172: Definition leprechan:c1 could not be found.
so how can i do that?I dont want a class to be kind of a helper to the other, i want them to be like MovieClip and Sprite inside the same package