0 Replies Latest reply on Apr 2, 2007 9:59 AM by Cosmo111927

    Calling createClassObject from custom class

    Cosmo111927
      Hi all,

      I've created a class that i want to use to load external flash movies. I'm using the createClassObject function that I'm calling from within the class to create an instance of the ProgressBar component. Unfortunately I don't see thepreloader bar although the image does load properly... I also tried using theLoader component but it didn't work either. My guess is I'm not referencing the porgress barr correctly once it's created....

      Some extra pointers.. this class is instanciatedby another class:
      +the member m_mcContent is initialised outside by calling
      _root.createEmptyMovieClip("Element_"+i, _root.getNextHighestDepth());

      +m_oParentObject is pointing to the object that intanciated an object from BB class