0 Replies Latest reply on Feb 27, 2007 1:41 AM by Flex2Anil

    Dynamic image refresh

    Flex2Anil Level 1
      Guys,

      I am very new to Flex. We are currently using Flex1.5. My application is very simple which needs just a button to browse the local file system and an image to show the selected image file.
      I used the code sample available at http://www.adobe.com/devnet/flex/articles/fp8_features.html. But when i select the image file, the image area is not getting painted with that. My function which is in main.mxml looks like this.

      private function selectEvent(event:Object):Void {
      selectedImage = event.fileReference.name;
      image.load(selectedImage);
      }
      where image is Image object.
      Please help me in this regard....