Skip to main content
Participant
March 16, 2009
Question

sliding photo gallery

  • March 16, 2009
  • 2 replies
  • 522 views
Ok, so I just pulled together a picture gallery, where the pictures simply scroll across the screen using arrows. I used the template from http://www. layoutgalaxy .com/html/htmnewletter41-page1.htm

The problem is that when I added my own pictures, the graphic symbol was obviously a different size from the original template. So when the images scroll they should stop at a certain point as to not show any empty space. I changed the values that i guessed were the ones setting up where the graphic has to stop at, but it doesnt seem to be doing anything. The code below is the only script of any importance, at least that I know of. The other stuff just points to targets and gotoandplay stuff. If you think you can help, I'd be happy to send the .fla, just PM me.
This topic has been closed for replies.

2 replies

Known Participant
March 17, 2009
Known Participant
March 16, 2009
It is really difficult to say what the problem is because the script looks ok... but the only thing that is strange is that you use : this._x += movespeed; and then after you use setProperty ("_root.scroll", _x, 300); That doesnt make any sense. I would change setProperty ("_root.scroll", _x, 300); to: this._x = 300;

I presume that this script is attached to the movieclip you want to move with your keys.

Greetings,
Guido

Creation site internet Bordeaux | Echantillons Gratuits | Roue des Cadeaux | Programme TV

Participant
March 17, 2009
I did that, but it didn't change anything in the swf. The scrolling movie clip still stopped at exactly the same spots no matter what numbers I typed in...I ended up moving all the actionscript from the movie clip to an empty frame, still no matter what numbers I type, it still stops at the same spots...

Is some one willing to take an email for the .fla to look it over more indepth? I'm completely stumped...