# Make the slider go right

**URL:** <https://forum.kirupa.com/t/make-the-slider-go-right/264757>\
**Category:** flash\
**Created:** [June 30, 2008, 8:24am UTC](https://forum.kirupa.com/t/make-the-slider-go-right/264757 "2008-06-30T08:24:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wanda](https://avatars.discourse-cdn.com/v4/letter/w/e495f1/32.png) [@wanda](https://forum.kirupa.com/u/wanda)\
**Post date:** [June 30, 2008, 8:24am UTC](https://forum.kirupa.com/t/make-the-slider-go-right/264757/1 "2008-06-30T08:24:28Z")

</div>

Hello guys

I have mad this from a tutorial. Now the slider goes left but i wants it to go right but i just cant seem to get it to work.

Here is the code

```php
onClipEvent(load) {
 
 looping.duplicateMovieClip("logo_slide");
 logo_slide._x=looping._x+looping._width+16;
 loopStartx = this._x
 loopSpeed=5;
 
 loopx=_root.slide_mc.looping._width/3;
 loopStart=true;
}
onClipEvent(enterFrame) {
  this._x-=loopSpeed;
  if(this._x<=(loopStartx-looping._width)){
   this._x=loopStartx-loopSpeed;
  }
 }

```

I have tried to gange this

```php
this._x-=loopSpeed;

```

to this

```php
this._x+=loopSpeed;

```

But that dont work. Can anyone help?

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 30, 2008, 8:26am UTC](https://forum.kirupa.com/t/make-the-slider-go-right/264757/2 "2008-06-30T08:26:43Z")

</div>

read the main page of this website/ tutorials/flash

---

<div class="post-metadata">

**Author:** ![pantas](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@pantas](https://forum.kirupa.com/u/pantas)\
**Post date:** [July 1, 2008, 4:38pm UTC](https://forum.kirupa.com/t/make-the-slider-go-right/264757/3 "2008-07-01T16:38:14Z")

</div>

i’m sorry, can you attach a .fla?

by the way, really awsome portfolio!
