ok so i have a package called “gallery”, inside i have a couple dynamic classes that help build an xml gallery, outside i have the main class “Porfolio.as”. From Porfolio.as, I am trying to call a class inside the package (GalleryContainer.as). Before I do so, I imported like this
import gallery.GalleryContainer (also tried import gallery.*)
then i call the class like so
var xmlGallery:GalleryContainer = new GalleryContainer();
addChild(xmlGallery);
however this doesn’t work, i tried throwing a trace statement inside the GalleryContainer constructor but no luck, it isn’t even being called, i tried doing a search and couldn’t find anything, the only thing i could think of is that all these classes inside the package are dynamic, and that might be causing the problem, any ideas