# Pls help me in panning content (left/right)

**URL:** https://forum.kirupa.com/t/pls-help-me-in-panning-content-left-right/208604
**Category:** Uncategorized
**Created:** [November 30, 2006, 11:12am UTC](https://forum.kirupa.com/t/pls-help-me-in-panning-content-left-right/208604 "2006-11-30T11:12:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bamchel](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@bamchel](https://forum.kirupa.com/u/bamchel)
#### Post date: [November 30, 2006, 11:12am UTC](https://forum.kirupa.com/t/pls-help-me-in-panning-content-left-right/208604/1 "2006-11-30T11:12:24Z")

</div>

I need help in panning my content from left to right (with stop as intervals) then right to left (also with intervals)

I attached the .fla/.swf and I explained the steps I did below and I need help in Number 5. Thanks in advance!

What Ive done so far…

1. I created an mc (name: “content”)  
Notice in this mc, I layout 4 sets of text (like a page) from left to right

2. I created another mc (name: “pancontent\_mc”)  
-I added a layer for “content” and created a motion tween for it to pan from left to right  
-I created a mask layer on top of “content” that will show 1 set at a time  
-I created an action layer that has total of 4 stops(); on each frame where the 4 sets of text will show directly under the mask.

3. maintimeline  
-There’s only 1 layer. I placed an instance of buttons (left/right) and an instance of “pancontent\_mc”

4. actions for right button, works fine and stops on each set of text.  
on (release) {  
this.pancontent.play();  
}

5. actions for left button - none. I havent figured this out yet.  
what i want to happen is…

on (release) {  
this.pancontent. - something like play previous frame until stop…  
}
