There are a few different ways to get this effect. It will all depend on how much time and knowledge you have.
In flash, you can do this, but you would need to know how to actionscript. The scripting would be pretty basic depending on what you want to do. If you just want to have a static image, you can set it to click and drag to drag it around the stage. To get fancy you could set boundaries so the picture doesn't get lost outside of the stage.
I did a similar effect for a scrolling div that scrolls on a button click.
This is to simple for flex, in my opinion, as the same effect could be done in flash.