4 Replies Latest reply on Jun 27, 2008 6:56 AM by jenderrick402

    Loading Flash FLV player's source from Flex

      I have an swf named player. Player contains an flvPlayBack component with an instance name of videoPlayer. I load player into my flex app with SWFLoader (vidPlayer). I need to assign the source for the flv component from Flex. Below is what I have, but it does not work. Can anyone tell me what I am doing wrong?

      private var flvPlayer:MovieClip;
      flvPlayer = vidPlayer.content as MovieClip;
      flvPlayer.videoPlayer.source = "videos/Nixon apology video.flv";