Surprisingly I have never had a need to use the double click event in ActionScript 3.0 until this morning. I presumed it would work exactly like the single click event so at first I just used this:
But nothing happened! A little look at the docs revealed why, you just need to add this line:
Simple.
Hey Carlos, is .selectable set to true or false on your dynamic textfield? Might have something to do with that.
19 Dec 2011I think that if we have a dynamic TextField on the MovieClip/Button it won’t work! True?
15 Dec 2011but you add —–item.doubleClickEnabled = true;—
14 Sep 2011this is run now…
thank you;
ok I’m sorry
14 Sep 2011Hey Mahmut – nope it works for web apps too, see an example here. If you double click the screen the boxes fall to the bottom of the page.
14 Apr 2011This code run only adobe air..
14 Apr 2011