Old 10-26-2008, 08:46 PM   #11 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 7
Default Help, please!

Adrian,

I truly apologize for hounding you for something as trivial as the installation of the Tooltip V2 software, but I need help and I am a little bit frustrated for not being able to comprehend the steps to undertake in order to get this thing to work?

The instructions from the help file does not do me any justice. My problem is that I just don't know how to apply the referenced code and where. I also got a mental block on how to segregate the tooltip by itself.

I am using Flash CS3, Actionscript 2.

Please, please help! Please do not send back a Robo-Answer.


Gerard
gdure is offline   Reply With Quote
Old 10-28-2008, 11:56 PM   #12 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Let's say you have a movieclip named "car" on the stage. You want to display the tooltip "This is a car" when you roll over that movie clip. For that you will need to click on the timeline frame that holds the "car" movieclip and write the following code:

Code:
import oxylus.tooltip.Tooltip; //import the tooltip class 
Tooltip.attach(); // attach the tooltip from the library
car.onRollOver = function() {
	Tooltip.show({tip:”this is aq car”,delay:0.3,stay:10,follow:true});
};

car.onRollOut = car.onReleaseOutside =function() {
	Tooltip.hide(0.5);
};
The tooltip can stay inside the library. You don't need to drag it to the stage. Hit Ctrl+ENTER to test it.

Try testing the above code I have written. Make sure you create your movieclip and you name it "car" in the Properties panel.

Adrian
Adrian is offline   Reply With Quote
Old 11-01-2008, 08:07 PM   #13 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 7
Default No dice!!!

I've applied the changes as instructed to no avail!

Here are the steps that I've taken:

1. I created a folder called Flashflag in which all the Tooltip files and folders are residing (ex. Caurina, oxylus...)
2. I created a movie clip called Flag (Simply a Photoshop picture of the Flag of Algeria)
3. I applied the following codes to the Action Script of Frame 1 of the Flag movie

import oxylus.tooltip.Tooltip; //import the tooltip class
Tooltip.attach(); // attach the tooltip from the library
Flag.onRollOver = function() {
Tooltip.show({tip:"This is the Flag of Algeria",delay:0.3,stay:10,follow:true});
};

Flag.onRollOut = Flag.onReleaseOutside =function() {
Tooltip.hide(0.5);
};

4. I compiled the movie ....and....Nothing, Nada, ZILTCH!

Unless I am terribly off the mark, please tell me what I have done wrong!

Gerard
gdure is offline   Reply With Quote
Old 11-01-2008, 09:21 PM   #14 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Send me the files or you contact me on skype.
Adrian is offline   Reply With Quote
Old 11-18-2008, 05:16 PM   #15 (permalink)
Junior Member
 
Join Date: Nov 2008
Posts: 5
Default Glitch found :)

Quote:
Originally Posted by gdure View Post
I've applied the changes as instructed to no avail!

Here are the steps that I've taken:

1. I created a folder called Flashflag in which all the Tooltip files and folders are residing (ex. Caurina, oxylus...)
2. I created a movie clip called Flag (Simply a Photoshop picture of the Flag of Algeria)
3. I applied the following codes to the Action Script of Frame 1 of the Flag movie

import oxylus.tooltip.Tooltip; //import the tooltip class
Tooltip.attach(); // attach the tooltip from the library
Flag.onRollOver = function() {
Tooltip.show({tip:"This is the Flag of Algeria",delay:0.3,stay:10,follow:true});
};

Flag.onRollOut = Flag.onReleaseOutside =function() {
Tooltip.hide(0.5);
};

4. I compiled the movie ....and....Nothing, Nada, ZILTCH!

Unless I am terribly off the mark, please tell me what I have done wrong!

Gerard
Sorry for hijacking your thread but it seems I've located where your problem is. You've done everything right so far, but unfortunately you've forgoten an important step: you definitely have to give your "flag" movieclip (I'm talking about the instance which is located on stage) the instance name you have inserted into your customized actionscript code, that is, "Flag", without the quotes. Remember that a movieclip's name (the name which you can see in the Library pane) and a movieclip's instance name are two completely different things, therefore, even if not compulsory, it's a good practice to avoid giving the movieclips and their instances the same name (see what I mean in the 11-18-2008 (190629).png screenshot? )

So, here are a few quick steps to get your tooltip working:

1. You have to select the movieclip instance on the stage;

2. Now, look for the input text field named "Instance name" into the Properties pane (if this pane is not visible, just press Ctrl+F3 on your keyboard, or alternatively go to Flash's menu, click on "Window", then select "Properties". The "Properties" pane should now be visible.)

3. Now, type "Flag" (without the quotes) in the "Instance name" textfield.

Take a look at my 11-18-2008 (190629).png screenshot to see what I mean. Be aware though that your Flash version might differ from mine, which is CS4, hence the (possible) different interface aspect.

I'm positively sure it will work now. Let me know if this solved your problem. Good luck!

Cheers,
Dani
eusunt is offline   Reply With Quote
Old 11-19-2008, 02:26 PM   #16 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Hello Dani,
We solved it . Thank you for your intervention. I really appreciate it.

All the best,
Adrian
Adrian is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:56 PM.