How to trigger the Back browser button from a Flex app with deep linking
How can I programmatically click the browser's Back button from within my Flex application.
I'm using deep linking to allow the user to navigate back/forth inside my application. I want this to work when BACKSPAC开发者_运维百科E is clicked inside the application as well, but Flex captures BACKSPACE and the browser doesn't get the event. I don't want to implement browsing history myself within the application, naturally.
Any ideas? Can I send BACKSPACE to the containing browser? Can I specifically invoke "BACK" in the browser from javascript maybe?
you can try a JavaScript/Flex bridge. write a JS function that sends the browser back, and invoke it from within Flex.
have a look at ExternalInterface
精彩评论