AS3 DoubleClick question
Has anyone got movieclip with nested clips to have a doubleclick = true; property w开发者_运维技巧orking. The only way I could get it to work was by setting mouseChildren to false which I need to be true!! Any leads/ideas would be welcomed!
J
You can try setting doubleClickEnabled
to true, if you haven't already done so.
You could try filtering the click event by checking the target name. I guess you need the clicks for different functions so in each function you can decide to what target ( movie clip ) you want the function to react.
function clickHandler (event:MouseEvent ):void { if( event.target.name == theMovieClipINeed.name ) fire(); }
精彩评论