Hello,

Does anyone know any work-arround for this  "ItemDoubleClick not
fired..."  issue ?

I've noticed a similar post, for the same issue, here :
http://raghuonflex.wordpress.com/2007/08/10/assigning-different-behavior\
s-on-click-doubleclick/#comment-5350

Any help on this item being very appreciated,

With thanks,

Regards.


--- In flexcoders@yahoogroups.com, "carnau...@..." <carnau...@...>
wrote:
>
> Hello,
>
> I'm facing an issue with the "itemDoubleClick" event that is "most of
the time..." not fired/received through my WindowedApplication.
>
> Please fing here-after my MXML code together with my AS listener :
within the "ListPressed" constructor, the "doubleClickEnabled" property
is set to TRUE !  I also tried the same by setting "doubleClickEnabled"
within the MXML below with no success : doubleClickEnabled="true".
>
> Did anyone already met this Problem ?
> Is there maybe a Workarroud that we can apply ?
>
> With Thanks,
>
> Regards.
>
>
>
> // My List DOUBLE CLICL Listener
> private function handleDoubleClickZoneC(event:ListEvent):void
> {
>     // THIS TRACE IS DUMPED ONLY SOMETIMES (~ once over 5...10 times)
>     trace("ViewManager/handleDoubleClickZoneC()");
> }
>
>
> // My MXML AIR application
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml";
>  xmlns:component="component.*"
>  horizontalScrollPolicy="off" verticalScrollPolicy="off"
>  showGripper="false" showStatusBar="false" showTitleBar="true"
>  width="346" height="170" explicitHeight="170" headerHeight="16"
borderThickness="2"
>  layout="absolute" creationComplete="init()">
>
>  <component:ListPressed id="zoneC_call"
>   x="0" y="130" width="342" height="10"
>   select="handleLeftButtonPressed()"
>   change="handleClickZoneC(event)"
>   itemDoubleClick="handleDoubleClickZoneC(event)"
>   dataProvider="{callModel.provider}">
>   <component:itemRenderer>
>    <mx:Component>
>     <mx:VBox borderSides="bottom" borderStyle="solid"
borderThickness="1" verticalGap="0">
>      <mx:Canvas width="100%">
>       <mx:Label x="6" maxWidth="200"
>        styleName="itemContact"
>        text="{data.fullName}"/>
>       <mx:Label x="210"
>        styleName="itemLabel"
>        text="{data.day}"/>
>       <component:ImageDetails x="300"/>
>      </mx:Canvas>
>      <mx:Canvas width="100%">
>       <mx:Image x="6" width="90%" height="90%"
>        source="{data.type}"/>
>       <mx:Label x="28"
>        text="{data.number}"/>
>       <mx:Label x="210"
>        text="{data.duration}"/>
>      </mx:Canvas>
>     </mx:VBox>
>    </mx:Component>
>   </component:itemRenderer>
>  </component:ListPressed>
>
>         ...
>         ...
>

Reply via email to