I have a project I am working on that is supposed to duplicate looking at frames of a movie (2 at a time) pause then rotate them out followed by 2 more frames.

Here is my code so far:
Code:
import flash.filters.DropShadowFilter;
import mx.transitions.easing.*;

// variables ------------------------------------------
this.pathToPics = "images/";
var pArray:Array = new Array(	new Array("Cat 1",	new array("img1.jpg","txt1"),new Array("img2.jpg","txt2")),
new Array("Cat 2",	new Array("img3.jpg","txt3"),
new Array("img4.jpg","txt4")),
new Array("Cat 3",	new Array("img5.jpg","txt5"),
new Array("img6.jpg", "txt6")),
new Array("Cat 4",	new Array("img7.jpg","txt7"),
new Array("img8.jpg","txt8")));

this.viewtime = 5;
this.slidespeed = 25;
this.pIndex = 1;
var intervalId:Number;
var headtxt_mc:MovieClip = _root.createEmptyMovieClip('headtxt_mc',10);
this.headtxt_mc.createTextField("headtxt", 1,10,10,700,150);

// create filters
var dropShadow:DropShadowFilter = new DropShadowFilter(4, 45, 0x000000, 0.8, 10, 10, 2, 3);

// create text formats
var headformat:TextFormat = new TextFormat();
headformat.font = "Tahoma";
headformat.size = 34;
headformat.bold = true;
headformat.color = 0x1CB065;
headformat.align = "center"

this.headtxt_mc.headtxt.setNewTextFormat(headforma  t);

this.flm_back0_mc.slide1_mc.pic1_mc.loadMovie(this  .pathToPics+this.pArray[0][1][0]);
this.flm_back0_mc.slide2_mc.pic2_mc.loadMovie(this  .pathToPics+this.pArray[0][2][0]);

this.flm_back0_mc.slide1_mc.pictxt1_mc.captiontxt1  .text = this.pArray[0][1][1];
this.flm_back0_mc.slide1_mc.pictxt1_mc.captiontxt1  .filters = [dropShadow];

this.flm_back0_mc.slide2_mc.pictxt2_mc.captiontxt2  .text = this.pArray[0][2][1];
this.flm_back0_mc.slide2_mc.pictxt2_mc.captiontxt2  .filters = [dropShadow];

this.headtxt_mc.headtxt.text = this.pArray[0][0];

this.flm_back0_mc.duplicateMovieClip("flm_back1_mc", this.pIndex+10);
this["flm_back1_mc"]._x = -740;

intervalId = setInterval(this, "tween", this.viewtime*1000);
// MovieClip methods ----------------------------------
MovieClip.prototype.tween = function() {
		this.pIndex ++;	
		tweenin = new mx.transitions.Tween(this["flm_back"+this.pIndex+"_mc"], "_x", mx.transitions.easing.Regular.easeIn, -740, 0, 1, true);
		this.changePhoto();
	}
MovieClip.prototype.changePhoto = function() {
	// make sure pIndex falls within pArray.length
	if &#40;this.pIndex < this.pArray.length&#41; &#123;
		if&#40;this&#91;"flm_back"+this.pIndex+"_mc"&#93; == undefined&#41;&#123;
				this.flm_back0_mc.duplicateMovieClip&#40;"flm_back"+this.pIndex+"_mc", this.pIndex+10&#41;;
				this&#91;"flm_back"+this.pIndex+"_mc"&#93;._x = -730;
				this.loadPhoto&#40;&#41;;
				if&#40;this&#91;"flm_back"+&#40;this.pIndex-1&#41;+"_mc"&#93; != undefined&#41;&#123;
					tweenout = new mx.transitions.Tween&#40;this&#91;"flm_back"+&#40;this.pIndex-1&#41;+"_mc"&#93;, "_x", mx.transitions.easing.Regular.easeInOut, 0, 740, 1, true&#41;;
				&#125;
			&#125;else&#123;
				this&#91;"flm_back"+this.pIndex+"_mc"&#93;._x = -730;
				this.headtxt_mc.headtxt.text = this.pArray&#91;this.pIndex&#93;&#91;0&#93;;
			&#125;

	&#125;else&#123;
		this.pIndex = 0;
		this&#91;"flm_back"+this.pIndex+"_mc"&#93;._x = -710;
		this.headtxt_mc.headtxt.text = this.pArray&#91;this.pIndex&#93;&#91;0&#93;;
	&#125;
&#125;;

MovieClip.prototype.loadPhoto = function&#40;&#41; &#123;
	// specify the movieclip to load images into
	this&#91;"flm_back"+this.pIndex+"_mc"&#93;.slide1_mc.pic1_mc.loadMovie&#40;this.pathToPics+this.  pArray&#91;this.pIndex&#93;&#91;1&#93;&#91;0&#93;&#41;;
	this&#91;"flm_back"+this.pIndex+"_mc"&#93;.slide2_mc.pic2_mc.loadMovie&#40;this.pathToPics+this.  pArray&#91;this.pIndex&#93;&#91;2&#93;&#91;0&#93;&#41;;
	this.onEnterFrame = loadMeter;
	this&#91;"flm_back"+this.pIndex+"_mc"&#93;.slide1_mc.pictxt1_mc.captiontxt1.text = this.pArray&#91;this.pIndex&#93;&#91;1&#93;&#91;1&#93;;
	this&#91;"flm_back"+this.pIndex+"_mc"&#93;.slide2_mc.pictxt2_mc.captiontxt2.text = this.pArray&#91;this.pIndex&#93;&#91;2&#93;&#91;1&#93;;
	this.headtxt_mc.headtxt.text = this.pArray&#91;this.pIndex&#93;&#91;0&#93;;
&#125;
MovieClip.prototype.loadMeter = function&#40;&#41; &#123;
	var l, t, r, s;
	l = this&#91;"flm_back"+this.pIndex+"_mc"&#93;.slide1_mc.pic1_mc.getBytesLoaded&#40;&#41;;
	t = this&#91;"flm_back"+this.pIndex+"_mc"&#93;.slide1_mc.pic1_mc.getBytesTotal&#40;&#41;;
	r = this&#91;"flm_back"+this.pIndex+"_mc"&#93;.slide2_mc.pic2_mc.getBytesLoaded&#40;&#41;;
	s = this&#91;"flm_back"+this.pIndex+"_mc"&#93;.slide2_mc.pic2_mc.getBytesTotal&#40;&#41;;
	if &#40;&#40;t>0 && t == l&#41; && &#40;s>0 && s == r&#41;&#41; &#123;
		this.onEnterFrame = null;
	&#125; else &#123;
		trace&#40;l/t&#41;;
	&#125;
&#125;;
I seem to be having problems with transitioning the slides in then pausing and then transitioning them out bringing in the next slide simultaniously.

I am relatively new to actionscripting but I want to get my teeth into it.

Has anyone had any experience in mx.transitioning?

Can anyone see where I am going wrong?

I am using Flash 8 Pro