Yes. Just change your event arg datatype to the following:
PHP Code:
function slide_right(e:Event):void {
    
// Code goes here
}

function 
slide_left(e:Event):void {
    
// Code goes here