Hi, I'm adding tooltips to my flash program and thought a good way to do this would be to make a tooltip class that extends MovieClip, and link in the library what needed tooltips. Just testing the waters, I can attach the class in the library, and put - for instance - a enterframe function and this works fine. What I need to do is be able to call custom functions.
So, if I have a movie clip... myButton = mcRef.attachMovie(name, instanceName, depth) & this is linked to my class in the library, the enterframe will fire. However, if in my class that is extending the MovieClip I put a function.... function mInitTooltip, and call it with myButton.mInitTooltip(), nothing happens. Reading a book, it says to create the movie clip such a way like: myButton = myTooltipClass(mcRef.attachMovie(name, instanceName, depth). I kinda got this to work, but will not offer my the flexiblility I need with movie clips having movieclips embeded in them (It could work, but just doesn't seem ideal for my situation). So, from my 'explaination' is there anyone who can point me to what I am doing wrong? I've seen some custom tooltip components and such, but would rather not go that route.. we have customized graphics and data sources where this will be coming from. Or should I just be creating an instance of the tooltip class passing it the movieclip when I create it... would putting anything on the onRollOver and such replace any code I already have on buttons throughout the program? Just looking for a way to create them that will be easy to use for a program already created and very useable for the future... Thanks for any help or suggestions, Jason _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

