0 Replies Latest reply on Feb 9, 2011 5:32 AM by kiran7881

    Flex 3 : Bindable Image , resulting in Error

    kiran7881 Level 1

      Hi ,

       

      I am getting a  Image from a LinkedIn Site , used below coding for this

       

      <mx:Image id="delImage"    source="{getImageforPeople(data)}"  click="openPopUpWindow()" autoLoad="true" />

      public String getImageforPeople()
      {
      return "ImageFromLinkedIn.jpg"
      }

       

      Now , I am trying to use  this Image inside the PopUpWindow.mxml as shown

       

      <mx:Script>
          <![CDATA[
              import mx.controls.Image;
              [Bindable]
              public var Username:String;
              [Bindable]
              public var userImage:Image;
          ]]>
      </mx:Script>
      <mx:Canvas>
      <mx:Image x="10" y="10" width="90" height="100" source="{userImage}" />

      </mx:canvas>

       

       

      This is resulting  in Flex Error  abnormal termination as this  Script running more than 15 mins .

       

      Please suggest as how to solve this , Thanks .