In this tutorial we will create a ToolTip that automatically resizes itself. Our ToolTip will update its contents according to its position on stage, so that they are always visible. As part of this task, we’ll also create our own code to handle 9-slice scaling.
Preview
Let’s first take a quick look at our tooltip in action:
Step 1: Set Up FLA file
Let’s begin by creating a new folder called “ToolTip”. Inside the ToolTip folder, create an ActionScript 3.0 FLA.
Step 2: Creating the DisplayOjects (Sprites):
Now, create a rounded square of 150x77px with the following properties [...]
No comments:
Post a Comment