# Panning image with actionscript

**URL:** https://forum.kirupa.com/t/panning-image-with-actionscript/255141
**Category:** flash
**Created:** [March 19, 2008, 2:21pm UTC](https://forum.kirupa.com/t/panning-image-with-actionscript/255141 "2008-03-19T14:21:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jdamon78](https://avatars.discourse-cdn.com/v4/letter/j/ccd318/32.png) [@jdamon78](https://forum.kirupa.com/u/jdamon78)
#### Post date: [March 19, 2008, 2:21pm UTC](https://forum.kirupa.com/t/panning-image-with-actionscript/255141/1 "2008-03-19T14:21:18Z")

</div>

Hi -

I hope you can help! I’ve been trying to copy and paste this actionscript from the Flash help pages to pan an image with actionscript although i can’t get it to work!

[http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs\_Parts&file=00001495.html](http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001495.html)

Is it because i’m using Flash 8? Or is the script wrong!

Thanks
