1 Reply Latest reply on May 24, 2007 6:13 AM by Flex_Chart

    SWFLoader display properties

      I am using the code below to load a .swf from a external location.

      When it's loaded you can see that the application is showing parts of the .swf that it should not.

      How in my code, can I make sure my width and height of the loader are correct?

      Below is my code...

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application verticalScrollPolicy="off" clipContent="true" horizontalScrollPolicy="off" xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init(event)" borderColor="#000000" horizontalAlign="center" verticalAlign="top">

      import flash.events.*
      import flash.net.URLRequest;
      import mx.controls.SWFLoader;
      import mx.containers.*;

      private function init(e:Event):void{

      myLoader.showBusyCursor = true;
      myLoader.load(" http://babystrology.com/tickers/baby-ticker-glass.swf?parent=Mommy&year=2008&month=0&day=1 8&babycount=1");
      //myLoader.load(" http://www.flektor.com/program/fplayer.swf?flekvid=_1179955884_977198_9749&mode=embedded&p layerStyle=full");


      private function loadHandler(e:Event):void{



      <mx:SWFLoader x="0" y="0" id="myLoader"/>