How do you place a layer above actionscript? In my experience any graphics from a movie clip or button etc called by actionscript are visible above the highest layer in the timeline. What am I doing wrong?

Thankyouuuuuu