Site actionscripting

is there anyway to put a _mainframe target frame code into actionscript if so how can i do this?