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




Hover Captions: Load External Text



Hi,I got some great help here yesterday so i wanted to try and see if anyone can help with another tutorial i found on Kirupa.I followed this tutorial:http://www.kirupa.com/developer/mx20...r_captions.htmInstead of loading whats in the "quotes" i was wondering if it was possible to load something from an external XML or HTML file. if possible, maybe some pointers on how to get it done would help.Thanks



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 01-31-2008, 08:34 AM


View Complete Forum Thread with Replies

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

Hover Captions And External Text
I have been working on a tutorial from kirupa.com (http://www.kirupa.com/developer/mx20...r_captions.htm) and I have modified it to fit my needs but I still have one problem. I am trying to get the text in the hover menus to load from an external text file. Here is the code from my actions layer that I am currently using that loads the text from the ActionScript itself:


Quote:





MovieClip.prototype.resize = function() {
var w = box.caption.textWidth+0
var h = box.caption.textHeight+0;

};
Button.prototype.hover = function(refuge) {
this.onRollOver = function() {
_root.x = 1;
box.createTextField("caption", 1, box.test._x+3, box.test._y-145, 2000, 500);
box.caption.type = "dynamic";
box.caption.html = true;
box.caption.color = "FFFFFF";
box.caption.multiline = true;
box.caption.wordWrap = true;
box.caption.size = 10;
box.caption.htmlText = refuge;
box.caption.autoSize = "left";
box.test.resize();
};
this.onRollOut = function() {
_root.x = 0;
box.caption.text = " ";
};
};

item1.hover("<font face="Arial"><font color='#ffffff'><font size="15"><b>This is my Text1</font>")
item2.hover("<font face="Arial"><font color='#ffffff'><font size="15"><b>This is my Text2</font>")
item3.hover("<font face="Arial"><font color='#ffffff'><font size="15"><b>This is my Text3</font>")
item4.hover("<font face="Arial"><font color='#ffffff'><font size="15"><b>This is my Text4</font>")
item5.hover("<font face="Arial"><font color='#ffffff'><font size="15"><b>This is my Text5</font>")
stop();






Thanks for the help,
Brian

Externally Load Text For Hover Captions
Hi, I am trying to modify the hover caption tutorial from here at Kirupa to load the text in the caption from an external text file. Could anyone give me a hand trying to figure this out? I tried the simple way of loading external text but because the text is loaded in a MovieClip this does not work. Here is my code for the hover menu that currently loads the text dynamically through ActionScript:


Quote:





MovieClip.prototype.resize = function() {
var w = box.caption.textWidth+0
var h = box.caption.textHeight+0;

};
Button.prototype.hover = function(refuge) {
this.onRollOver = function() {
_root.x = 1;
box.createTextField("caption", 1, box.test._x+3, box.test._y-145, 2000, 500);
box.caption.type = "dynamic";
box.caption.html = true;
box.caption.color = "FFFFFF";
box.caption.multiline = true;
box.caption.wordWrap = true;
box.caption.size = 10;
box.caption.htmlText = refuge;
box.caption.autoSize = "left";
box.test.resize();
};
this.onRollOut = function() {
_root.x = 0;
box.caption.text = " ";
};
};

item1.hover("<font face="Arial"><font color='#ffffff'><font size="15"><b>This is my Text1</font>")
item2.hover("<font face="Arial"><font color='#ffffff'><font size="15"><b>This is my Text2</font>")
item3.hover("<font face="Arial"><font color='#ffffff'><font size="15"><b>This is my Text3</font>")
item4.hover("<font face="Arial"><font color='#ffffff'><font size="15"><b>This is my Text4</font>")
item5.hover("<font face="Arial"><font color='#ffffff'><font size="15"><b>This is my Text5</font>")
stop();




Thank you for any help,
Brian

Hover Captions From Text Field
Is it possible to run actionscript as a user rolls over certain words in a scrolling text field when the text has been loaded externally?

I've created this record-book thing that loads everything on the fly from a single text file, but now I'd like to add little hover captions for specific words in the fields (and later pull the captions from an external txt file as well).

Hover Captions And Long Text
Hi out there,

got a question about the hover-captions-tutorial. It works fine. But now I want to modify it, there is a problem. If one uses long text-information instead of short ones like in the tutorial ("E-Mail" e.g.), one cannot read the text in the hover caption any more because it is shown in only one line and therefore cut. One Solution would be to make up the text into multiple lines. But how can I do this? The text is taken from the action-script-code in the main timeline and put into the dynamic text field of the hover-caption-movieclip.
Any ideas? - It would be nice, if anyone could help me out with this.

Keep flashing!

with best regards
e_bux

Hover Captions, Text + GotoAndStop Command
Hi - I'm a newbe to Flash and really need some help!

I'm working on a Map page where text has to pop-up and follow the mouse as the mouse rolls-over locations, and also a 2nd panel of text has to appear when you click on those locations... here's how it's going:

http://www.nhp.com.es/test/INMO1/oficinass.html

The problem is that when the mouse moves off the location, the command -


HTML Code:
on (rollOut) {
gotoAndStop(1);
}
- is reverting the whole thing back to the 1st frame and so disappears the last clicked-on location text.

If I delete the '...gotoAndStop(1);...' command then the text remains, but I lose the pop-up effect over the other locations - I've done this for 1 location: on the top right - if you click on 'Barcelona' and move off, the text panel remains but now the pop-up text doesn't appear on the other locations.

If you then roll-on and then off any other location, the '...gotoAndStop(1);...' runs and it reverts back to the 1st frame and the pop-ups reappear.

Does anyone know how I can make this all work together? - so that the pop-ups always appear, and the '...gotoAndStop(1);...' command doesn't need to be used or doesn't clear the text panel that appears on the left? I'm guessing that instead of putting all of the hover caption commands in one frame, maybe they need to be placed into each individual button - but like I said: that's my guess - not only do I not really know what I'm talking about, but I can't even get the hover commands to work when placed inside the button's action window.

Well, that's my question! - I don't know if I'm doing this the long way, the wrong way, a strange way, or what way... but any help would be way appreciated!!

AND THANK YOU KIRUPA! and everyone who uses these forums - it's great to get really good tutorials, and for free... I'd be completely lost without people like you all!

Hover Captions
Hello,
I'm trying to do the simple fade in hover caption that will follow the mouse when rolled over a button. I found a site with a tutorial on it, but I just can't get it to work, no matter how many times I have done the tutorial.
Any help would be great.
THanks

Hover Captions?
here is the file im working with, im trying to keep the hover captions over the little red buttons, but everytime i zoom in using the zoom tool, the hover buttons seem to pop up over top of the scroll bar, please take a look at this and tell me what im doing wrong



thnx
sean

Hover Captions
Hi I'm using this script i got from Kirupa.com to make rollover captions.
I don't know alot about actionscript but i want my buttons inside a movie clip called "panel".
How do i alter this script to make that work?
Thanks



b1.onRollOver = function() {
captionFN(true, "What up young gees and hustlas!", this);
this.onRollOut = function() {
captionFN(false);
};
};
b2.onRollOver = function() {
captionFN(true, "Portable Devices", this);
this.onRollOut = function() {
captionFN(false);
};
};
b3.onRollOver = function() {
captionFN(true, "Security", this);
this.onRollOut = function() {
captionFN(false);
};
};
b4.onRollOver = function() {
captionFN(true, "Regional Settings", this);
this.onRollOut = function() {
captionFN(false);
};
};
b5.onRollOver = function() {
captionFN(true, "Home Networking", this);
this.onRollOut = function() {
captionFN(false);
};
};
b6.onRollOver = function() {
captionFN(true, "Add/Remove Programs", this);
this.onRollOut = function() {
captionFN(false);
};
};
captionFN = function (showCaption, captionText, bName) {
if (showCaption) {
_root.panel.createEmptyMovieClip("hoverCaption", this.getNextHighestDepth());
cap.desc.text = captionText;
cap._width = 7*cap.desc.text.length;
cap._alpha = 75;
//
if ((bName._width+bName._x+cap._width)>Stage.width) {
xo = -2-cap._width;
yo = -17;
} else {
xo = 2;
yo = -17;
}
hoverCaption.onEnterFrame = function() {
cap._x = _root._xmouse+xo;
cap._y = _root._ymouse+yo;
cap._visible = true;
};
} else {
delete hoverCaption.onEnterFrame;
cap._visible = false;
}
};

Help With Hover Captions
Hello all...

I download this code from Kirupa.com and applied to my movieclip and works perfectly. The problem is when my Main MC loads an external swf which contains the hover caption, the dynamic text it doens't show on the Main MC.
When I test the swf by itself it works, but when I test the Main MC that loads the hover caption swf it doesn't work.

Here is the code that Im using on the hover caption mc:

\

captionFN = function (showCaption, captionText, bName) {
if (showCaption) {
this.createEmptyMovieClip("hoverCaption", this.getNextHighestDepth());
cap.desc.text = captionText;
cap._width = 7*cap.desc.text.length;
cap._alpha = 80;


hoverCaption.onEnterFrame = function() {
cap._x = this._xmouse-cap._width-3;
cap._y = this._ymouse-20;
cap._visible = true;

};
} else {
delete hoverCaption.onEnterFrame;
cap._visible = false;
}
};

\

Hover Captions
hi there.

i am working on a large map project, and i wanted to bring some hover captions in on some buttons that occur late in an animation. I have this code that i have been working with,.. and i cant seem to get the code and the buttons to work correctly. (see attached file)
I have been able to make it work by extending the toplev frames by one or more, but i cant seem to organize my bigger file that i am actually working on to ustilize that solution.

how can the button that occurs late in the movie, use the function that occurs on the top layer of the movie?

any advice would be much appreciated!

-me

Hover Captions Help
Hi,

I am having issues with this hover caption script I got from kirupa. Most of the captions work great but some (especially long names) appear way to the left of the button.

You can see an example here:

http://qa-scapaosd.migcom.com/Content/10138/east_county.html

Rollover the bit of land just right of the highway 12 sign in the lower right part of the map for an example of one that appears far left of the rollover hit state.

I am using the following actionscript:

captionFN = function (showCaption, captionText, bName) {
if (showCaption) {
this.attachMovie("caption", "cap", this.getNextHighestDepth());
this.createEmptyMovieClip("hoverCaption", this.getNextHighestDepth());
hoverCaption._alpha
cap.desc.text = captionText;
cap._width = 7*cap.desc.text.length;
cap._alpha = 75;
//
if ((bName._width+bName._x+cap._width)>Stage.width) {
xo = -2-cap._width;
yo = -17;
} else {
xo = 2;
yo = -17;
}
hoverCaption.onEnterFrame = function() {
cap._x = this._xmouse+xo;
cap._y = this._ymouse+yo;
cap._visible = true;
};
} else {
delete hoverCaption.onEnterFrame;
cap._visible = false;
}
};

Any ideas? I have played around with the x any y values and nothing seems to really change it...

Hover Captions
Hello,

I used a tutorial from kirupa to create some hover captions on a grid of buttons. From here:

http://www.kirupa.com/developer/mx2004/hover_captions.htm

It works great but I'd really rather have them appear after a couple seconds of hovering on a button--not instantly. Any ideas on how to accomplish this? I tried messing around with one of the movie clips in the example, putting some static frames at the beginning but that didn't have any affect.

thanks in advance!
Lisa

Hover Captions
first of all, thank you for the tutorial, just the last bit...



i can't get the crosshairs up when i press CRTL and A



I GET THIS INSTEAD:



please help me! <

Hover Captions Help..(again)
..ok..on my hover captions "incident"...based on the tutorial...when i come to end and try to get the cross hair to the bottom left of the rectangle...it won't happen...cos..when i select the box and the text box and press up to move them both...it only moves the box and NOT the txt box...HELP!

Two Hover Captions?
Hey everyone. Quick question about the Hover Captions tut.... Searched for it, but haven't found anything....

Is there any way to have two different captions to call? The situation is that we need a couple of the captions to point in the other direction otherwise they fall off the screen. So we were trying to do it with two, but maybe an alternative is to "change" the registration point? Anyone have any ideas? Thanks in advance!

Hover Captions
OK, the hover captions from the hover caption tutorial works. But i'm using more than one hover captions for diffrent movieClips buttons and so on... and once a hover caption has appered... it stays "on" (alpha 100). Dont Realy know how to explain??! U can check it out here . Just open any of the lower options, close the window and then open another, and you'll see what i meen....

So, anybody got any idea why this is happening (the AS is the same as in the tutorial, and i've changed all the "_root" to their respectiv place)?

Hover Captions
Does anyone have a working FLA of some hovercaptions? The tutorial one doesnt work for me.

Hover Captions
yes

if any one can help. im doing the hover captions. like on the tuturial. exept i cant get mulitiple captions to drag. one will drage and one will. not.
im not doing the dynamic text instead i made differnt objects "captions" and want to load multiple of those. like the yellow box or what ever.

can anyone help?

Hover Captions
Hi, First post.

I'm using the hover caption tut to do a mouse replace which works here:
http://www.****eyphoto.com/new/essay2.html

problem is when I load that swf into another parent swf the hover doesn't work. Any way to fix this?

About Hover Captions
Im currently working on a project in which I need my hover captions to pop up in an area away from the symbol. I need the caption to pop up in the same place for 5 different symbols each containing different material. Also when putting words in a a hover caption box, how do you make the words you are typing go to the next line when it has reached the end( i guess im trying to ask how to type a paragraph in a hover caption).

thanks in advance

Help With Hover Captions
Hi,

I followed this tutorial http://www.kirupa.com/developer/mx20...r_captions.htm and everything works fine, I just need to modify the hover captions. I was wondering if anyone knew if there was a way to make line breaks in hover captions, and how to make part of the caption bolded.

Any help you can give would be much appreciated! Thanks a lot!

About Hover Captions
Hi grettings from Mexico

can i make the hover caption in one button and play a sound on rollover?

this is my script


on (rollOver) {
_root.x = 1;
_root.caption.words = "piezas del deseo";
// Play Sound Behavior
_global.Behaviors.Sound.ohhgod.start(0,1);
// End Play Sound Behavior

}
on (rollOut) {
_root.x = 0;
_root.caption.words = " ";
}
on (press) {
//Goto Webpage Behavior
getURL("http://www.tanquegroup.com","_self");
//End Behavior

I use the behaivor ---¨playSound¨ but doesnt work

thaks for your help

Hover Captions
I have been following this tutorial to create rollover captions but want to add a second line of text in the caption. I have turning the text box where the caption is held into a multiline text box and then a line break in the string that you pass into the function, like so:




Code:
b1.onRollOver = function() {
captionFN(true, "first line of text<BR>second line of text", this);
this.onRollOut = function() {
captionFN(false);
};
};
I haven't had any success though, can anyone help?

This is my .fla

Hover Captions Help?
http://www.kirupa.com/developer/mx20...r_captions.htm

I went through this tutorial and was able to achieve this effect on an interface I'm working on. However, if I try to get more creative with it, the captions do not appear. Basically, I want my icons to serve as a subnavigation with the captions to appear for usability reasons. I've tried several techniques such as masking, moving the timeline, and dynamically loading the movieclip but to no avail. The captions won't appear when the icons are in a movieclip acting as a subnav. The captions only appear when I place my icons and captions on my main index.

I appreciate any response. thanks

Hover Captions
I'm having a hard time figuring out why my hover captions won't show up when i put it on my main swf file. I'm wondering if it has something to do with finding the correct path? I tried reading up on lockroot but doesn't seem to work. I think it has something to do with the _global. thingy but not that familar with it. Any suggestions?

Thanks in advance

I'm using kirupa's hover caption

P.S i made sure all the codes are the same

Hover Captions...
Hi,

This is my first post!

I was wondering if anyone here had attempted to modify the hover caption buttons detailed in the tutorial by Kirupa?
I think it is a really excellent effect, but I would like to build some delay into it so that the captions only appear after the user has hovered over the buttons for at least a few seconds...

Can anyone advise me? [ Maybe even the legendary Kirupa himself?!]

thanks a lot

MArll

:]

Hover Captions
hello:
i have 5 buttons created dynamically.
code below;

Code:
for (var i;i<5;i++) {
var newname:String = "newnavboxmc"+i;
_root.navboxmc.duplicateMovieClip(newname,i);
_root[newname]._y = 222.5 + (_root[newname]._height + 1) * i;
_root[newname]._x = 5;

_root[newname].onRollOver = function() {
captionMC.captionTxt.text = "my captions";
captionMC._visible = true;
_root.hover = 1;
};
}
i also want to "captions" to show when the cursor is "rollOver" these buttons. In the _root timeline, i have an instance named "captionMC".
code for this mc is:

Code:
captionMC.onEnterFrame = function() {
if (_root.hover == 1) {
this._x = _root._xmouse;
this._y = _root._ymouse;
} else {
this._x = 0;
this._y = 350;
}
};
problem is, when i "rollOver" my cursor onto the buttons..the caption is showing but under the button, i want it so the caption is somewhat "hovering". i think the problem is with the depth, but i can't figure out how to go around it. any help is appreciated.
thanks in advance,

Hover Captions
I have a movie clip that that I would like to appear and move with the mouse pointer like the hover caption tutorial on this site. It would be called from a rollOver exactly the same except there is one difference.

Rather than the caption being small it is quite large so I don't want it to appear from where the mouse pointer is (because it would dissappear off the screen most of the time). I would like it to appear each time in the middle of the screen and then move from that point with the movement of the mouse pointer.

Does that make sense!!!??

Hover Captions Help
Hey Guys,

Another problem. I have followed the "hoover capions" tutorial and everything seems to work fine. I have added a bit to make a virtual tour of the university campus. When I click on a building, and a new swf is loaded into a container movie clip, I would like the hover captions that lie under the container movie clip to be invisible. what happens now, is when the new swf is loaded and you move your mouse over the clip, the hoover captions still pop up, over the new swf. (That is not what I want to happen) Here is a link to clarify. If you click on the "William K. Weaver Building" which is the first building you come to from the main entrance, it will open the new movie, and you can see what I mean about the other buildings (capions) showing up when you roll over them.

http://www.umobile.edu/virtualtour/

Any suggestions would be great! Thanks!

John

Hover Captions
I would like to make a hover caption for some pictures I am using. I realize that there is a nice little tutorial for that here. But, the problem is that I am in need of that text staying in the first position that it popped up. And of course, only disappearing when the cursor is dragged off (which is the easy part).

Is there a simple way to get those initial coordinates from the mouse (after a short delay) so i can save them into variables? I basically want it to act exactly like an ALT message for a picture if you're viewing it on the web.

Hover Captions Help
Hi, I followed the instructions on the following tutorial and everything worked fine when I exported the SWF. However, what I need is for the captions to work when this movie is loaded into another Main one (loadMovie).
http://www.kirupa.com/developer/mx20...r_captions.htm

The hover box works, but the dynamic text is not showing up. Below is the code I am using, I only put in an example for one button. I replaced any place that said _root. with this.

How do I get the dynamic text to show up? If you want to see what is happening, go to http://www.freshsparks.com/Jimi . Skip the Intro, and click on DISCOGRAPHY. Please do exactly this, as the file is still being worked on and things could get messy if you start clicking around to other sections.

Thanks in advance for your help!

b1.onRollOver = function() {

captionFN(true, "VITAL SIGNS / 1984 / Volcano", this);
this.onRollOut = function() {

captionFN(false);

};

};

captionFN = function (showCaption, captionText, bName) {

if (showCaption) {

this.createEmptyMovieClip("hoverCaption", this.getNextHighestDepth());
cap.desc.text = captionText;
cap._width = 7*cap.desc.text.length;
cap._alpha = 90;
//
if ((bName._width+bName._x+cap._width)>Stage.width) {

xo = -2-cap._width;
yo = -17;

} else {

xo = 2;
yo = -17;

}
hoverCaption.onEnterFrame = function() {

cap._x = this._xmouse+xo;
cap._y = this._ymouse+yo;
cap._visible = true;

};

} else {

delete hoverCaption.onEnterFrame;
cap._visible = false;

}

};
stop();

Hover Captions
can anyone point me to a hover caption tut

AS 2 Hover Captions
I have succesfully implemented your tutorial about hovering captions. But i have one problem. i reach a certain point in the animation where the script and caption occupy only 1 frame (different layers of course). I put a stop(); in a diferent frame (above layer) and then, when i click on a button, the caption appears and everything's nice. But then, i move forward in the animation. Same scene, but in the next frame, i just don't use the frames where i put the caption and script.

Now, here comes the problem: i use a "go back" button to get exactly to the point where the script and caption for the hover captions appears, BUT, even though my cursor is elsewhere but some button, the caption appears, as if the whole stage was a big giant button. I have no idea how to fix it, i'm no flash expert. I haven't modified the code at all btw. All i do is move forward through frames and then go back, same scene.

I really need your help, it is really urgent. Thanx<

Two Hover Captions?
Hey everyone. Quick question about the Hover Captions tut.... Searched for it, but haven't found anything....

Is there any way to have two different captions to call? The situation is that we need a couple of the captions to point in the other direction otherwise they fall off the screen. So we were trying to do it with two, but maybe an alternative is to "change" the registration point? Anyone have any ideas? Thanks in advance!

Need Some Help With Hover Captions
OK, the hover captions from the hover caption tutorial works. But i'm using more than one hover captions for diffrent movieClips buttons and so on... and once a hover caption has appered... it stays "on" (alpha 100). Dont Realy know how to explain??! U can check it out here . Just open any of the lower options, close the window and then open another, and you'll see what i meen....


So, anybody got any idea why this is happening (the AS is the same as in the tutorial, and i've changed all the "_root" to their respectiv place)?

Hover Captions
Does anyone know how to do hover captions in flash 5?


if so leave a response or AOL instant message me at

fatmammal

thanks

Hover Captions
I think the ones on herre... are more for flash mx... I was just wondering if anyone had quick basic way to do one in flash 5

Hover Captions
Does anyone have a working FLA of some hovercaptions? The tutorial one doesnt work for me.

Hover Captions Where Did You Go?
Wasn't there a hover captions tutorial on the site? Im sure I saw it. But now i cant find it:S

Help With Hover Captions
Hello all...

Ok, I have this SWF file let;s call it "toolTip.swf" which contains hover captions (those tooltip boxes that appears next to your cursor), and they work perfectly.
Well....I have another SWF file, let's call it "index.swf".

My problem is that when I load the movie "toolTip.swf" into "index.swf" the hover captions' boxes appear but not the text inside.

I don't have very much expereince with AS...so I hope somebody can help
Here is the code that Im using on the "tooTip.swf" file:



this.b1.onRollOver = function() {
captionFN(true, "someText", this);
this.onRollOut = function() {
captionFN(false);
};
};

captionFN = function (showCaption, captionText, bName) {
if (showCaption) {
this.createEmptyMovieClip("hoverCaption",
this.getNextHighestDepth());
cap.desc.text = captionText;
cap._width = 7*cap.desc.text.length;
cap._alpha = 80;

hoverCaption.onEnterFrame = function() {
cap._x = this._xmouse-cap._width-3;
cap._y = this._ymouse-20;
cap._visible = true;

};
} else {
delete hoverCaption.onEnterFrame;
cap._visible = false;
}
};

StartDrag And Hover Captions
Hi all!
I have (hopefully) attached the file I am working on.
I have a "hot" area where the user can drag around this newspaper looking thing. Also, there are hover captions that say, "Drag" and a caption that says "Close" over what will be the close button.
Everything works fine.
Until....
Click to drag the paper thingy, then release it. Move your mouse off the paper, then back onto the hot area. The captions snap right to the center of the hot area. I have run out of ideas. I don't know what I am missing here that causes this.
Thank you so much for any time and help.

Hover Captions Problem
Ok so I have some code that is from Kirupa's site.. for the hovering captions, and I can get it to work when it is on the root level, but I want to use it a few down, the address would be _root.main.cal_mc

it doesn't work.. here is the code, I'm sure it is simple to fix, address problem or something but I can't get it to...
help if you can thanks

b1.onRollOver = function() {
captionFN(true, "May 15", this);
this.onRollOut = function() {
captionFN(false);
};
};
b2.onRollOver = function() {
captionFN(true, "Portable Devices", this);
this.onRollOut = function() {
captionFN(false);
};
};

captionFN = function (showCaption, captionText, bName) {
if (showCaption) {
_root.createEmptyMovieClip("hoverCaption", 1);
cap.desc.text = captionText;
cap._width = 7*cap.desc.text.length;
cap._alpha = 75;
//
if ((bName._width+bName._x+cap._width)>Stage.width) {
xo = -2-cap._width;
yo = -17;
} else {
xo = 2;
yo = -17;
}
hoverCaption.onEnterFrame = function() {
cap._x = _root._xmouse+xo;
cap._y = _root._ymouse+yo;
cap._visible = true;
};
} else {
delete hoverCaption.onEnterFrame;
cap._visible = false;
}
};

Floating Hover Captions
OK HELP!

I am working with the Hover Captions Tutorial and I want to take this idea to a new level.

I have created a piano. I would like to have one of these hover captions pop up when I point to each key. the problem is that each key is NOT a button it is a movie. The other problem is that when I "press" each key there is a note that plays. When I have tried using this hover caption idea with my file - I can no longer get that sound to play!

Help Please

T. Paul

Hover Captions Stay
i used the tutorial on hover captions, ive got it to work, only problem is, the caption box follows the mouce on the entire window not just the button. ive tried changing the actionscript, the frames, adding actionscript, removing it, no matter what i do, when i preview the site, it looks fine (caption might flash once before its activated) but when i publish it, the hover caption follows the mouce all over. and sometimes the hover caption follows the mouce when previewing it in flash, just click back and forth on scene 1 and 2. i hope i provided enough info.
is it possible the change the upload size because its tough trying to upload the swf, let alone the fla-hard to get them within max size requirements.


thanks in advance
aaron

Hover Captions Like Barneys.com
Hey,
This maybe something a little big for me right now, but does anyone know how to get hover captions to stay with a draggable button. I have noticed this at the www.barneys.com website, and would really like to know how this is done.

Thanks

Displaying Hover Captions
Hi all

I know this has been documented throughout this site in regards to creating the excellent hover tooltips by Kirupa

http://www.kirupa.com/developer/mx/captions.htm

I have spent the majority of the afternoon looking before I post and I can not find what I am looking for.

My question is this:
In Kirupas tutorial we learn how to create the hover caption which is a movieclip with dynamic text that changes when it is postioned over the buttons. which I can understand.

Using the same tutorial, I am wanting to create 4 different caption boxes which will all be coloured differently. The reason for this is because I am wanting to replace the dynamice text with bitmapped text (pixel fonts).

So each button (icon) will have its own hover caption and obviously will only display when you put the mouse over the icon.
using just the one movieclip with dynamic text is stratight forward enough.

But how would you, edit the code so that you could specify a particular movie clip to be assigned to the button (icon) of your choice

I hope I have been clear enough

Thank you

w9914420

P.S Please do not be angry with me, It may seem an easy enough solution, but I am a complete newbie to the flash world and have a lot to learn.

Animated Hover Captions?
I've completed the tut on hover captions see link

hover captions

But I want my hover caption to be animated so it fades in rather than BANG its there... I've tried with no avail..

Any tutorials ideas etc?

Postatomic

the sites coming...

--Image-- Hover Captions?
Howdy all
I just tried out Kirupas Hover Captions, and i had a quick question about it. How can i make a movieclip with an image inside of it replace the dynamic textfield like Kirupa's tutorial? And each button has to have a different movieclip.
Did i explain well enough what my problemo is?

Thanks in advance for any help

Hover Captions Possibility
Does anyone know if hover captions (i.e. tool tips) can be done with dynamically loaded data (i.e. XML)? If so, is there a tutorial somehwere you can point me to?

Thanks!
AH

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