3 Replies Latest reply on Sep 21, 2010 7:54 AM by kglad

    dynamic image actions on swf

    emreyazgan

      Hi everyone;

      Does anyone works on loading image and; resize and move that image on swf?

      thanks from now on

        • 1. Re: dynamic image actions on swf
          kglad Adobe Community Professional & MVP

          it's not clear what you are asking but usually problems with loaded images result from trying (or needing) to use image width and/or height.

           

          these properties are not available to flash until loading is complete.   using preloader code or the moviecliploader class'es onLoadInit() method is needed in this situation.

          1 person found this helpful
          • 2. Re: dynamic image actions on swf
            emreyazgan Level 1

            Hi again;

            The thing that I want to do is; I can upload a picture; after that I want to import this picture into a new scene and edit it like move picture and resize it by mouse after I published my flash.

            any idea for that?

            • 3. Re: dynamic image actions on swf
              kglad Adobe Community Professional & MVP

              1.  use the filereference class to upload your picture

              2.  load your image using loadMovie() (movieclip class) or loadClip() (moviecliploader class)

              3.  adjust its width and height however you want using your mouse.