all groups > flash actionscript > march 2006 >
You're in the

flash actionscript

group:

TEXT WINDOW


TEXT WINDOW sjon4
3/17/2006 8:36:59 PM
flash actionscript:
Re: TEXT WINDOW horizens
3/17/2006 10:31:19 PM
this is something i just used for an application:

hoverover would be the instant name of the button mc
caption would be the instance name of the text window mc

in your actions for the frame:



hoverover.onRollOver = function() {
this.onEnterFrame = function () {
caption._alpha += (100-caption._alpha)/3;
caption._x -= (caption._x-_xmouse)/2;
caption._y -= (caption._y-_ymouse)/2;
}
};
hoverover.onRollOut = function() {
this.onEnterFrame = function() {
caption._alpha += (0-caption._alpha)/3;
};
};
Re: TEXT WINDOW sjon4
3/18/2006 4:30:15 AM
Thanks you, but I need some more help. Shuold I just copy/paste this? If I do,
nothing happens...
I don't quite understand what means:

'hoverover would be the instant name of the button mc
caption would be the instance name of the text window mc'

Any help or comments or codes greatly appreciated!!!
Re: TEXT WINDOW horizens
3/18/2006 5:09:20 PM
you will need 2 movieclips. one will be a button with an instance name of
"hoverover". the other movieclip will contain the text you would like displayed
and it's instance name will be "caption".

paste the code into the actions panel for the the frame that these two
movieclips are on.
AddThis Social Bookmark Button