1 Reply Latest reply on May 27, 2010 6:34 AM by Ned Murphy

    Zooming in on movie through 'window'




      I am quite new to Flash and I want to make the following. I want to have a video (avi, mpg or something else) playing. But you should see only a part of the movie (a smaller rectangular "window"). Through this window I want to be able to zoom in on the movie, and move it, so you can see different parts of the movie.


      Is such a thing possible in flash? If so, can you give me some tips on how to start?


      Thanks in advance!

        • 1. Re: Zooming in on movie through 'window'
          Ned Murphy Adobe Community Professional & MVP

          First you will want to create a mask for the video player so that you only see a part of it.  If you need help with that, search for a Flash mask tutorial on Google.


          Then, to be able to move or zoom you need to assign code to either change the x/y corrdinates of the player (move) OR use startDrag/stopDrag methods (move) OR change the x and y scale properties of the player (zoom).


          It will probably be best for you to tackle each of these separately so that you'll be in a better position to merge them into one.

          1 person found this helpful