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




Text Following Mouse.



Hey Lads (And Ladesses)I want to know if it possible to get this effect --> http://www.lewwy.pwp.blueyonder.co.u...lleyfollow.htmOn a webpage full of content, so it is showing above the content? Thanks for the help in advance !



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 10-11-2004, 01:54 PM


View Complete Forum Thread with Replies

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

I Can Scroll Text & Trace The Mouse Wheel But Not Move The Text With The Mouse Wheel
Can u help me scroll some loaded text with the mouse wheel?

This code is great but I just cant get the mouse wheel to scroll. I have set up the mouse wheel trace but need help from here on please


Code:
scrollmcMaxY = tmask._height-scrollmc._height;
scrollmc.onRollOver = function() {
this.gotoAndPlay("over");
if (this._y>=22 && this._y<=scrollmcMaxY-22) {
this.arrowup._visible = true;
this.arrowdown._visible = true;
} else if (this._y<22) {
this.arrowup._visible = false;
this.arrowdown._visible = true;
} else {
this.arrowup._visible = true;
this.arrowdown._visible = false;
}
// end else if
};
scrollmc.onRollOut = function() {
this.gotoAndPlay("out");
};
scrollmc.onPress = function() {
this.gotoAndPlay("press");
endy = _ymouse-this._y;
this.onMouseMove = function() {
if (_ymouse>=endy && _ymouse<=scrollmcMaxY+endy) {
this._y = _ymouse-endy;
} else if (_ymouse<endy) {
this._y = 0;
} else {
this._y = scrollmcMaxY;
}
// end else if
ratio = (chpTexteHauteur-tmask._height)/scrollmcMaxY;
this.onEnterFrame = function() {
var _loc2 = -this._y*ratio;
chpTexte._y = chpTexte._y+int(_loc2-chpTexte._y)*2.000000E-001;
};
};
};
scrollmc.onRelease = function() {
delete this.onMouseMove;
delete this.onEnterFrame;
};
scrollmc.onReleaseOutside = function() {
this.gotoAndPlay("out");
delete this.onMouseMove;
delete this.onEnterFrame;
};




var mouseListener:Object = new Object();
mouseListener.onMouseWheel = function(wheelNum:Number)
{
if (wheelNum> 0)
{
trace("towards computer");
}
else if (wheelNum< 0)
{
trace("away from computer");
}
}
Mouse.addListener(mouseListener);

Text Following The Mouse
can anyone tell me how i can get text to follow the mouse like on http://www.hec.co.nz ?
any help would be useful

Text Following Mouse?
Hi guys...

Donřt know if this is too newbie, anyway..
My problem is that I want to (in a simple way) make some text
follow my mouse. I'd like to show you an example:

http://www.just-eat.dk/

At just-eat.dk there is a map of denmark, when you move the mouse
over a region at the map it becomes yellow, and the area code appears.
I've already made a map with all the fading stuff, the only thing I can't
figure out how to make is the area code which appears when you have your
mouse over some region.

How do I solve my problem?

Thanks in advance!

Best regards
Marc F

Text Following Mouse.
Hey Lads (And Ladesses)
I want to know if it possible to get this effect --> http://www.lewwy.pwp.blueyonder.co.u...lleyfollow.htm
On a webpage full of content, so it is showing above the content? Thanks for the help in advance !

Text Follows Mouse
Hey, Guys!

I'm trying to create a string following the mouse, but actually not a string, but a text following the mouse, and then I found this:
http://www.a-to-s.co.uk/home.php
click on N and you'll see...
Theres's also one more thing... I need that the last letter in the text always stays at the same position... like if the letter was stuck in the ground for example and then you try to pull it, so all the text will be pulled by the mouse BUT the last letter, can you understand?

would you please help me? I need this for a graduation project
thanks in advance
Mabs

Mouse Trailer - Text ?
Hello,

Anybody knows where to get tutorial or code to create mouse trailer-text (text mask that follows mouse pointer)?

I've been looking for it, and they all seemed hard to understand.


thx alottt...


m4non

Mouse Over Text Formatting
Okay, this'll probably prove my utter newbieness in Flash, but I'll ask it anyway for the sake of getting it out of my head.

I'm using Flash to write an autorun for a custom disc, but one thing I'm trying to do is a change in colour when a mouse goes over the text. It's a simple text field (either stable or dynamic), and I'm trying to set it up that it's initially one colour, then changes to a second once a mouse is put over it. If a third can be done for when it's pressed that would be better, but not necessary.

If a simple component can do it, then that'd be great; the simpler IMO the better. Otherwise, I think a simple bit of coding could do it. Only problem is learning Flash.

Text Mouse Trail Help
Hi I need help with Text Mouse Trail. Please take a look at this first.

http://www.atsukosenno.com/j'adore/admitit.html

When you click on the logo, the text start to follow mouse. I want this text to smoothly move back in the original place when the user click on the buttons in the menu.

I got the script for the text trail in a tutorial, but i'm not good at action script and have no idea how to modify it. Would somebody help me??? I attached Fla file here...

Thanks in advance
Mayo

How: When Mouse Is Down And Dragged Over A Box Text Says
How would I write an action script that does the following:

An item is being dragged over a box and I want some text to pop up and say "Release Button".

Thanks!!

Mouse Pointer Text Box
Does anyone know of any good tut's or movies for adding a small text box next to the mouse pointer for when the mouse moves over an object/button.

cheers

Text Balloons On Mouse Over?
Hi,

can someone teach me how to make a text balloon on a mouse over? I'm not really sure if it's even Flash or Javascripting....I tried it with Flash but it does not look the same.
Here is a link to the site where I saw it:

http://www.fondation-langlois.org/flash/e/stage.php

cheers,

kinodido

Mouse Over Not Working On Text
I made a roll over button, by first creating a rectangle then the text inside of it. When I mouse over the text the rectangle will not change color, but if I mouse over the rectangle on the sides it will work.

How do I get it to work for the whole image including the text? I attached an FLA of what I am talking about.

Thanks

How To Get Text Display On Mouse Over
hi i completely forgot how to make it when your mouse goes over a button, it displays text above it. any one know the coding for this?

EG. i am making a menu and i want it so when my mouse goes over the first button Text appears above it.

Mouse Over On A Dynamic Text Box
Hi,

I want to do a mouse over action on a dynamically created text box.. Is it possible ...

Mouse Text Trailer
PLS. I want a tutorial for mouse text trailer. TKX

Mouse Trailer - Text ?
Hello,

Anybody knows where to get tutorial or code to create mouse trailer-text (text mask that follows mouse pointer)?

I've been looking for it, and they all seemed hard to understand.


thx alottt...


m4non

Mouse Over Text Scroll
Hi,

How can i make my text scroll smoothly when i put my mouse over a button? I once saw a website where the scrolling is curve like this curve -> ) , where you can mouse over the button or clip the scroller, this is what i want to make, does anybody here knows what im talkin about. Thanks

Miguel

Mouse Over Text Effects
How on earth do I create a simple (should be simple, should'nt it...) mouse over effect on some plain text? I'm trying to make some text change font color when I move the mouse over it. Do someone have a simple (I'm a beginner as you might have guessed...) answer for this or maybe a link to some site where this is explained.

Cheers

Mike

Mouse Over Text Zoom
I want to make my lines of text enlarge when a mouse rolls over each line and the nearest adjacent lines to gradually get smaller until the reach the main text block size. If i'm not making much sense the nearest example I can think of would be the way you drag your mouse over the aplications panel in mac osx...the icons enlarge as you roll your mouse over them.

I'd be grateful of any help.
Thankx

Dynamic Text With Mouse Lock
Hello everyone! I am making a links page for my site. What I have is a button for the URL link, and on rollover a description 'locks' to the mouse (like at safeplaces.net).

So for example, when I rollover 'www.flashkit.com' a description locks to the mouse of 'fun for all the family!'.

So I have a dynamic text variable within the mouse- locked movie, but this does not update. I have checked that the global variables work in other places in the movie and they update fine.

any thoughts? thanks guys.

Text That Responds To Mouse Coordinates
Hi,

I saw a technique recently that involved text that went from dim to bright as you approached it with the cursor. Its very cool. I've tried creating it myself, but I havent been able figure it out. Any takers???

Cheers!

jenny

Text Trailing Mouse Effect
Does anyone know the scripting involved to achieve the effect seen in the preloader to:
http://www.dreamshocker.com

The text follows the mouse so fluidly. Thanks for any help!

Mouse Over Moves When Text Is From A .txt File
WHY!!!
this is what i am loading into my button from a .txt(see below)
when ther is no <a href> the mouse over is cool but when i add the <a href> it makes the over state move or not work????

&MN_01btn1= <a href="http://www.someurl.com">. SOUTHERN CALIFORNIA FACILITIES</a>&

Dynamic Text Movement On Mouse Up/down
i'm trying to make a dymanic text field that you can scoll through using key press <up> and <down> but it just scrolls non stop. Is there a way to set restraints to move only one line at a time?

Thanks,
Drop

Scrolling Through Text With Mouse Wheels
Is there a way to allow a text field to be scolled by using your mouse wheel?
Thanks.

Scroll The Text While Mouse Rollover
i am currently trying to make a simple scroll bar and this is my code to control the text:

on (press, release) {
so1.so2.so3._y = so1.so2.so3._y-10;
}

the problem is the user have to click 100000 times to read the whole text if the message is really long.

how should i write it so when mouse rollover the button it scrolls down automatically? (p.s. on (rollover) does not work either i just tried it

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

Scroll Text With Wheel Mouse
Hello Everyone,
I have been playing with flash mx getting to know how everything works, and I created a simple application that loads text from an external file into a scrolling text box. Everything works fine except that I cannot scroll using my wheel on my mouse. Does anyone know how I can get this to work? Thanks
-Jorge Perez

Orbiting Text That Reacts To Mouse
What I'm looking for is an example or tutorial on how to create an orbit of different text fields that react to the mouse on(rollOver) so that which ever text field you put your mouse on, moves to the front of the orbit. My searches only bring up how to orbit individual characters of a word, but I want multiple words orbiting a sphere. I've seen it done before, and I'm pretty sure it was on Flash Kit, if anyone can point me in the right direction, that would be greatly appreciated.

I'll keep trying the forum search which is timing out for me right now.

Thank you in advnace.

Help, Text Morphing While Mouse Over Link.
I know how to morph text..

My questions are:

How do you make the text morph (movie clip) start while the mouse is on a link button? How do you make the movie clip disappear after you have moved your mouse away from the button? And how do you make the last frame of the movie clip stay as long as the mouse is over the button?

What I want to do:
Say I have a button link to one of my pages, lets call this button "games". As I roll over "games" I want the movie clip to appear right beside it that morphs the text "main" to "games". As long as my mouse is over the button, the text "Games" will remain. But if I move my mouse away, it will disappear. If I roll over the button again, repeat movie clip from the beginning.

please help! thanks!

Text On Mouse Rollover Of Button
How do you put a little text bubble next to the mouse when it in on the rollover of a button?

Mouse Over (Text Effect + Sound) ?
Hello, I'm a noob to flash, so go easy.

I already have created text with a different mouse over effect on each letter.

Now, I want to also create a mouse over explosion effect for each of the letters.

Please help me add on a mouse over explosion effect to the letter that already has a mouse over sound effect.

Thanks in advance,
-Mark
www.songs4education.com

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..

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

Movie Follows Mouse With Changing Text
Hi,

after some pointers.. I have an interactive map with a movie that follows the mouse around informing the user which postcode (zip code for those on the other side of the pond) I have the movie following fine, but am having trouble populating the dynamic text box postcode_txt with the postcode.

I have defined a variable pctext but cant seem to put the final parts together


many thanks..
ashley

Flash Scroll With Mouse For Text Box
Hi all

does anyone here have any example code for a mouse scroll?

the example that I am trying to reproduce is

http://www.marsim.com/


"profile" -> "vision" the text box...

does anyone know of an example that teaches or would have the code similar to this?(text box - not the buttons)

Thank heaps

[F8] Mouse Wheel Scroll Text
does anyone know any tutorials on using the mouse wheel to scroll a text block like this.

http://www.animallogic.com/#News,CURRENT%20NEWS

i'm using a mac and this works.

cheers
Rat

Text Index From Mouse Position
Hi there

I would like to create some text effects based on the position of the mouse relative to a textField.

For example, i would like to make the letter in a sentence that the mouse is above larger.

I don't want to make the text selectable and i don't want the user to have to click, so i can't use the Selection.getCaretIndex() method to find the character that the mouse is over.

Is there a way of finding an index into my string based on the hovering mouse position?

Cheers

Hiding The Mouse Over Dynamic Text
Hey there

Does anyone know if it possible to hide the mouse pointer completely so that no cursor appears over a dynamic text item.

I replace the mouse pointer on my page using Mouse.hide(). This successfully hides the pointer on my PC. However - if the mouse passes over some dynamic text or input text units then the vertical text selection bar appears over the item i am replacing the pointer with. Very annoying.

has anyone had this problem before? Any ideas?

Cheers

Text Movement From Mouse Click
Hi ther, i am a beginning in action script and need some advice for completing a project i have undertaken at university.
So here it is, i want to make text that i make in flash move to the position of the mouse cursor when the mouse is clicked, when the mouse is released the text will go back to where it was originally.

Have a look at this site, and download your version, it shows the idea the text following the mouse cursor when clicked, and a very nice piece also.

Be amazing if i could get some help guys!!

cheers

How To Find Text Word Under The Mouse
Hi all,

I have a number of dynamic text boxes and I want to find out which word I am over with the mouse.

1. I could just as easy use input text, but I don't want to copy/paste, I would just simply like move the mouse over a word and some actionscript grabs it out of the text

2. Then send that word to somewhere, e.g. another text box or add a bit of code that gives me a translation from a text file

I can do 2, but I haven't figured out how to do 1.

I've been looking in the forum and I can't find what I need. If this has already been answered then could someone point me to it. If there is no easy way then I guess I'll just have to go with calculating the word under the mouse my using font sizes, left right margins etc

Any suggestions would be greatly appreciated.

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!!

No Hand Icon When Mouse Is Over Text
I have a MC which I'm using as a button. It has an image and a text box.
I've set it to button mode using:
bioLink.buttonMode = true;

When the mouse is over the MC it shows the hand icon when over the image, but not over the textbox. However, if the textbox is clicked, it still executes the button code. Is there a way to have the hand icon show when over the text as well?
Thanks.

How Can I Reveal Secret Text With My Mouse?
I have a potentially difficult task at hand. I will do my best to phrase my question in a way that will describe my goal effectively.

I have created an area within my flash website where there are two sets of lyrics for a song. I have the first set of lyrics visible and would only like to be able to view the second set of “secret” lyrics by hovering my mouse (which is changed into magnifying glass) over the lyrics.

I’ve got the drag command working for the mouse to change into my magnifying glass artwork. I just need help revealing the “secret” text.


THANK YOU!!!!

Dynamic Text And Mouse Wheel
Hi all,
I use a dynamic text with a UIScrollBar component.
II set the "selectable" flag to false, cause I don't want the users to select the text, and I noticed that the mouse wheel doesn't work anymore. I suppose that the dynamic text doesn't get focused. Is it any other solution to work with the mouse wheel?

Thanks in advance

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

Mouse Scroll In Text Field
Does anyone know how to use the mouse scroll to scroll up and down in a dynamic text field.

Mouse Over Effect On Dynamic Text
Hi there!
I have an dynamic text box with many links. How can i make the link change its color on mouse over?

Help How Do I Make That Text That Appears When The Mouse Is Over Something?
Hi, I am trying to create my website and I have seen people on here using this thing that is a little text box that appears when the mouse goes over something. The box travels with the mouse until the mouse is no longer over the thing. I have seen it on here before and tried searching but I had no idea what to search for. I have also been looking for an example but cannot find one. So how do you do it? Please help guys! I know you can.

Thank you...

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