View Full Version : Scrolling Images


bobbobbobbob
03-19-2006, 05:52 PM
Hello all!

I have a quick question...

I'm trying to make a really long image continuously scroll across a flash document, but I can't seem to figure out how. I can get it to scroll all the way across, but then there is a giant white space before it comes back around again. Is there any way to make it so that after the last part of the picture goes by, the first part can follow up right after without the white interval?

Thanks!

Backlight
03-19-2006, 08:24 PM
Hello all!

I have a quick question...

I'm trying to make a really long image continuously scroll across a flash document, but I can't seem to figure out how. I can get it to scroll all the way across, but then there is a giant white space before it comes back around again. Is there any way to make it so that after the last part of the picture goes by, the first part can follow up right after without the white interval?

Thanks!

well this is pretty complex stuff but it's not too hard..

Firstly I really won't be able to give you the exact coding from my memory because i'm at work i don't have any of my previous work on my laptop.. But what your going to need to do is search for "duplicate movie clip in flash".. This should point you in the right direction.. :)

Serggg
03-20-2006, 06:31 PM
Try to use this trick:
make a "graphic" based on your image select it on the movie and press F8. Open that graphic object, copy your image in it and paste it on the right side of it (so the second image must follow the first one). Now you have an object which contains 2images. Use this object in the motion tween where you originaly used the image. Let's say your image is 500px long (so the graphic obj is 1000px long)... In the 1st frame of the motion tween the graphic is in the (0,0) position. In the last frame move it to the position (-490,0), (we move it to the left). That's it. Now the first part will follow up right after the end of picture.

bobbobbobbob
03-23-2006, 11:50 PM
Thanks for your help, I figured it out!