1 Reply Latest reply on Feb 3, 2009 9:06 AM by Newsgroup_User

    Imaging problem

    wgb14 Level 1
      Hi all

      I have a "locations" field that is updated at regular intervals with names from different locations. I wonder if there a way on mousedown to transfer the contents of this field on a jpeg image (a map of these locations) that is not part of my cast but in a folder within the moviepath. Everytime the user clicks mousedown the new text from the locations field should be passed to the image (delete and replace the old text with the new one)

      To be more specific. Let's assume that the contents of the locations field is:

      locaA1 The text that should be passed on the image is locaA1

      When the contents of the locations field is updated (e.g.,)

      locaA1
      LocaC2 The text that should be passed on the image is

      locaA1
      locaC2


      Any ideas how to do that?
        • 1. Re: Imaging problem
          Level 7
          Your field has an image property: member("someFieldName").image

          Using copyPixels you can draw this image onto another imager (like you map)

          Using one of the image export Xtras you can write this to a file.

          You would need to keep a copy of the unaltered map jpeg for the next
          time you wanted to add a location to the map (rather than trying to
          delete the old text).


          wgb14 wrote:
          > Hi all
          >
          > I have a "locations" field that is updated at regular intervals with names
          > from different locations. I wonder if there a way on mousedown to transfer the
          > contents of this field on a jpeg image (a map of these locations) that is not
          > part of my cast but in a folder within the moviepath. Everytime the user clicks
          > mousedown the new text from the locations field should be passed to the image
          > (delete and replace the old text with the new one)
          >
          > To be more specific. Let's assume that the contents of the locations field is:
          >
          >
          > locaA1 The text that should be passed on the image is locaA1
          >
          > When the contents of the locations field is updated (e.g.,)
          >
          > locaA1
          > LocaC2 The text that should be passed on the image is
          >
          > locaA1
          > locaC2
          >
          >
          > Any ideas how to do that?
          >