[flexcoders] transparent overlay with mouseover events passed throught - how to??
I'm using a chart component, and I want to implement a drill down that will overlay the summary chart. I'm an experienced developer, but new to Flex/ActionScript. I'm using the Axiis Datavis Library, although I don't think it matters for my questions. I currently have an application with this structure: ApplicationWindow --ApplicationControlBar --Canvas --ControlBar If I add a DrillDown Canvas with a transparent background and visual status set to false, I can update the dataprovider to the appropriate filtered detail and make it visible in the itemClick handler of the main chart Canvas. And I can make it invisible again in the itemClick handler of the drill down canvas. I'm thinking like this: ApplicationWindow --ApplicationControlBar --Canvas itemClick=displayDrillDown(); --DrillDownCanvas visible=false backgroundAlpha=0 itemClick=removeDrillDown(); --ControlBar But what I'm not sure about, and haven't found any clear tutorial for, is: * how to ensure that the drilldown canvas size and screen position will be identical to the main canvas, given potential application window resizing that the user may have done while it's visible status is false? * how to ensure that the drilldown canvas is on top of the main canvas, so that it can intercept click events before they hit the main canvas? Is it defined by the declaration order in the MXML code? * how to allow mouseover events to pass through, if there is no chart element on the drilldown canvas, so that tooltips will display for chart items on either canvas -- or even if this is possible? I appreciate any assistance you can provide, even if it's to tell me that my approach is all wrong!
[flexcoders] Re: transparent overlay with mouseover events passed throught - how to??
OK -- got it. Thanks for saving me the time it would have taken to find out that it wouldn't work. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Instead of a Canvas, you might need to use UIComponent. Canvas has code that blocks mouse events if you listen for any mouse events on it. UIComponent is lower-level. In Flash there is a difference between a transparent pixel and an area in a Sprite that hasn't been drawn on at all. So, instead of a transparent background, you don't want a background at all, just draw the hit targets.
[flexcoders] X-Post: UI - List item matching with lines -- how to do it?
[This is where I should have posted in the first place -- but hey! I got to post the diagram I drew. ... http://forums.adobe.com/thread/495411 ...] I'm a new flex developer. I want to create a UI roughly like the included image. As stated on the image, the purpose is to allow users to visually define a many-to-many data relationship. The point of the exercise is to maintain the rows in the intermediate table that contain the relationship information. Neither the lists nor the list items will be updated in the database. I've searched and haven't located any existing components that would appear to support this interaction. There's a good chance I'm not using the right search terms. Know any existing components that would make this straightforward to do? Maybe some part of a game or quiz engine? Any suggestions for the newbie, on how to implement this? Thanks so much for any help you can provide!