Archives

AS3 Event Handling- part 6

In this small part of action script event handling we will learn about one of the effective event handling technique that can help us to dispose our objects towards garbage collection( I will be writing about this interesting topic soon.)- in other way we can make efficient application without causing any memory leaking. The rule [...]

AS3 Event Handling- part 5

Previous part of AS3 Event Handling series was about creating custom event class. In this part we will look at the one of the mostly unused parameters in addEventListener method handler. 
addEventListener is the method used to add an listener to an object for a specified event. Hence we usually pass two parameters ( first one [...]

AS3 Event Handling- part 4

In the previous part we discussed about the event propagation. In this part we will look for creating a custom event class. 
The need of creating a custom event class comes when you have to put your event system more systematic and comprehensive. Let me give one example where you might need to have your won event [...]

Multiple tweening problem

While developing a multi player poker game I got strange problems with tweening using fl.transition.Tween class. There were 18 cards to be distributed among 9 players in sequence and with 100ms interval. I put them in a timer and fired tweens at each timer event. I was writing the tweening code inside a method and [...]