4 Replies Latest reply on May 22, 2007 7:53 AM by lhgravendeel

    getting background color

    lhgravendeel
      How can i get the background color from an external swf file? (or even from the main swf file)
      I'm loading the external swf with:

      moviecontainer = _root.createEmptyMovieClip("moviecontainer", 10);
      moviecontainer.loadMovie("pacman.swf",0);

      I tried to do get the background color of pacman.swf with moviecontainer.backgroundColor, moviecontainer._root.opaqueBackground, moviecontainer._root.backgroundColor and moviecontainer._root.background. All of these returned 'undefined'.

      Does anyone know how to get the background color of this external swf file, or even how to get the background color of the main swf file (which contains this script)?