Be the first to write a review
Creating a tool tip with AS2.0 classes
Creating a tool tip with AS2.0 classes
You see tool tips in most software packages. For example, in Flash you’ll see a tool tip when you move your mouse over an icon in the Toolbox. If you read the last tutorial, you’ll have discovered how to create a tool tip movie clip that you can reuse in your Flash applications using ActionScript 1.0. We used ActionScript to attach a movie clip that we’d created in the Library. To reuse the tool tip, you needed to add the movie clip to the Library of the Flash movie and add ActionScript.
In this tutorial, I’m going to create the same tool tip using AS2.0 classes. The tool tip is created entirely through code with no movie clip to install. The advantage is that all you have to do is place the ActionScript class file within the same folder as the Flash movie. You can also add it with the other classes and refer to it using the package name.
Sas Jacobs
Hello. I'm the Principal of Anything Is Possible, an Australian web development business specialising in web applications development and training. I'm interested in using Flash with dynamic content and I've presented at a number of International conferences on topics relating to applications development, XML and scripting components. I have recently released my second print book Beginning XML with DOM and Ajax to match the first one - Foundation XML for Flash. I have a business web site
and a personal web site.