Step 5. Setting a Custom Icon
Flash MX allows you to define a custom icon to represent the component in the Library, Movie Explorer, and Components panel, or you may choose one of the default icons from beneath the Description label in the Component Definition window.
In an image-editing program such as Photoshop or Fireworks, create a 24 by 20 pixel image (we recommend GIF or PNG with transparency, but it can be JPEG, too) to represent the component. Import the graphic into the Library directly (File > Import to Library). Flash links the custom icon you created with the component if you name the graphic in the Library with the same name as the component, and you place the graphic in a folder within the Library called FCustomIcons (create the folder, if you have not already).
When you close and re-open the Library, you will see your custom icon alongside the component name.
|» Level Intermediate|
Rating: 8 Votes: 55
|Jonathan Kaye, PhD, is the President and CTO of Amethyst Research LLC, an award-winning interactive design and engineering firm specializing in the creation of online device simulations. He and David Castillo are the authors of "Flash for Interactive Simulation: How to Construct and Use Device Simulations", to be published by Delmar Thomson Learning in November, 2002 (the accompanying web site will be www.FlashSim.com).|
|Download the files used in this tutorial.|
|Download (0 kb)|
|More help? Search our boards for quick answers!|