1 Reply Latest reply on Aug 27, 2008 10:43 PM by Newsgroup_User

    YouTube Video Insanity...arrrggghhh

    charger Level 1
      Hi,

      I've been trying, for 3 days now to figure out a way to play more than one youtube video in my flex project.

      I have a simple bare-bones mxml project with two SWFLoaders. Each SWFLoader's source is set to the appropriate youtube url. When I run the project, only one of the videos displays.

      I have tried everything I can think of here and am at my wit's end.

      Any help would be GREATLY appreciated.

      Here is the code in question:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute" width="620" height="622">
      <mx:SWFLoader x="39" y="27" source=" http://www.youtube.com/v/3Hc3jOD1vV0" scaleContent="true" autoLoad="true" scaleX=".5" scaleY=".5" id="swf1"/>
      <mx:SWFLoader x="46" y="290" source=" http://www.youtube.com/v/Mwp4ZxfJ16I" scaleX=".5" scaleY=".5" scaleContent="true" autoLoad="true" id="swf2"/>
      </mx:Application>