0 Replies Latest reply on Aug 15, 2007 12:15 PM by myChewy

    Media Display Component

    myChewy
      I have a project where I've added an instance of the Media Display component to the stage. FLVs are loaded into the instance depending upon which button is clicked. What I would like to add to the script is the ability to monitor the instance of the component, and navigate to the first frame of the parent movie anytime the Media Display component is "complete".

      This is the script associated with "media.complete" event object:

      var myListener:Object = new Object();
      myListener.complete = function(eventObj:Object) {
      trace("media is Finished");
      };
      myMedia.addEventListener("complete", myListener);


      I'm stuck at this point what to add next to trigger the "gotoAndStop(1) "??

      Any and all assistance is greatly appreciated!

      -- Bryan