Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




To Anyone With The Continuous Scrolling Button Issue



http://actionscript-toolbox.com/sampletextscroller.php

its wonderful



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 01-14-2003, 12:41 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Continuous Scrolling Button Action?
hi,
i have this code in my flash movie to scroll a large image behind a rectangular mask:

left_btn.onPress = function () {
drag_mc._x-=10;
}

right_btn.onPress = function () {
drag_mc._x+=10;
}

All i want to know is, can i make the movement continuous, onPress, instead of the user having to click for each increment? this would make the viewer really smooth!
thanks for any help or advice,

marl

Please Help With Actionscript Button Issue - Scrolling Menu
I built this horizonal scrolling image menu, and I can't get the buttons to work. I'm trying to make each image scrolling to act as a button and load an external movie clip. But for some reason the buttons aren't working at all. So could anyone please help me resolve this simple issue? It would be GREATLY appreciated!

Attached in my scrolling menu (digital_menu.fla)
and the external movie (burning_man.fla) I'm trying to load via actionscript

So please take a look at my menu, and you will see I have tried to add a script to one of the menu items named "burning_man". What I want it to do is basically when this image is clicked while scrolling, it will load the "burning_man.fla" movie into the current movie.

Thanks for your help!

Please Help With Actionscript Button Issue - Scrolling Menu
I built this horizonal scrolling image menu, and I can't get the buttons to work. I'm trying to make each image scrolling to act as a button and load an external movie clip. But for some reason the buttons aren't working at all. So could anyone please help me resolve this simple issue? It would be GREATLY appreciated!

Attached in my scrolling menu (digital_menu.fla)
and the external movie (burning_man.fla) I'm trying to load via actionscript

So please take a look at my menu, and you will see I have tried to add a script to one of the menu items named "burning_man". What I want it to do is basically when this image is clicked while scrolling, it will load the "burning_man.fla" movie into the current movie.

Thanks for your help!

Continuous Scrolling?
OK, I've got the horizontal scrolling thing down. But how can I make the list continuous?

Right now, it scrolls to the end of the list and then it's just blank. Is there away for the list to show the first word directly after the last word and so forth?

Her's what I mean:

Example

Continuous Scrolling
I'm wondering if anyone can help me with this.

I want this scroller to work so that when you press on one of the button, it will keep scrolling until you let up on the mouse.

Also if you could figure out a way to stop the content when it reaches the end it would be helpful.

Continuous Scrolling
Hi,

I have a background to a game that i want to keep looping. I have a function that applies acceleration and friction depending on if the cursor is in front of or behind the main character (if its in front the background looping movie clip will accelerate, if behind, it will slow down). Because of this i need to make the background movie clip loop using action script and not motion tweening.

Anyone know how to do this, or any other suggestions??

Many Thanks

...

Continuous Scrolling..again...
Hi,

I need to have a movie clip loop in the background but need to have it so that it is smooth and seemlessly endless. Anyone know how to do this? I need to do it with script rather than motion tween because i want to be able to control the speed of it. Anyone got any ideas?

Thanks nathan99 for your help so far. The loop is good except that i cant get it to seem smooth. Once the loop has finished it jumps back to the start of the loop. Anyother ideas?

Cheers...

Continuous Scrolling
I've got a line of 5 images which I'm scrolling through a mask without a problem. However, I'm wondering what the best way of making the images appear as if they are in a continuous loop is.

In other words, when the last image becomes visable, I want the first image to appear immediately after it again. Letting the time line simply loop won't achieve this as it means the strip jumps when the head recaches the end of the timeline.

Has anyone got any ideas?

Please Help Continuous Scrolling W/ Mouse
I have figured out how to get my graphic to scroll with my mouse.

what i'm trying to do is have a series of graphics that move to the left or the right with the mouse but also will continuously loop if the mouse stays to the right or left for an extended period of time.. does that make sense

i'd also like to add a bit of a delay for the action

any help would be great

Continuous Scrolling Image
I am trying to do a specific effect in Flash 4 (which will later be used in Flash 5). I have a list of about 50 names that I want to move from top to bottom of a flash presentation. I want the names to keep scrolling so it looks like there are a limitless amount of names using only those 50. I don't want the effect to skip or look choppy, but smooth and seamless. Can someone send me an easy tutorial on this for Flash 4? I'm not a programmer so dumb it down for me!

Many Thanks!
mak_bob@yahoo.com

Continuous Image Scrolling
msaleh,
thanx for the reply...u guessed it right...i,m looking 4 the 2nd option i.e. the image should scroll continuously as in the browser
neel

Continuous Scrolling Text
I would like to create a vertical news box that scrolls continuously without having to click or scroll anything. Also, I would like the text to come from an imported text file. I've be researching this for months now without any luck. Can somebody help me ? I'm using Flash 5 and know basic stuff.

Thank you for your time !

RE: Continuous Scrolling In Flash MX
Anyone,

What is the actionscript code for continous scrolling on dynamic text in Flash MX? And is this code added to the button actions (probably) Please be specific as to where the code is placed.

Still learning,
A.

Continuous Scrolling Backround
Hi all,

I've got a picture that i have put in a movie and masked off so that only a section of it can be seen as it scroll's across.

The picture is edited so that each end is the same. But what i want to do is get the picture to scroll continuously so it looks like there is no seem.

Hope this makes sense.

Thanks for any help,

Tom

Continuous Scrolling Screens
Hi all,

I'm trying to create a continuous scrolling background which is build up from several attached movieclips.

It is a well-known effect(like old-skool barneys), but I want it to loop.

I've drawn a schema to better explain this:
schema


fig.1:
I have 2 movieclips(containers), and in those 2 movieclips I have attached several images(3 in this example).

fig.2:
I have pressed a button and now the containers have smoothly moved to the right, so the screen number 3 from the first container is visible.

fig.3:
I have pressed the same button again and now the first container is on screen 2. I now want the second container to instantly move to the left of the other container, so I can scroll continuously.


This looks really simple to me
However, I'm stumped. I'm using a global var to set the _x of one the clips, then moving the other together with the first one. This works fine until I have to swap positions. Then I can no longer use the global var.

I want to be able to navigate to the left and right, but I also want to be able to say: _global.xpos = 5500, and then the system should scroll until the correct screen is visible.

I can make a barneys-like scroller with ease, but getting it to loop is quite hard for me.

Any tips?
Source and swf here

Continuous Smooth Scrolling
Hi.
Can anybody tell me what should i do in order to get continuous scrolling of text on button rollover? I currently use the

on (press, keyPress "<Up>") {
text.scroll -= 1;
}

way but i don't like it so much

Continuous Scrolling Text
Hello there,

Im new to Flash and still learning the ropes. All my previous web experience has been with using PhotoShop and Dreamweaver MX (include asp). I'v just about completed my first project created using Flash (which has taken a while), but I have a question regarding scrolling text. I have inserted a textarea and buttons onto the stage and have got the scrolling text working, but it only works in increments of 1. And the user need to click the button every time they need to scroll down. Alternativly I have used the rollover property to scroll text down, but you need to move the mouse over then out and over again to keep scrolling.

on (rollOver) {
hometxt.scroll +=1;
}

What I want to do is when the rollover activates the text keeps scrolling until mouseout event. Anyone able to understand what I'm on about and got any ideas.
Many Thanks
Regards
James

Continuous Scrolling Script
using:
Flash MX 2004
Mac OS X 10.2.8

I've searched the forum and all the threads, but can't seem to find what I need on continuous scrolling using the mouse.

My code is simple, and works for scrolling with the Up and Down buttons, and with the mouse one line at a time. I can't help but think that it's as simple as replacing the scroll+=1 with either ="down" or another + or numeric value.

The code:


Code:
on (press) {
visionInstance.scroll+=1
}

on (keyPress "<Down>") {
visionInstance.scroll+=1
}

Continuous Scrolling With Actionscript
Hi,

I want to have a movie clip looping in the background of a game but i dont want to do it using motion tween (i have an acceleration function in the script that will determine the speed of the scrolling background movie clip). Does anyone know how to loop a movie clip using actionscript?

Anyone??

Cheers....

Scrolling Menu - Continuous
Hi

I have a scrolling menu that I'd like to adapt so it continuously scrolls - so once either end of the image panel is reached, the other end automatically appears.

You can see the menu on the 'work' page of www.dirksmith.com

Any ideas how I can adapt the existing script (below) to achieve this?

Thanx

Dirk





Code:
_root.panel.onRollOver = panelOver;

function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}

var b = stroke.getBounds(_root);

function scrollPanel() {
if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}

if(panel._x >= 644) {
panel._x = 644;
}

if(panel._x <= 250) {
panel._x = 250;
}

var xdist = _xmouse -710;

panel._x += Math.round(-xdist / 9);
}

Continuous Scrolling Text
Ok I have my dynamic text set to scrollable. And it scrolls just fine. I have an up button and a down button. BUT.... The only way I have found to code it is

Down: on(press) {this.maintext.scroll +=1
Up: on(press) {this.maintext.scroll -=1

Therefore upon pressing either arrow you only get one line movement at a time. I would like for it to scroll until someone releases the button. I can't find out an easy way to do this. HELP!!!!!

Continuous Scrolling With Buttons
I've created scrolling text that is moved with a up button and down button but to scroll you have to continuously click the mouse to move the text line by line...how do I change the buttons to continuously scroll my text when held?? This is the script i placed on the buttons:
on (release) {
this.textup_btn;
}
on (release) {
awardstext.scroll;
}
Thanks so much for any suggestions...I'm almost done with my page!!!

Scrolling Text Continuous?
I created a text field and am using hscroll to make the text scroll like a stock ticker. The scrolling stops after it reaches the end of the text. Does anyone know how to make this scrolling continuous or looping? is there an event that I can listen for when the scrolling stops? I haven't seen much documentation around the text scroller or

Continuous Scrolling Images?
hello,
I know this may be an easy question, but I need to figure out how to make a continous scrolling image bar as seen at http://www.columbiarecords.com/eightcrazynights/ (very top) I've tried doing it off the top of my head, and taking some tutorials, but no real help.

Anyone?

How To Achieve Continuous Scrolling
Hello,

I am a beginner in flash. I had been trying to achieve a continuous scrolling effect- without any brake in the motion. In spite of my sincere trials I am not getting the desired effect. Below is a URL for you reference.

http://activate.ru/
Once swf loads you will need to go to “art” option to view this effect.

Or else you can also try out this link
http://www.ontheborder.com/index_flash.html
Problem with this example – clicking on the picture does not take you anywhere. Where as I am looking for a tutorial which teaches me how to achieve this scrolling effect as well as clicking the clicking part. I am using Flash 5 at present.

Please help me.

Continuous Image Scrolling -- Help
Hello. I'm trying to do the continuously scrolling image thing in Flash MX. The nice thing is it works, the not happy thing is it stalls until mouse over movement. Is there a difference in the coding or something when you switch to MX?

Continuous Scrolling Clouds. Please Help
Hello all. I'm new here so you may have to forgive me. Anyway, I'm in the middle of building my new site and I am trying to create continuous scrolling clouds in my header piece. I know how to create the movement, but how do I keep it from appearing outside the frame of my header? You can look at my site at www.pearsonportfolio.com. From here you can get a better idea of what I'm talking about. In the sky image, I want to have continuous scrolling clouds on top of it, but I don't want them to appear outside the frame of the screen looking piece. Any ideas? Thanks,

Jesse
jpearson311@hotmail.com

Scrolling Menu - Continuous
Hi

I have a scrolling menu that I'd like to adapt so it continuously scrolls - so once either end of the image panel is reached, the other end automatically appears.

You can see the menu on the 'work' page of www.dirksmith.com

Any ideas how I can adapt the existing script (below) to achieve this?

Thanx

Dirk





Code:
_root.panel.onRollOver = panelOver;

function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}

var b = stroke.getBounds(_root);

function scrollPanel() {
if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}

if(panel._x >= 644) {
panel._x = 644;
}

if(panel._x <= 250) {
panel._x = 250;
}

var xdist = _xmouse -710;

panel._x += Math.round(-xdist / 9);
}

Continuous Image Scrolling
Hi
I am tying to make something like this:
http://www.scriptsearch.com/cgi-bin/jump.cgi?ID=687

Well, i have ten images i want to animate them from left to right - and when clicked on a image it should open a browser win with proper info. - is it possible to use images and links as external xml file?

is there some tutorial for this. please help.
Thanks
Krs

Continuous Scrolling Variables?...can Someone Tell Me How?
I have a text box that scrolls text up or down when I press the buttons to do so. In the Up button I have:

on (release) {
scrollabletext.scroll = scrollabletext.scroll-1;
}

So when people click the button it scrolls. BUT I WANT IT TO BE WHEN THE MOUSE ROLLS OVER THE BUTTON, IT CONTINUOUSLY SCROLLS AUTOMATICALLY.

Is there a variable like "release" that will allow me to continuously scroll?

Thanks so much!!!!!!
vv

How To Achieve Continuous Scrolling
Hello,

I am a beginner in flash. I had been trying to achieve a continuous scrolling effect- without any brake in the motion. In spite of my sincere trials I am not getting the desired effect. Below is a URL for you reference.

http://activate.ru/
Once swf loads you will need to go to “art” option to view this effect.

Or else you can also try out this link
http://www.ontheborder.com/index_flash.html
Problem with this example – clicking on the picture does not take you anywhere. Where as I am looking for a tutorial which teaches me how to achieve this scrolling effect as well as clicking the clicking part. I am using Flash 5 at present.

Please help me.

Continuous Scrolling Clouds. Please Help
Hello all. I'm new here so you may have to forgive me. Anyway, I'm in the middle of building my new site and I am trying to create continuous scrolling clouds in my header piece. I know how to create the movement, but how do I keep it from appearing outside the frame of my header? You can look at my site at www.pearsonportfolio.com. From here you can get a better idea of what I'm talking about. In the sky image, I want to have continuous scrolling clouds on top of it, but I don't want them to appear outside the frame of the screen looking piece. Any ideas? Thanks,

Jesse
jpearson311@hotmail.com

Continuous Image Scrolling
Hey Guys,
I am pretty new to flash and this is my first attempt to make an image scroller for a jewerly client of mine. I set it up so it loads the images and text from an XML and attaches them to a movie clip. I have the arrows set to stop scrolling if it reaches one end or the other. However, my client asked that I make it a continuous loop of images. I have a rough idea of how to do this but the code just isnt coming to me. Anyone have ideas?

The main code is below, if you need me to upload the source files, I will. You can see what I currently have here.


Quote:




myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad=function(ok){
if (ok) {
allGalleryData=this.firstChild.childNodes;
for(i=0;i<allGalleryData.length;i++) {
newPiece = sliderHolder_mc.slider_mc.attachMovie('template','peice'+i,i);
newPiece._x = i * 155;
newPiece._y = 50;
newPiece.title.text = allGalleryData[i].firstChild.firstChild;
newPiece.outline._alpha = 0;
newPiece.title._alpha = 0;
//newPiece.desc_txt.text = allGalleryData[i].firstChild.nextSibling.firstChild;
newPiece.imageName = allGalleryData[i].firstChild.nextSibling.nextSibling.firstChild;
newPiece.thumb.loadMovie('thumbs/'+newPiece.imageName);
newPiece.thumb._xscale = 50;
newPiece.thumb._yscale = 50;
newPiece.load_btn.onRelease=function(){
bigImage_mc.loadMovie('images/'+this.imageName);
}
zoomSpeed = 10;
newPiece.onEnterFrame = function(){
if (this.hitTest(_root._xmouse, _root._ymouse, true)){
if (this._xscale < 200){
this._xscale += zoomSpeed;
this._yscale += zoomSpeed;
this._x-=5;
this._y-=13;
this.outline._alpha += 20;
this.title._alpha += 20;
}
} else {
if (this._xscale > 100){
this._xscale -= zoomSpeed;
this._yscale -= zoomSpeed;
this._y+=13;
this._x+=5;
this.outline._alpha -= 20;
this.title._alpha -= 20;
}
}
}
}
slideLength = allGalleryData.length * 155;
right.onEnterFrame = function (){
if (this.hitTest(_root._xmouse, _root._ymouse, true) && sliderHolder_mc.slider_mc._x < 100){
targX += 30;
}
}
left.onEnterFrame = function (){
if (this.hitTest(_root._xmouse, _root._ymouse, true) && sliderHolder_mc.slider_mc._x > (-1*slideLength)+650){
targX -= 30;
}
}
speed = 15;
targX = 0;
sliderHolder_mc.slider_mc.onEnterFrame = function(){
this._x -= (this._x - targX) / 5;
}
} else {
trace('what file?');
}
}
myXML.load('gallery1.xml');

Continuous Scrolling Background
hi I was just wondering, I can't seem to figure out how to accomplish a continuous scrolling background....I've seen a variety of tutorials, including Craig flash, but I still cant figure out how to do it, especially with diagonal lines. I guess what I'm trying to ask is, other peoples methods and steps on how do make a continuous scrolling background. thank you.

Continuous Scrolling Text
How do you create a continuous vertical scrolling text without having to click or scroll anything.  And, is it possible to have an imported text file instead of a tween?

Thanks a bunch !

Continuous Scrolling Image
so i've been working on this scrolling image in flash, but there have been 2 problems. first, the slide kind of moves a little to the right and it's visible and the other is that towards the end, it moves realy fast and then closes. The image is of clouds. The middle of the animation is the only part that looks cool. HELP!

Continuous Scrolling Menu Help
Hey all,

We've all seen a continuous scrolling menu, but I'm wanting to make one with some slightly varying elements. I need a series of movie clips to continuosly rotate and increase/decreas in scale simulating a perspective on the whole thing. Here's an example http://www.pepsi.com/home.php

My question isn't give me the code, but rather how to approach the structure/functionality of the code. I see 2 options....

1. Build the clips and fake it all using som tweening.

2. move the mc's via actionscript and contunualy grab the x/y values and change the scale & direction of the objects depending on their position.

Will both of these methods work, and am I missing anything?

Continuous Scrolling Problem / Levels
Hi,

I have a continuous scroll working perfectly in .swf2. The problem I am having is that when I load .swf2 into level 1 of .swf1, the continuous scroll doesn't work anymore.
I have added _level0. & _level1. to the actions, but it hasn't helped.

Does anyone know what I'm doing wrong or can help me to find the answer, it is the last step I need to complete my project.

I can post the script if it would help anyone too.

Thanks

Continuous Scrolling Clip/text Box
I have a movie clip in my movie that is just filled basically with links because I don't have enough room for them otherwise. I am using buttons to scroll the movie clip, but you have to continuously be clicking the button for the movie clip to move. I tried using a loop but I knew before I tried that it wouldn't work. How can I make it so that you only have to click the button once and it scrolls until you release?

This is the code I'm using:

on (press) {
if (currentclip._y<135) {
currentclip._y = currentclip._y+5;
}
}

I am also trying to do the same thing with a text box (I couldn't make it a movie clip because the box is filled with a loaded variable). The code for that is:

on (press) {
textbox.scroll++;
}

Any help would be greatly appreciated, thanks! It's due tomorrow.

Cheese

Stopping A Continuous Scrolling Movieclip
Greetings all.

I have a horizontal continuous scrolling movieclip with 6 buttons placed in it (the scrolling is done through tweening and not actionscripting). Upon a button rollover, I want the movieclip to pause/stop. Upon rollout, I want the scrolling to start again.

I'm obviously having a hard time with this. Any suggestions would be greatly appreciated.

Thanks in advance!

(using FlashMX)

Continuous Scrolling Text...loop
Hello everyone, I am trying to put together a movie where i will have a list of about 400 names that will continuously scroll, but need it to keep looping. i could just type in all the names and let the movie just keep going back to the beginning, but the thing I dont want is a gap from when it gets to the last name back to the first one. i want the first one to start as the last one is about to go off the screen. i have found this tutorial

http://www.flashkit.com/movies/Effec...9457/index.php

but for some reason i cant open it with my MAC. Also this one is with loaded text. The thing i will have to do with this movie is export it as a quicktime movie. Is this possible with loaded text?

I would really appreciate all the help I can get with this.

thank you

Continuous Horizontal Scrolling Text
...just like stock reports on the bottom of a news broadcast. Does anyone have a link to some information or can provide some script.
thank you

Continuous Scrolling Text Box Problem
I'm still pretty new to actionscript, so I'd really appreciate it if somebody could cast an eye ove rthis script and tell me why I'm having problems.

This is script to continuously scroll a text box. When I publish the swf, it seems to work fine on the "scrollUp" button, but no joy on the "scrollDown" button.

[F8] Continuous Horizontal Scrolling Images
Hey guys ... hope somebody can point me in the right direction ...

I no "basic" AS, but I do know my way around Flash 8.

I need to create a Continuous Horizontal Image Scroller ... I have found many tutorials that have some but not all of the elements I need. The problem with that is they all seem to use different methods so when I try to piece things together I run into a lot of problems.

The elements I need follow:

- Continuous Scrolling (not jerky)
- Change scroll direction with mouse movement.
- When the mouse goes over an image the scrolling stops and image increases in size.

I have attatched the .fla I am working with so you can see the elements (actually it is an abbreviated version so I could attatch it). I have also attatched a .fla that I purchased (zip file) ... however, it is a little advanced and I am having trouble customizing it. So if someone can give me some examples with the one I purchased or point me in the right direction with original code I would greatly appreciate it.

If you have more questions please post them up ... thanks for any help.

Scott

Continuous Text Scrolling - Using No Buttons
Hi - I've found a number of scrolling tutorials although they all seem to use buttons or a trigger to scroll...

I'm looking to create an easily updateable (through text file) vertical scrolling list although rather than use a button or slider to scroll down, I would like to have this continuously scrolling - it will be used on a projector to project call stats so that they are produced as a continuous list/loop. Can anyone point me in the direction of a simple tutorial that will help me work my way through this?

NB: I've tried this with a movie clip in repetition although I always get a large 'gap' where it reloads from top to bottom so i'm guessing actionscript is the way forward. I'm using Flash 8.

Your help would be appreciated! -- The simpler the better!

Continuous Text Scrolling Using No Buttons
Hi - I would like to create a continuous/repeating vertical scroll and I'm not sure how to go about this -- should i create it as a movie clip? (I don't want it to be triggered by anything as in a lot of the tutorials I have found but simply running on it's own on the stage) Ideally I would also like to add images next to the text as well.

I'm intending to use this to project call stats so they are produced as a loop - if you could point me in a direction i would really appreciate it.

Thanks

Continuous Scrolling Inside Textfield
down_btn.onPress = function() {
textField_txt.scroll += 1;
};

I'm using this to scroll a textField but it means continuously clicking... Does anyone know a workaround for this so that it continuously scrolls while the button is pressed?

Thanks

Continuous Scrolling Mc Placement Weirdness
hello all,

I'm building a scroller that scrolls up or down. I have an mc with 10 mc's inside it. each mc fires a interval that counts to 5 then scrolls up or down depending on where it's current location( if(theMc._y <= centerLocation)go up till it is equal to the center location etc. ). I've tried this a few ways and each one of them have a spacing issue. the mc's will sometimes over lap or get to far spaced out. here is the code from onw of my attempts:


(i took out the excess code)



Code:

mMenuHolder_mc.mc1.onEnterFrame = function(){
if(myRollerVar == 1){
this._y -= pixels;
if(this._y <= 0){
//Going this direction goes perfectly,
//Spacing stays correct
this._y = lastClip._y + lastClip._height + 1;
lastClip = this;
}
}

///other direction
if(myRollerVar == 2){
this._y += pixels;
if(this._y >= 300){
//nomatter what i try out here, Iget a weird
//jump on the mc's
this._y = 0;
lastClip = this;
}
}
}

More than likely I am probably just missing some conditional logic on the second half. Any Ideas? or maybe a better solution?


Thanks,
EP

Continuous Scrolling Text Loop
Hi

I got this script from someone on www.yayhooray.com but for some reason my browser on the comp i'm using make Yay unreadable, so i'm hoping you guys can help...

I have a list of buttons on a continuous loop using the following script:

mask_mc.duplicateMovieClip("area_mc", 3);
area_mc._alpha = 0;
scrolling_mc.setMask("mask_mc");
//
area_mc.onMouseMove = function() {
// Check for mouse being over the area movieclip
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
over = true;
} else {
over = false;
}
};
area_mc.onEnterFrame = function() {
// if the mouse isnt over, do the scrolling
if (!over) {
if (scrolling_mc._y<0) {
scrolling_mc._y = 670;
}
scrolling_mc._y -= 3;
}
};

The problem is that i need to add more to the list, but when I do, the loop starts jumping and loses the smooth scroll. Can anyone explain how to work out the Y coords for this part? "scrolling_mc._y = 670;"

Thanks in advance!

Copyright © 2005-08 www.BigResource.com, All rights reserved