AnubisibunA
09-07-2002, 05:04 AM
I've been searching the net/books/flash for a few days now trying to figure this out.
I want to scroll a very long vertical clip with a small mask 200 x 100. I do not know what to add to make the movie seamless. A duplicateMovieClip? My movie is a panel of static images, so it's obvious when the end comes.
I've only found that you have to name your clip
then make a onClipEvent actionscript with the x or y coordinates set at where to start, and then where to repeat the clip if a certain x or y is met. I cannot figure it out though.
something like this
---------------------------------------
onClipEvent (enterFrame) {
instancenamehere.x = 0;
if (instancenamehere._x <= -500) {
instancenamehere._x = 0;
}
}
---------------------------------------
I know to change the x's to y's (since mines vertical), but I do not know what to do with my actual movie clip. Do I just animate it w/a tween and then place it under my mask on the stage?
Any help with this simple question will be greatly appreciated! ---> THANKS!
I want to scroll a very long vertical clip with a small mask 200 x 100. I do not know what to add to make the movie seamless. A duplicateMovieClip? My movie is a panel of static images, so it's obvious when the end comes.
I've only found that you have to name your clip
then make a onClipEvent actionscript with the x or y coordinates set at where to start, and then where to repeat the clip if a certain x or y is met. I cannot figure it out though.
something like this
---------------------------------------
onClipEvent (enterFrame) {
instancenamehere.x = 0;
if (instancenamehere._x <= -500) {
instancenamehere._x = 0;
}
}
---------------------------------------
I know to change the x's to y's (since mines vertical), but I do not know what to do with my actual movie clip. Do I just animate it w/a tween and then place it under my mask on the stage?
Any help with this simple question will be greatly appreciated! ---> THANKS!