Loading swf into scrolling window

after first trying to bring formatted html text dynamically into a scrolling window in mx, i’ve given up (impossible?), i have now turned the text into its own swf and i am trying to dynamically load this into a scrolling window. how do i do this? the only solution i found is to make the scrolling window its own swf and load that in dynamically. this works except i can’t figure out an ‘if else’ command to get rid of it once any other button is clicked.