As long as there are bedazzlers and rhinestones in this world your life has
meaning McCune. But yea, thats about how I saw it too.

Ben


On Mon, Apr 14, 2008 at 1:11 PM, Doug McCune <[EMAIL PROTECTED]> wrote:

>   But then what would I do with these arcane bits of framework knowledge
> I have stored up? My life would lack meaning.
>
> But yeah, I'd vote for that enhancement request. Something like a
> forceClipping boolean on all containers that support content clipping?
>
> Doug
>
> On Mon, Apr 14, 2008 at 9:59 AM, Ben Clinkinbeard
>
> <[EMAIL PROTECTED] <ben.clinkinbeard%40gmail.com>> wrote:
> >
> >
> >
> >
> >
> >
> > Does anyone besides me think it would be nice to be able to force
> content
> > clipping for scenarios like this? Dealing with an extra child can be a
> bit
> > of a pain sometimes, like in my current component. If anyone else thinks
> its
> > worthy I will file an enhancement request.
> >
> > Ben
> >
> >
> >
> > On Mon, Apr 14, 2008 at 12:36 PM, Ben Clinkinbeard
> > <[EMAIL PROTECTED] <ben.clinkinbeard%40gmail.com>> wrote:
> > > Holy hell Batman, that worked like a charm. Thanks!
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Mon, Apr 14, 2008 at 12:29 PM, Doug McCune <[EMAIL 
> > > PROTECTED]<doug%40dougmccune.com>>
> wrote:
> > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Every once in a while I'll drop a dummy UIComponent child into a
> > > > canvas and set it to have an x position of -1. That will force the
> > > > canvas to clip it's children. A canvas only applies the clipping
> mask
> > > > if it checks its children and thinks that one of them extends beyond
> > > > the bounds. If you have a dummy UIComponent with x at -1 then it
> will
> > > > always force clipping.
> > > >
> > > > Doug
> > > >
> > > >
> > > > On Mon, Apr 14, 2008 at 6:14 AM, ben.clinkinbeard
> > > > <[EMAIL PROTECTED] <ben.clinkinbeard%40gmail.com>> wrote:
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > I have a Canvas subclass that creates a number of SWFLoader
> children.
> > > > > The SWFLoaders each dynamically load a PNG. When the PNG finishes
> > > > > loading it is positioned via swfLoader.content.x = someNumber. The
> > > > > problem is that when these PNGs hang over any edge of the Canvas
> > > > > subclass they are not clipped. At first I thought maybe dynamic
> > > > > content was the issue but I created a test case and dynamically
> loaded
> > > > > and positioned PNGs were correctly clipped.
> > > > >
> > > > > Any ideas what the problem could be?
> > > > >
> > > > > Thanks,
> > > > > Ben
> > > > >
> > > > >
> > > >
> > >
> > >
> >
> >
>  
>

Reply via email to