Thanks so much for helping me out valdhor. I've been racking my brains trying
to find it. I've even been trying to draw circles which glow inside the
drawselectionindicator of my tilelist component but that would look a bit bland
and is a pain to position them.
In that code you found there are 2 very interesting lines of code mainly those
which relate to the image inside of his item renderer abd the code which they
are pointing to for their glow effect:-
<mx:Image id="myImage" source="{data.image}" width="100" height="100"
alpha="0.6"
rollOutEffect="{outerDocument.myOut}" rollOverEffect="{outerDocument.myOver}"/>
And this:-
<mx:Parallel id="myOver">
<mx:Blur blurXFrom="30" blurYFrom="30" />
<mx:Fade alphaFrom="0.6" alphaTo="1" />
<mx:Resize widthTo="150" heightTo="150" easingFunction="Back.easeOut"/>
<mx:Glow alphaTo="20" blurYTo="20" blurXTo="20" color="0x00ff00" />
</mx:Parallel>
I'm assuming that if I can incorporate my effects into that code then I'll be
able to do the same. At least I hope. But what exactly does outerdocument mean?
I've came across it but never used it and I also have what a parallel is but if
it works I could care less :-)
Thanks for being so helpful. I'll let you know how it goes here.
--- In [email protected], "valdhor" <valdhorli...@...> wrote:
>
> OK, I did some googling and this looks like exactly what you are after...
>
> http://flexaired.blogspot.com/2008/07/sample-image-tile-list.html
>
> --- In [email protected], "James" <garymoorcroft_ict@> wrote:
> >
> > Yes but it's the glow effect that I require. when each item is hovered over
> > it needs to glow rather than just having the blue themed square. Have you
> > got any idea how to do this?
> >
> > --- In [email protected], "dannyvenier" <dannyvenier@> wrote:
> > >
> > > Why not use a tileList or if spark, a List with tile layout. You can use
> > > a custom itemrenderer which can re-render when additional buttons are
> > > added and in rendering, can determine the optimum size based on running
> > > an algorithm on your dataprovider. There are all sorts of edge
> > > conditions to worry about (what if the total text width exceeds that of
> > > your container etc., etc.., but those have to be dealt with in any case,
> > > and I imagine you need a custom renderer anyway, to build your list items.
> > >
> > >
> > >
> > > --- In [email protected], "James" <garymoorcroft_ict@> wrote:
> > > >
> > > > I'm lost as to what component to use for navigation within my
> > > > application. Across the top of my app I want something which
> > > > horizontally displays a list of categories which the user can click to
> > > > select. This is fine if I use a tilelist but I also want to allow my
> > > > client to add and remove categories and for the width of the component
> > > > to adjust so that new categories fit in but it seems impossible to
> > > > apply <fit to content> to a tilelist the way you can to a hbox which
> > > > obviously means scrollbars will appear and if you switch the scroll
> > > > policy off this simply means any added categories won't be visible if
> > > > they are past the set width.
> > > >
> > > > If a hbox had a selecteditem property that would be perfect. Is there
> > > > any such way of getting a component to work like this?
> > > >
> > >
> >
>