Image rollover

so i know how to use as3.0 to change the alpha and to create rollovers that way. but is there a way to use as3.0 code to substitute rollover images like you can in css. what would that code look like?

thanks.