stage.addEventListener(Event.MOUSE_LEAVE, mouse_offstage);
stage.addEventListener(MouseEvent.MOUSE_MOVE, mouse_onstage);
function mouse_offstage(e:Event)
{
trace("keluar dr stage");
}
function mouse_onstage(e:MouseEvent)
{
trace("berada di stage");
}
WHAT'S NEW?
Loading...
AS3 – Detect when mouse leaves stage
- Judul : AS3 – Detect when mouse leaves stage
- Penulis : PF studio
- Kategori : Archive
-
Rating : 100% based on 10 ratings. 5 user reviews.
Item Reviewed: AS3 – Detect when mouse leaves stage
9 out of 10 based on 10 ratings. 9 user reviews.
0 komentar:
Post a Comment