Oh wow! That is awesome! I like the 2nd one more too. I'm going to dig into the code and see how you did that. If I make any improvements I'll repost it.
wow, thanks again. This is really awesome. This might deserve a spot in the flex lib. I'll work on making it more modular so someone can just drop it in. Thanks! Nate --- In flexcoders@yahoogroups.com, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > http://reenie.org/test/zoomComponent/zoomtest.html > This is a new example which is the same as the one below (zoom with > effects) but it uses a mxml component based on the tile container, and > AS classes for the effects. > > It still doesn't zoom to 100% because I don't know how to get an effect > to do that. > > > > [EMAIL PROTECTED] wrote: > > Here is an example of tile containers with zoom > > http://reenie.org/test/tilezoom/zoomtest.html > > > > This example uses a canvas for each tile but the canvas only goes to > > 200% of its original size. > > How would I do this effect to get a 100% of the application percentage > > width ? > > > > In the following Effect, toValue="100%" is not allowed > > > > <mx:Parallel id="tileScaleUp" > > > <mx:AnimateProperty property="scaleX" toValue="2" > > duration="1000" /> > > <mx:AnimateProperty property="scaleY" toValue="2" > > duration="1000" /> > > </mx:Parallel> > > > > > > > > Nate Pearson wrote: > > > >> So if I have 4 boxes I want to set one to width=100% and height="100%" > >> and the others to width=0, height=0. > >> > >> I'd put an effect on it so that it looked like one of them would grow > >> and the others would shrink to nothing. > >> > >> This is pretty easy to do in code, but I want to make a component that > >> can have a variable amount of boxes. Not sure how to do that. > >> > >> --- In flexcoders@yahoogroups.com, "Tracy Spratt" <tspratt@> wrote: > >> > >> > >>> What exactly do you mean by "zoom"? > >>> > >>> Tracy > >>> > >>> > >>> > >>> ________________________________ > >>> > >>> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > >>> Behalf Of Nate Pearson > >>> Sent: Friday, July 25, 2008 4:00 PM > >>> To: flexcoders@yahoogroups.com > >>> Subject: [flexcoders] Re: Zoom Tile Container > >>> > >>> > >>> > >>> > >>> Bump. Any ideas? > >>> > >>> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > >>> , "Nate Pearson" <napearson99@> wrote: > >>> > >>> > >>>> I want to make a custom component and I think I can extend the tile > >>>> container to do it. > >>>> > >>>> Here's what I want to do: > >>>> Have four boxes fill up the screen. If I click on one of the boxes > >>>> that box zooms to fill the whole screen and the other three boxes > >>>> shrink to nothing. > >>>> > >>>> Inside of that box I want another set of boxes, lets say 6. If I > >>>> click on that box it zooms and does the same thing as above. > >>>> > >>>> Can anyone point me in the right direction? I'm pretty good at making > >>>> custom components so if someone could just kinda nudge me in the right > >>>> direction that would be great. > >>>> > >>>> Thanks! > >>>> > >>>> Nate > >>>> > >>>> > >>>> > >> > >> > >> > >> > > > > > > ------------------------------------ > > > > > > >