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








Scrolling Through Text With Mouse Wheels


Is there a way to allow a text field to be scolled by using your mouse wheel?
Thanks.




FlashKit > Flash Help > Flash MX
Posted on: 12-06-2002, 01:17 PM


View Complete Forum Thread with Replies

Sponsored Links:

Automatic Scrolling On Mouse Over For Text Scrolling
hi all, ive made a scrolling text box with an up and down button as listed in the tutorials. i know how to make it move 1,2,3,etc lines at a time when the mouse is over but what code/variable do i need to replace the number with to make the text scroll continously as long as the mouse is over it?

thanks
bast

View Replies !    View Related
Scrolling Text With Mouse Movement
can someone tell me or lead me to a link on how to construct a scrolling system that doesn't use a bar or buttons, but is controlled by the mouse moving up or down?


thanks

View Replies !    View Related
Actionscript For Scrolling Mouse In Text Box
I have a content area that has scroll back that work if you click on it and drag, I forgot though how to make it so the user can use their scroll wheel inside the text field. Help please..

View Replies !    View Related
Text Scrolling & Mouse Button
Hi, can anyone tell me how to change my text scrolling buttons so the text scrolls when the button is held down, currently I can only get it to scroll down one click at a time.


The code Ive got for the scrolling buttons is:

Up Button

on (press) {
this.news_txt.scroll -= 1;
}

Down Button


on (press) {
this.news_txt.scroll += 1;
}


Is it surely possible to add some additional actionscript to this to get the text to scroll when the mouse button is held down?

Thanks

Lyle

View Replies !    View Related
Scrolling Text With Mouse Issues
Hi- new to the forum/flash and having problems with a custom scroll bar.

Website: click on Why Choose Us (it takes a second to load)

I would like the mouse on a PC to scroll the text the same way as the scrollball does when you click it and drag up and down on the scrollbar. Right now the text and scrollball move in the right direction when you mouse scroll but they do not stop and they do not move at the right speed to each other.

Any ideas? It's driving me nuts so any help is appreciated.

The text is not dynamic and just has a mask over it.



Code:
var scrollUpper:Number = 148.5;
var scrollLower:Number = 352.4;

var textLower:Number = 148;
var textUpper:Number = -129;

var scrollRange:Number = scrollLower-scrollUpper;
var textRange:Number = textLower-textUpper;

function scroll() {
var moved:Number = scrollball._y-scrollUpper;
var pctMoved:Number = moved/scrollRange;
var textMove:Number = pctMoved*textRange;
aucontent._y = textLower-textMove;
}

scrollball.onPress = function() {
this.startDrag(false, this._x, scrollUpper, this._x, scrollLower);
this.onMouseMove = scroll;
};
scrollball.onRelease = scrollball.onReleaseOutside=function () {
this.stopDrag();
this.onMouseMove = null; z
}


Mouse.addListener(mouseListener);
var mouseListener:Object = new Object();
mouseListener.onMouseWheel = function(delta) {
aucontent._y += delta;
}
Mouse.addListener(mouseListener);

Mouse.addListener(mouseListener);
var mouseListener:Object = new Object();
mouseListener.onMouseWheel = function(delta) {
scrollball._y -= delta;
}
Mouse.addListener(mouseListener);
Thanks!!

View Replies !    View Related
Scrolling Text With Mouse Movement
can someone tell me or lead me to a link on how to construct a scrolling system that doesn't use a bar or buttons, but is controlled by the mouse moving up or down?


thanks

View Replies !    View Related
Scrolling Text By Using The Mouse Scroll
Hi,
I have scrolling text on my website, it scrolls if you hold your mouse on the UIScroller, but I want to be able to scroll my text just by clicking on the text field and using my mouse scroll. The problem is that I am new to Flash and to Actionscript. If somebody can help me will be great.
P.S.You can look what I am talking about on the following address:
http://oneplusone.missouristate.edu/home.htm
under "the project"

View Replies !    View Related
Scrolling Text With Mouse Movement
can someone tell me or lead me to a link on how to construct a scrolling system that doesn't use a bar or buttons, but is controlled by the mouse moving up or down?


thanks

View Replies !    View Related
Scrolling Text With A Mouse Scroll Wheel
Is it possible to scroll text in Flash with a mouse scroll wheel? If you don't know what I'm talking about, this is the wheel between the two mouse buttons found on PCs.

If you've done this, please give me some direction. How is it done? Is there an FLA somewhere? Etc.

Thanks in advance.

-scott
http://scottmanning.com

View Replies !    View Related
Scrolling Text Fields - By Mouse Wheel
I have several scrollable movieclips (text columns). Currently they are only scrollable by button or bar. I would like to convert them to mouse wheel scrollability in addition to my scroll buttons/bar.

I'm thinking I need to actually convert them to text fields 1st then apply a mouseover AS. Am I close? Can anyone furnish an axample AS for wheel scrolling?

Thanks, I'd be forever greatfull.

View Replies !    View Related
Spinning Wheels
I have a movie I am creating with a vehicle and I just want the wheels to spin till they come to a stop slowly.I am trying to figure out what steps to take to do this....thanks

View Replies !    View Related
Rotating Wheels
Hey,

I drew this picture in flash and now i want to know what the best way of rotating the wheels would be.

Its all draw on the same layer and the wheels are not seperate symbols at the moment. Would it be best just to cut the wheels out and draw in the hidden parts (parts that are covered by the exhaust etc) and use them like that?

thanks

edit/ forgot to include the picture lol, here it is...

http://img13.exs.cx/my.php?loc=img13&image=test.swf

View Replies !    View Related
Spinning Wheels
I have a banner, and on this banner there are three wheels which spin continuously by way of motion tweens.

What I want to do is have them stop spinning for a few seconds and then continue spinning, this process will be repeated every time.

So my question is: How would I accomplish this?

I know I could just add a bunch of frames to stop the wheels from spinning, but I was wondering if there's a script that will do this without having to add frames.

Thanks in advance for any help.

View Replies !    View Related
Wheels SPin?
I just made a car in Flashmx, actually in illustrator and then I imported it as an swf frame in flash. NOw im trying to make it seem like the wheels are moving. The LEft and right wheel are on a seperate layer. I was able to make the wheels seem like they were spinning on a motion tween from a rotation. But that was only when it stood still. Now im trying to make the whole entire car seem like its moving. I tried to change the postion of the wheel at each keyframe. It was good until i saw that the wheel stop spinning. How come? I even tried to make the wheel into a movie symbol and making it spin in the movie and have the wheels move out side of the movie clip (wheels).

Does anybody know how to resolve this?

View Replies !    View Related
Spinning Wheels
I have a banner, and on this banner there are three wheels which spin continuously by way of motion tweens.

What I want to do is have them stop spinning for a few seconds and then continue spinning, this process will be repeated every time.

So my question is: How would I accomplish this?

I know I could just add a bunch of frames to stop the wheels from spinning, but I was wondering if there's a script that will do this without having to add frames.

Thanks in advance for any help.

View Replies !    View Related
Preloader Hell On Wheels
hi flashers

i have a problem but i'm not sure how dificult it is as i thought i understood preloaders. okay. i have a master swf that has a preloader at the beginning that preloads this swf perfectly... but what it doesn't do istake into account an swf that i pull into this main swf... i can't have a preloader on the external as the transition between the two is supposed to be seemless... is there a way that the main preloader at the beginning of my main swf can take into account the size of the external swf aswell?

hope that this explains my situation.. . any ideas of example would be great

tasvnoooo

View Replies !    View Related
Wheels Running Over An Irregular Shape.
Hi Flash Geniuses!


I wish somebody could help me with my problem regarding a Wheel MC that runs over an irregularly shaped surface. Controlling Wheel MC to run in a smooth, horizaontal surface is very easy because its surface is fixed. But how about controlling an MC to roll over an irregularly shaped MC (Example, a slope). Is there an easy method doing it? Or I must look back at my Maths and work with a very deep programming? I hope somebody out there could help me with this. Thanks!


Chris Lionheart

View Replies !    View Related
How Do I Create?: Scrolling Image Stops On Mouse Over-starts On Mouse Off
I’m trying to create this animation:

I have an long rectangular image (with more images going across it) scrolling FROM the right side of the screen to the left (very slowly). similar to a ticker.

I want the scrolling to stop when the viewer mouses over the menu strip. If they press on the image that they have just moused over, I have a movie clip I want to play for that image (a few images pop up, one bigger than the other). When the viewer mouses off, the movie clip disappears, and the menu continues scrolling to the left, from the right.

Greatly appreciated!!

View Replies !    View Related
"Vertical Scrolling Text Effect On Mouse Over"
Hi all
Does anyone tell me where could I find the tutorial on "Vertical scrolling text effect on mouse over" in Flash 4.
Thanks
Sanjay

View Replies !    View Related
Scrolling Text Field That Stays Scrolling On Rollover
on (rollOver) {
mytext.scroll--;
mytext.maxscroll = x;
}

Here is my code, you have to keep clicking the button to scroll the text field, how do I code it to just have the mouse rollover the button and the text field will continue to scroll automatically? Thanks.....

View Replies !    View Related
Fancy Scrolling, Need That Slidy Scrolling Effect For Text
Can anyone point me to a tutorial where the textbox speeds up and slows down the scrolling when u hit the arrows...kinda like www.jossstone.co.uk

View Replies !    View Related
Using Flash Scrolling Text Box To Create Scrolling Schedule
Hi All,

For work, I'm creating a PowerPoint presentation which needs to include a really long schedule. I wanted this schedule to crawl up the screen. I thought of doing this part in Flash and inserting it into the PPT. Has anyone had luck with this sort of thing using PPT and Flash? Is there a better strategy. I have CS3 Web and Production and will be doing this portion of the project this weekend and thought I'd ask some pros. Is there another CS3 product that might be better. I am more Familiar with After Effects but haven't used it for anything quite like this before.


Thanks!

View Replies !    View Related
Scrolling MC With Mouse Over
Hello -

I am trying to make a Movie Clip (MC) move when the user activates one of four buttons (up/down left/right). I need the user to Mouse Over a button to activate a smooth scroll... Let's say the MC should move 40px every 20 miliseconds in the correct direction.

I am having a terible time figuring out a Loop that will Start on mouse over and stop on the mouse out.

Any bright ideas?

Thanks so much!

-A.J. Greenlee

View Replies !    View Related
Mouse Scrolling
I was curious if it is possible to scroll a text box made in a flash movie with the wheels on your mouse. The thing is, I am creating a flash presentation that will not be used on the web. It would be nicer for the customer to be able to scoll the text box I have with their mouse, rather than push on the little arrow. Any ideas? THanks.

View Replies !    View Related
Scrolling With Your Mouse
in MX,

can you scroll a scrollbar using your 'scroll wheel' on your mouse?

View Replies !    View Related
Mouse Scrolling HELP
I have been trying to get a tutorial that explains how to make the ever popular "mouse scroller" you know, the one that the pictures move fast/slow according to your mouse location. Well, I have 4 tutorial, all different, and no help. Is there any one out there that can simplify this for me? I am looking for a horizontal scroller.

View Replies !    View Related
Mouse-over Scrolling
Hello There

I was wondering if anyone could help me achieve something like this:

http://www.rob-dougan.com/

under the "photography" section.

I want to have this kind of navigation for my site. I found a simular tutorial about this but it doesn't work quite the same way.

If anyone could shed some light, that would be fantastic.

Thanks

View Replies !    View Related
Scrolling Using A Mouse
Hi,

I’ve looked around the net and cant seem to find any help on this, so I wondered if you guys and gals would be so kind!

I am trying to create a map that a user can scroll around using there mouse, e.g. the use puts mouse to the top of the "visible" map and the map moves up etc.

The map is bigger than the frame and i only want a portion of it visible at any one time. I think this is done using a mask, but i have no idea how to use a mask!!

Hope that’s enough detail,

Look forward to your replies and thanks!

View Replies !    View Related
Scrolling Upon Mouse Over
This is probably pretty simple but I have very limited experience with Flash.

What I need to do is this:

I have an image, on either side of the image will be a button. To scroll the image to the left you mouse over the left button. To scroll to the right you mouse over the right button. When you aren't mousing over either button the image is stationary.

I also need to mask the image so only a certain portion of the image is viewable.

I was digging around in the tutorials but couldn't find anything that meets exactly what I'm trying to do.... anyone have a tutorial or a detailed explanation for an inexperienced user?

View Replies !    View Related
Mouse Scrolling Help
Hello,

in the attached file I've got a working scrollbar with ease.
The dragger is working fine and the up/down buttons as well.

Now my client wants me to add Mouse scrolling to the scrollbar
and he wants the ease to remain and off course that the dragger to be
synchronized with the main content.

Any help will be great.
I'm quit stuck with it.

Regards.
Elad

View Replies !    View Related
Scrolling With Mouse
hi, i have this code:

onClipEvent (enterFrame) {
if (this._x<=40 and this._x>=-800) {
_root.yChange = Math.round(_root._ymouse-this._y);
// Calculates the distance between the movie clip and the mouse
_root.xChange = Math.round(_root._xmouse-365);
// Calculates the distance between the movie clip and the mouse
_root.yMove = Math.round(_root.yChange/20);
// Determines the amount the movie clip should move toward the mouse, grows larger the further the mouse gets from the MC
_root.xMove = Math.round(_root.xChange/20);
// See above
this._x -= _root.xMove;
}
if (this._x>=40) {
this._x = 30;
}
if (this._x<=-800) {
this._x = -780;
}
}

at the moment, the movie clip moves so it reveals more in that direction and when it gets to a certain point it stops and moves the movieclip back inside the boundaries.
the problem is that as it comes to the ends/boundaries it flickers (once it is placed back inside the boundary it starts scrolling again and then keeps jumping back again)

how can i stop this?
is there a better way to script this?

thanks

View Replies !    View Related
Scrolling With Mouse
is it possible to create a text field in flash 5, in which, the user scrolls down-up with the mouse?

thanks in advanced!

View Replies !    View Related
Mouse Sensitive Scrolling
Can anyone help me find a tutorial or tell me how this particular scrolling was achieved. I have seen it only a few times and the tutorials on it only describe the basics not the technical. The scrollbar in question is at http://www.subzero.com/ at the very bottom of the page. The scroll bar only responds to a measured amount of movement and then stops. Others I have found keep going... Thanks ahead of time.
-rootae

View Replies !    View Related
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

View Replies !    View Related
Scrolling Mc On Mouse Move
hi,

I want to pan a movie clip on my mouse move. Like when my mous move to the left the mc should move to the right and i want to control the speed of the mc, as when i come to the center it should slow down and stop.

pls help

lamus

View Replies !    View Related
Scrolling With A Mouse Wheel
I have made a scroll bar that works with loaded .txt files. It has the usual arrows and a drag bar but i dont know how to make it work with the wheel on my mouse. Dioes anyone know the input address for the wheel and is it possibble to do this in flash.

View Replies !    View Related
Scrolling With Mouse Wheel?
i dont know if this has been brought up before, but.

is it possible in FlashMX to make the text boxes in Flash scrollable with my mouse wheel? i like my mouse wheel, it makes browsing easier, and i'd like to make scrollable text areas able to use my wheel.

ive looked thru the demo, but i didnt see anything about enabling it. is it possible thru actionscript or javascript maybe? does it use the mouse wheel natively?

any and all feedback is welcome

View Replies !    View Related
Help. Scrolling By Mouse Position
How do I allow a user to scroll through a list, or, for example, a horizontal row of pictures, simply by repositioning the mouse left or right (from the center)?

Thanks in advance.

View Replies !    View Related
Scrolling By Mouse Position
Let's say I have a horizontal image that I want the user to be able to scroll through based on the mouse position.

For example, if the mouse is on the left part of the menu, the mene will scroll left (and vice versa). Many sites have menus like this, including the Macromedia site, so I presume it's fairly basic.

Can anyone tell me how to do this, or at least point me in the right direction? I gather it has something to do with the mouse x/y position on the screen.

Thanks in advance.

View Replies !    View Related
Mouse Wheel And Scrolling
Does the Flash Player detect mouse wheel?

If so, how can I get it to work on Scroll Panes or other components?

View Replies !    View Related
Mouse Scrolling Picture Box
I want to make an effect for a website and i'm quite stumped how to do it. What i want to do is have a picture in a box, and when the user moves the mouse up, it goes up and vise versa for down. I want this to happen all the time however, not just when the user moves the mouse up or down on the picture box.

If anyone could point me in the direction of a tutorial or give me some hints it would be much appreciated! Cheers.

View Replies !    View Related
Scrolling With Mouse Wheel?
can the wheel, found on most mice, be used to scroll(or anything else) in a flash movie? Am i dumb or have i never ever seen the scroll wheel incorporated with a flash movie? I mean, seriously, even macromedia's site could use this, most of you probably agree, no?... so what gives?

View Replies !    View Related
Scrolling Pictures Following Mouse
I need to know how I can have a horizontal scrolling menu with pictures (Links) that scrolls in the direction of the mouse when it mouses over. It should also scroll faster the farther I mouse over in that direction. if you can help it will be grezatlyu appreciated. Thanks

-= Bill =-

View Replies !    View Related
Scrolling When Mouse Pressed Down
http://www.triple5soul.com/site/index.html

If you head here and goto "Define your soul" there is a scroller.

I've copied this but have a small problem. I'm not sure how to make the scroller keep scrolling when the mouse is constantly pressed.

Any ideas people?

thanks

View Replies !    View Related
Scrolling Image With Mouse Over
Hi, does anybody know how to make a movie like this?
http://in.yimg.com/i/in/adv/dot/dotscrollingsky.swf

Thanks for all the help.
Sherly

View Replies !    View Related
Enlarging A Scrolling MC On Mouse Over
I have created a continuous scrolling image bar with several MCs as the pictures. I placed all the MCs in a single frame and used this AS to get them to scroll -

onClipEvent(enterFrame) {// movie clip enterframe event
_x=_x+3;// change position for each enterframe event
if(_x>=270){// condition
_x=-735;// if condition true movie clip jumps to starting position
}
}

What I want to do now is enlarge each MC by 50% when the mouse rolls over each one.

Anyone know how I can do this?

I did create a button in a new layer for each MC so when the mouse rolled over the scrolling image, a larger one appeared covering this smaller image. This did work but when I did this for the image next to it, the image was overlapping the scrolling ones, therefore partly blocking some of it. I tried re-arranging the layers and arranging them to the front or back but this did not work. I have attached what I have done but only done the roll overs on the sunset and fish image next to it, just to show what is happening.

Any help would be appriciated as I need to get this done the weekend.



Thanks

Flash file (need to right click to save!)

View Replies !    View Related
Mouse Activated Scrolling
Hey,
I have a large image that I'd like to keep at full size (772 x 556) but I want to try and set up the flash movie so that only part of it is showing in the window and to see the rest you move your mouse to the direction you wish to go. I've seen this on other sites, where the mouse's location determines the direction and speed of the scrolling. Any help with the actionscript?

View Replies !    View Related
Scrolling Image Using The Mouse
Hiya guys,

I want to scroll an image using the mouse x and y postion but am finding it hard to find a tutorial on this.

I found this fla (attached) which does the kinda thing I want but I dont fully understand the code, which will make moving the image on the stage really hard.

Here's the code from the fla...


PHP Code:




//variable for the image instance path (symbol: reef_graphic, instance: img)
varimg = _root.img

//variable for the background instance path (symbol: background, instance: bgd)
varbgd = _root.bgd

//speed of the mouse scroll (between 0 and 1)
v=0.2

//mouse position in varbgd
mousex = varbgd._xmouse;
mousey = varbgd._ymouse;

//image position in varimg
imgx = getProperty(varimg, _x);
imgy = getProperty(varimg, _y);

//distance fom the center to the left, right, top and bottom side
left = getProperty(varimg,_width) / 2    
right = (getProperty(varimg,_width) / (-2)) + (getProperty(varbgd,_width))
top = getProperty(varimg,_height) / 2    
bottom =  (getProperty(varimg,_height) / (-2)) + (getProperty(varbgd,_height))

//scrolling of the image
setProperty (varimg, _x, (imgx+(mousex*v)));
setProperty (varimg, _y, (imgy+(mousey*v)));

//stop the image on the horizontal side
//left
if  (getProperty(varimg, _x) >= left) {
    if (mousex > 0) {
        mousex = 0
        setProperty(varimg, _x, left); }     
    else if (mousex < 0) {    
        mousex = varbgd._xmouse ;
        setProperty (varimg, _x, (imgx+(mousex*v))); }
}
//right
if (getProperty(varimg, _x) <= right) {
    if (mousex < 0) {
        mousex = 0
        setProperty(varimg, _x, right); }
    else if (mousex > 0) {
        mousex = varbgd._xmouse ;
        setProperty (varimg, _x, (imgx+(mousex*v))); }
}

//stop the image on the vertical side
//top
if (getProperty(varimg, _y) >= top) {
    if (mousey > 0) {
        mousey = 0 ;
        setProperty(varimg, _y, top); }
    else if (mousey < 0) {
        mousey = varbgd._ymouse;
        setProperty(varimg, _y, (imgy+(mousey*v)));}
}
//bottom
if (getProperty(varimg, _y) <= bottom) {
    if (mousey < 0) {
        mousey = 0 ;
        setProperty (varimg, _y , bottom); }
    else if (mousey >10) {
        mousey = varbgd._ymouse;
        setProperty(varimg, _y,(imgy+(mousey*v)));}
}









I thought there must be ab easier way using getBounds but wasn't sure how to implement it.

If you guys have any advice or know of a good tutorial on this kinda thing it would be much appreciated. I dont just want the code I do wanna understand promise.

Cheers

View Replies !    View Related
Scrolling Mouse Over Left To Right
hi,

i'm trying to have a scroll effect from right to left. i can get it going one way but i can't seem to bring it back the other way after a certain point. i'm almost there but i can't figure it out, can someone help me out please???

thanks.

i've attached the fla

View Replies !    View Related
Scrolling Images/MC On Mouse Over
Can any one help me/point me to create a mouse over scrolling feature that scrolls MC btns? I don't want it to scroll off the page. I would like it to initiate only on mouse over the area.

So far I have this actionscript:
sPane.onRollOver= function() {
slider._x = slider._x+(0.25*Stage.width-_xmouse)/60;
};

This one is almost perfect, but it only scroll one pixel and I have to keep moving the mouse in and out of the sPane. If some one can help me to make this scroll continuously, your time will be appreciate it greatly.

Thank you.

P.S. I'm using Flash 8

View Replies !    View Related
Enable Mouse Scrolling
Hi newbie here,

I am trying to find out how to enable mouse wheel scroll for the main html page that my flash file is in. The problem is once the flash file is click to navigate or whatever the mouse wheel scrolling doesn't work anymore.Only when the border is clicked where the html page is (which is a very small area) the mouse wheel scrolls the page again . Does anyone know how to do this? Thanks

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved