From the monthly archives:

July 2008

Programování postupných procesů ve Flashi

by Ing. Miroslav Charvát on July 29, 2008


Detekce vyběhnutí kursoru myši ze Stage Flash Animace v AS 2

by Ing. Miroslav Charvát on July 28, 2008


MC Events2 Decorator

by Slavomír Durej on July 24, 2008

Flash (in AS2) has one unpleasant habit. Interactive handlers (i.e “onRollover”, “onRollOut” , “onRelease” etc..) are being canceled as soon as you place a movie clip on the top of it with at least one interactive mouse handler defined.

Typical situation is a rollover pop up that needs to have some buttons on it. As soon as you rollOver those buttons, onRollOut event is triggered on the pop up, even though you still physically over it with your mouse.

There are of course different workarounds for this, but generally it’s a pain to code around this unfortunate behaviour.

AS3 doesn’t have this problem fortunately, but for the projects that still needs to be made in AS2 for whatever reason I created a MCEvents2Decorator class. (more…)

{ 0 comments }