Hi Andy, I read your article this morning. In fact, it's the reason I started thinking about this idea. Thanks for the great article and the advise.
-TH --- In [email protected], "Andrew Trice" <[EMAIL PROTECTED]> wrote: > > Hi Tim, > > I just posted a blog article on this topic this morning. It is > definitely possible to capture the BitmapData of a hidden object within > an Image object. It has examples how to do this. You can check it out > at: > > > > http://www.cynergysystems.com/blogs/page/andrewtrice? entry=flex_2_bitmap > data_tricks_and > > > > I would use a viewstack to contain 1) the thumbnail and 2) the > component. Perform a "mx:Resize" effect on the viewstack, then swap the > thumb and component on the EFFET_END event (just toggle the visible > child of the viewstack). If you bind the image to the constraints of > the parent container (using "top", "left", "right", "bottom"), then I > think that the image *should* scale with the viewstack. You will > definitely need to experiment with the mouse events/interaction on > this... it is highly probable that the usability could get quirky > behavior that you'll need to fine tune. > > > > Hope that helps! > > > > -Andy > > > > > > _____________________________________ > > Andrew Trice > > Cynergy Systems, Inc. > > http://www.cynergysystems.com > > > > Blog: http://www.cynergysystems.com/blogs/page/andrewtrice > > Email: [EMAIL PROTECTED] > > Office: 866-CYNERGY > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Tim Hoff > Sent: Friday, September 22, 2006 4:50 PM > To: [email protected] > Subject: [flexcoders] UI Advise > > > > Hi all, > > Perhaps some of you gurus can help me determine the best approach > for a UI that I'm thinking about. The use case will have a popup > that displays detail information that is related to summary records > in a DataGrid. When the user makes a grid selection, a popup will > display. The popup will contain several UI components (thumbnails > of panels) that each display different detail information. For > instance, if the grid contained Authors, the popup might contain: > Biopragraphy, Recent Books, Blog Postings, Articles, etc.. Some of > the components will contain static text, while others will contain > lists (DataGrids) or images. > > Now for the fun part. When the user clicks on (or MouseOver) the > thumbnail, the component will expand (zoom with effect) to the full > size of the popup and cover the other thumbnails. When the user > clicks again (or MouseOut) the popup will return to the initial > thumbnail state (using Cairngorm). > > My thoughts are to capture BitmapData of the individual panel > components and display them as the thumbnails in the initial popup > state. When the user clicks a thumbnail, change state with zoom > effect and replace the image with the actual component. If this is > possible, does anyone have any ideas how I might go about > accomplishing this idea? In other words, is it possible to capture > the BitmapData of a component without displaying the component; just > the image? Also, when the thumbnail zoom completes, how might I > swap the image with the actual component? I'm pretty sure that > there is something similar to an EFFECT_END event that I could use > to change state a second time. But, I'm interested to hear > different perspectives. > > Since Flex will soon be competing with Windows Vista and WPF, I'm > trying to develop innovative UI's that will rival the competition. > I would appreciate any ideas anyone might have for this scenario. > Or, if someone has done something similar, I would love to see the > code. > > Thank you very much in advance, > Tim Hoff > -- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/

