|
The first thing you need to know about shadows is that they have a lot of options. To help you decide what options you want for your drop shadows, I threw together a little Flex app that lets you adjust the appearance of shadows in real-time. Just drag around the sliders in the application below and the result will appear immediately on the right.
If you're done playing around, let's look at how to create some shadows. I'm going to first show you how to add drop shadows using MXML then we'll look at how to add them using ActionScript.
Adding Drop Shadows using MXMLFor the first example, here's the simplest way to add a drop shadow. In this example, the shadow will be using all of the default options.