> The following method gives you a little more control over drop shadow than the shadow style properties

There is a reason they didn't use the DropShadow filter for panels and containers. It is VERY expensive on processing. If you are not worried about that then it dosn't matter.

That is why the dropShadow style is actually a programmatic skin shape.

Peace, Mike

On 6/30/06, hank williams <[EMAIL PROTECTED]> wrote:

Thanks Tim. That is EXACTLY what I was looking for. That is so cool.

Hank



On 6/30/06, Tim Hoff <[EMAIL PROTECTED] > wrote:

Hi Hank,

You can use any of the available Flash filters, for simple control/container skinning, by setting the filters property.  The following method gives you a little more control over drop shadow than the shadow style properties.  Check the docs for the syntax of the other available filters.

-TH

<mx:Script>
 <![CDATA[

       import flash.filters.*;       
       private var dropShadowFilter:Array=new Array(new DropShadowFilter(3,45,0x000000,.6));

]]>
</mx:Script>

<mx:Panel filters="{dropShadowFilter}"/>

--- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAIL PROTECTED]> wrote:
>
> I would sayif you know what you are going after,
>
> EVERYTHING in Flex can be skinned with your custom styles and layers.
>
> Make custom skin sets. If you read what Adobe has said quite a bit, they
> designed these components for extensibility and thus, some things are not
> implemented and are left up to the developer to extend.
>
> Which when you get deeper into the years with Flex, you will thank Adobe for
> taking that path.
>
> Peace, Mike
>
> On 6/30/06, hank williams [EMAIL PROTECTED] wrote:
> >
> > when applying shadowing to an object, if the lighting source is to the
> > top left of the object, then the shadow will be on the bottom and the
> > right. Typically there is also a white or light band across the top
> > and down the left side.
> >
> > I am wondering how you do this in flex. I see it in the application
> > bar and so I am thinking that I should be able to style a canvas to do
> > it, but I cant seem to do it with the shadow related settings. I
> > believe I was able to do this kind of things with movie clips in
> > flash.
> >
> > I guess a second question is whether it is possible to do any of those
> > cool flash 8 effects on containers/canvases in flex.
> >
> > Hank
> >
> >
>
>
>
> --
> What goes up, does come down.
>





--
What goes up, does come down. __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to