0 Replies Latest reply on Jan 20, 2010 8:52 AM by jimmyoneshot

    Embedding html for use in a tilelist

    jimmyoneshot Level 1

      In my app I have several images which I've defined as public vars like this:-

       

      [

       

      Bindable]

      [

      Embed(source="assets/images/skynews_small.png")]

       

      public var image10:Class;

       

       

      These images are then contained within an array collection which serves as a dataprovider for a tilelist. Instead of static png images though I want to use html components so the tilelist will be full of live images of websites so each image will basically look like this

       

      <mx:HTML location="http://www.yahoo.com/" width="300" height="300" scaleX="0.25" scaleY="0.25" horizontalScrollPolicy="off" verticalScrollPolicy="off"/>


      How can I edit the image10 class I made so that it's source is basically a live screenshot of that website as opposed to a static screenshot I took?