[flexcoders] Re: Why cant I use mouseOver() in Image class, but using mx:Image tag, I can?

2009-02-20 Thread yossi.baram
Hi Nate, Thanks, it works But I have one problem, How can I show seperate details for each of the images? rememver I have one cell that includes several images side by side drawn from the loop bellow, and each one need to popup different data on a tooltip. private var tooltipData:String;

[flexcoders] Re: Why cant I use mouseOver() in Image class, but using mx:Image tag, I can?

2009-02-20 Thread yossi.baram
I think that I need to create a new panel for each image, let say if I have 3 images in one cell and the event is fired, now I get one panel for all with the same data and its not good for me, i need 3 panels with different data, How do I do it?? Can it be done? Thanks again Jo --- In

[flexcoders] Re: Why cant I use mouseOver() in Image class, but using mx:Image tag, I can?

2009-02-20 Thread yossi.baram
well, i managed doing that :) Using one panel, I use the currentTarget object of the evevnt allows me to retrieve the dataPorvider elements private function tooltipDetailCreate(event:ToolTipEvent):void { var tt:PanelToolTip = new PanelToolTip(); var innerImage:Object =

Re: [flexcoders] Re: Why cant I use mouseOver() in Image class, but using mx:Image tag, I can?

2009-02-20 Thread Nathaniel Skiba
Ah, so that's what you were wanting to do. AFAIK, the tool tip for the class can't be substituted. What you should probably do instead is to turn off the tooltips, use the mouse over (or roll over) event, and when you detect mouse over, use the PopUpManager to show your custom component. ~Nate