Hi Jamie. That's pretty much exactly how I would reccomend doing it.  
 
as for #2:  all displayobjects have a property called localToGlobal(),
which converts coordinates from the component's coordinate system to the
global coordinate system.  So you could do:
 
 
var topLeft:Point =
systemManager.globalToLocal(myItemRenderer.localToGlobal(new
Point(0,0)));
var bottomRight:Point =
systemManager.globalToLocal(myItemRenderer.localToGlobal(new
Point(myItemRenderer.width,myItemRenderer.height)));
 
and there you've got the bounding box for your component in
popup-coordinate-space.
 
Ely.
 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jamiebadman
Sent: Friday, February 23, 2007 2:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Zooming out of a list ?!



Hi,

I've been exploring the wonderful world of effects and transitions 
recently... there's something I would *love* to be able to do - but 
I suspect this is not possible. Could someone confirm or deny 
accordingly ?!

Here's the idea...

I have a horizontal list which consists of a set of charts. This 
list is quite small - acting really, like a row of thumbnails for 
the charts.

If the user clicks on a chart, it appears in a nice big readable 
size in a popup window.

Now... what I'd like to do is apply a 'zoom' style transition from 
the clicked list element to the popup window so that the popup 
appears to zoom out of the list itself.

Actually, as I write this, a *possible* solution has occurred to 
me...

(1) The user clicks on an element on the list
(2) This causes a totall borderless popup window to be created, 
exactly over the chart in the list that the user clicked on. This 
would appear 'invisble' to the user since visually it should look 
the same.
(3) A sequence (consisting of a zoom effect and move) is applied to 
the popup to expand it and bring it into the centre of the screen.

If this is possible, I *think* it would look ok ?

Question then is, how to achieve (2)...

Or am I barking up the wrong tree ?!

Jamie.



 

Reply via email to