Revolving viewer that doesn't stop when navigating to other pages

any AS3 code that stops a revolving viewer from running when navigating to other pages. the thing is, it remains visible on all other pages only after viewing it.