1 Reply Latest reply on Nov 27, 2008 8:18 AM by kglad

    What is the best way to do this?

    Level 7
      Dear All,

      I am creating a couple of SWFs, SWFa (Games Board Holder) & SWFb (Quiz). I
      would like to load up SWFb from SWFa and then a variable in SWFa would be
      set from the Quiz SWFb once the quiz is complete.

      var mc:MovieClip = this.createEmptyMovieClip("mc",
      this.getNextHighestDepth());
      mc.onRelease = function():Void {
      trace(this.Quiz._url);
      }
      var Quiz:MovieClip = mc.createEmptyMovieClip("Quiz",
      mc.getNextHighestDepth());
      Quiz.loadMovie("C:\ Users\ DummyName\ Desktop\ Flash\ Monopoly\ Quiz\
      Quiz1.swf");

      I am unsure of the best way to achive the desired affect of loading a SWF
      into a movie on the main SWF and return the 'Score'.

      These SWFs will exist on the local hard disk and not posted on the internet
      (if this makes a difference).

      Any advice would be gratefully received.

      Thanks again.

      Alastair