Hi tried this but didn't work! here is my code in its most simple form...

package {
 
 import flash.display.MovieClip;
 
 public class mainClass extends MovieClip
 {
  // Instantiate our classes
  public var banner:imageLib = new imageLib();
 
  public function mainClass()
  {
    banner.loadImage("banners/banner1.jpg", bannerArea);
  }
 }
 
}

Now the problem is bannerArea is undefined even though its on the root timeline 
and we have no way of directly accessing it from within the class now _root is 
no longer in use!

SM
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to