0 Replies Latest reply on Feb 22, 2011 5:51 AM by softsafari

    How to load multiple videos in swfloader?

    softsafari

      I'm tryihg to load youtube videos from my flex 3 application but always only the first to load is successfull. I am not loading them at the same time. There is basically two buttons that each will load a different video. Which ever is clicked first works but the one that is not clicked first never works? I'm using a seperate swfloader for each video but to no avail

       

      Security.allowDomain(videoUrl);               
      this.youTubeVideo.load(videoUrl);        // <mx:SWFLoader id="youTubeVideo" x="38" y="35" width="568" height="339"/>

       

       

      This only works for the first case?