Step 7. Trying Out the Triangle
You are now ready to test out your new component. Open the Library panel and drag an instance of the Triangle Component onto the stage. If you test the movie at this point (Control > Test Movie), you will see a triangle with a base and height of 10. Exit the test and we will see how we can set the properties to different values.
You can examine and change the component's properties through the Properties window, by right-clicking (Windows) or Ctrl-clicking (Mac) on the symbol (on the stage), and choosing Properties. You may change the values by clicking on the Value cell and typing in (or selecting, for Color) the new value. When you have set them to your preferences, test the movie and you will see the triangle displayed at the set size and tint (if you chose to set applyTint to true).
» Level Intermediate |
Added: 2002-04-16 Rating: 8 Votes: 55 |
» Author |
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 |
Download the files used in this tutorial. |
Download (0 kb) |
» Forums |
More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.
Comments
There are no comments yet. Be the first to comment!