0 Replies Latest reply on Jun 23, 2010 12:57 AM by nicolaricca

    SWFLoader scale issue


      Hi everyone,


      i'm trying to embed a media player (soudcloud) on my flex app.


      the HTML code is :


      <object height="81" width="100%">

           <param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Fnicola-ricca%2Fp odcast-lmh-sunshine-one&show_comments=true&auto_play=false&color=ca35e9"></param>

           <param name="allowscriptaccess" value="always"></param>

           <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2Fnicola-ricca%2Fp odcast-lmh-sunshine-one&show_comments=true&auto_play=false&color=ca35e9" type="application/x-shockwave-flash" width="100%">



      So in flex i created a SWFloader :


      <mx:SWFLoader id="mySWF" width="100%" source="http://player.soundcloud.com/player.swf?url=http://soundcloud.com/nicola-ricca/podcast-lmh -sunshine-one&show_comments=true&auto_play=false&color=ca35e9" />


      The problem is taht the embed swf is larger than my app, it realy dont fit with the size of my app.


      Screen shot 2010-06-23 at 9.51.15 AM.png


      If i set the scaleContent to false the swf is in a sort of way scaled ...but actually it is truncated !!!


      Screen shot 2010-06-23 at 9.50.46 AM.png


      Can someone help me with the issue please ?


      Thank you.