Tooltip won't stay visible

i am attempting to simulate a floating toolitp that will stay visible when i rollOver a movie clip that is actually a logo. Here is my code:

MovieClip:
onClipEvent(mouseDown)
{
getURL(“http://www.narcotikDeign.com”, “_self”);
}
on(rollOver) {
_root.narctip._visible=true;
}

toolTip:
onClipEvent (enterFrame)
{
_root.narctip._visible = false;
}

i hope this makes sense…if not, can someone please hlp me fil in the blanks? thanx in advance.

It’s because you are running the _root.narctip._visible=false onEnterFrame.

on(rollOver) only works when the clip is rolled over, not the whole time the mouse is over the clip.

Also, onClipEvent(mouseDown) is for when the mouse is down ANYWHERE in your movie, so you might want to change that on (press)

I don’t know exactly what your whole setup is, but it seems to me the best route would be [AS]on (press) {
getURL(“http://www.narcotikDeign.com”, “_self”);
}
on (rollOver) {
_root.narctip._visible = true;
}
on (rollOut) {
_root.narctip._visible = false;
}[/AS]

when i rollOver, the tooltip stays visible only for an instant. if u have another suggestion then holla, but i’ll keep working until i figure this out. thanx again.

Did you remove the [AS]onClipEvent (enterFrame)
{
_root.narctip._visible = false;
}[/AS] from the other clip? Since as stated, that was the cause of your problem.

ahh yes! i replaced the onClipEvent(enterFrame)… with
_root.narctip._visible=false on frame 1 of the main timeline. It works perfectly now.

for some reason, the text in the dynamic text box shows
_level0.narctip.gotonarcotik instead of the text that i wanted displayed…any reason why? by the way, to all bachelors, if you don’t already know, a George Foreman grill is a godsend. Get yours today!

You probably have the same var name and same instance name on the same textbox. That’s my guess.

Nice plug for the George Foreman grill… I have one, don’t use it… I grill the manly way :stuck_out_tongue: :beam:

my god i was just being careless. i had originally intended on playing around with loading data from a text file, but decided agaiinst it. i forgot to omit the var. we need more like u lostinbeta…good lookin out…

p.s. the manly way? i see you’re in philly…so am i to believe that you’re on your deck [or your stoop if you’re in west philly] with the charcoal and the firestarter? if so, you MIGHT be more of a man than me…or maybe you’re of eskimo descent.;-]

Common mistake, happens to everyone. It’s maddening :beam:

And trust me, no one needs more than 1 of me, even 1 is enough to drive everyone crazy :x :wink:

*Originally posted by n_moshun *
**p.s. the manly way? i see you’re in philly…so am i to believe that you’re on your deck [or your stoop if you’re in west philly] with the charcoal and the firestarter? if so, you MIGHT be more of a man than me…or maybe you’re of eskimo descent.;-] **

LOL, I don’t have a deck or a stoop, my grill is in the back “yard”. During the winter months I grill on the stovetop…lol :trout: But theres always spring and summer for outdoor cooking WOOOOO!!!