Groups | Blog | Home
all groups > flash actionscript > may 2006 >

flash actionscript : Multiple Event Handler



r_barlow
5/24/2006 3:46:15 PM
Hey,

This is probably a really stupid question but is there a way to declare an
event handle on an Actions layer that handles multiple events?

For example, both of these are equivalent:

// on button
on (rollOut)
{
}

// on action layer
btnTest.onRollOut = function()
{
}
------------------------------------

// on button
on(rollOut, releaseOutside)
{
}

// on action layer
??????????

Rothrock
5/24/2006 5:10:06 PM
btnTest.onRollOut = btnTest.onReleaseOutside = function(){

AddThis Social Bookmark Button