Thanks for the tip Mike.  Without digging into the API's, for what 
appears to be something simple (like this), there's no way for the 
average developer to know these things.

-TH

--- In [email protected], "hank williams" <[EMAIL PROTECTED]> 
wrote:
>
> Hmm...
> 
> Doesnt make much sense. They encourage using filters in flash for 
animation
> and effects but its too slow for a static flex container?
> 
> It seems to me if performance is an issue flex is the last place 
that that
> would be of concern since there is little animation. I dont get 
how this
> would be a serious impediment for most flex users.
> 
> Hank
> 
> On 6/30/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
> >
> > > 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 [email protected], "Michael Schmalle" 
<teoti.graphix@>
> > > > 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 hank777@ 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. 
> >
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to