0 Replies Latest reply on Jan 27, 2010 7:08 AM by jimmyoneshot

    Scaling content of HTML components and making them non-interactive

    jimmyoneshot Level 1

      I have previously been helped out here on how to get html components to appear within a tilelist by using an itemRenderer but I'm now struggling at both scaling down the content/image produced by these components as well as making them non-interactive. Basically I want them to be static live images that appear within a tilelist but the user can't actually interact with the website's they contain through them but they can drag the images around, click on them etc. I also want the content of each of the html components scaled down so that it fits within each html component. Can anyone help me out on these things please?

       

      Here's my itemRenderer:-

       

      <?xml version="1.0" encoding="utf-8"?>

      <mx:HTML

       

       

      xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()" width="100" height="100" verticalScrollPolicy="off" horizontalScrollPolicy="off">

       

       

      <mx:Script>

      <![CDATA[

       

       

       

       

      private function init():void

      {

       

       

      this.location = data.location.toString();

      }

      ]]>

       

      </mx:Script>

      </mx:HTML>