Enable Browser Back Button in AS3.0 with Flash

Hi All,
Is there any way in actionscript 3.0 to enable Browser Back
Button in flash website.
Thanks
Shane

The best way I know of to do that is using swfaddress:
http://www.asual.com/swfaddress/

Similar Messages

  • Enabling Browser Back Button for FLEX App

    Can anyone suggest me a way to implement Browser Back Button work with Flex App which runs in every browser and works perfect bug free ???

    thanx for the reply but unfortunately its not running in IE6 ... any idea why ?

  • Browser "Back" arrows do not work with Flash buttons.

    Just can't seem to get around this problem...
    I've made several flash buttons for use in my navigation bars. They work great but the "back" arrows on the browser are always grayed out. It doesn't seem to matter what kind of browser I use.
    The site was made in Dreamweaver and the Flash buttons are imbedded within the pages. I posted the same question on the Dreamweaver forum and got some vague answers.
    Is there some code I can put into my Flash buttons?
    If you have an answer please be specific as I'm not an expert.
    The site is fireonmcginnis.com
    or just type "Fire on McGinnis" into a search engine.
    -Toastieo

    Spry or regular hyperlinks in a list or nav configuration. Either is better than Flash buttons.
    Thing is, a search bot will read the HTML in those kinds of links (spry or HTML) and index them. That way if you have an event calendar for upcoming shows, or a discography page, it can find them and will be able to make a reference to them in later search engine databases (usually about 72 hours after the indexing). With the Flash buttons there is no code for the bot to find and your upcoming events, or a downloads page if there is one, will never be seen in a search even if people look directly for "fireonmcginnis: schedule", or "music by fireonmcginnis" because to Google, Yahoo, Lycos and the others the pages simply don't exist.
    Spry is great if you have submenus, and since it can be customized using CSS, you can make it match your site layout. You can also do that with regualr hyperlinks and CSS, but spry has a more appealing look to a lot of web users and the submenus are a little harder with basic HTML.
    For the record the script should read: getURL ("http://www.site.com/page.html" "_self"); for the buttons. There'a s drop down to select _self, _blank, _parent etc. when you add the getURL script to the button.
    But... you need to stay away from Flash buttons for navigation or you're really defeating the purpose of putting a band on a website in the first place. It's about exposure and Flash buttons will severely limit that exposure, even if they work properly.

  • Browser back button not working with ADF Application integrated with SSO

    I have integrated an adf application with Oracle SSO Authentication. Application is running fine.
    Though, while navigating between pages, using browser back button , it is not redirecting the url properly
    Should Redirect it to : http://<hostname>:<port>/<contex-root>/<servlet>/<id>
    Presently Redirecting it to :http://<hostname>:<port>/<contex-root>
    As, directory browsing is not allowed, there is Error 403--Forbidden .
    Can anybody tell what changes needs to be made to make browser back button work.

    In some of the documentation I have read, they have mentioned that using the back button in a browser doesn't work too well with any JSF type of application (not just ADF and Jdeveloper apps).
    http://docs.oracle.com/cd/E15051_01/web.1111/b31974/web_form.htm#CFHHJGJH
    Instead, they suggest using buttons on the form.
    There is a video on using navigation between forms that may be of value: http://www.youtube.com/watch?v=bsPtmRID5XI&feature=plcp
    Stuart
    Edited by: Stuart Fleming on Sep 11, 2012 5:30 AM

  • The browser back button is not working correctly when using the search funtion in ProBoards forums. Is there a known issue with ProBoards & FF?

    I have submitted a bug report to ProBoards, but they cannot duplicate the problem I am having, so I am submitting this here in hopes you can find a solution.
    At ProBoards Support and another PB forum while doing searches I found this problem, which continues with repeated testing over the past week or so:
    url: http://support.proboards.com/search
    1. enter perameters for the search (posts only by staff for the last 2 days)
    2. choose one of those post results & click on it (choose a post on page 14 and not on page 1 of the results)
    3. using the browser back button, attempt to return to the previous page of search results
    4. rather than being taken back to the search results with my parameters, the search parameters have been removed and the page show 1000 results of posts by everybody.
    I have tested this over and over again, disabling plugins, and nothing seems to alter the malfunctioning of the back button when I am doing this search function at ProBoards.
    I have tested it in Internet Explorer and find that in IE the browser back button works properly with ProBoards searches. I always get the result I expect, so it's a problem with how FF interfaces with ProBoards, I think.

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Browser Back Button and form navigation

    Some times when you use browser back button and adf-taskflow navigation buttons, validation on form fails, witout having made any change even with enabled token validation.
    Reproduction steps on HR schema:
    1. Create QueryDepartment and EditDepartment Views and navigation rules in adfc-config.xml
    2 Create ADF view only table page for QueryDepartment selectable, and add navigation button to go to EditDepartment
    3. Create EditDepartment form with navigation buttons and button to navigate back to QueryDepartment
    test:
    1.Run QueryDepartment and select a department
    2.Go to Edit Department using navigation button
    3.Navigate to next department pressing the 'Next' button
    4.Navigate back using the Browser Back button.
    5.Try to navigate back to QueryDepartment using the navigation button.
    My result is validation error on DepartmentId field 'Error: JBO-25013: '
    Is this a bug or am i doing something wrong?

    Hi,
    maybe I don't get it, but as I understood you have problem with focus on select button. So why don’t you set focus onLoad on another element of your page?
    Something like onload=”$x(‘ELEMENT_NAME’).focus()”;
    Regards,
    Przemek

  • BROWSER BACK BUTTON TO WORK!

    I went through this tutorial at:
    http://www.actionscript.org/resources/articles/142/1/Enabling-a-back-button-within-flash/P age1.html
    in order to get this highly discussed issue in Flash based
    sites sorted. However, it seems to "a bit" complicated and requires
    knowledge of previous tutorials regarding this matter. Has anyone
    elsewhere seen a complete tutorial how to get this done working in
    every browser please (or at least their majority)?
    Thanks for help.

    Cool, many thanks for your help, it works very well! However,
    if I was about to do the SEO I mentioned in the other post you
    replied to as well, can this somehow be done using SWFAddress too?
    I mean I can easily place a &lt;div&gt; tag in the HTML and
    put the content there, however, that's only a content of one page
    i.e. HOME PAGE. I read there is some connection in early stages
    between SWFAddress and SEO but didn't find out how it works.
    What I would want to do is to do one HTML with SWF Object in
    it and div tags for different &quot;sub-pages&quot; of the
    site if you understand. Let's say somebody will search for one
    particular service from the site and google will come up with a
    link to a particular &quot;sub-page&quot; within the FLASH
    site, do you think this can be done?
    Thanks again
    L.

  • Browser Back Button x Stale Data

    Hi,
    I'm facing a weird issue with back button handling.. whenever two sessions of the browser are opened to access the Oracle Applications, when changing something in one session, moving to the other session to change another thing and come back to the first session, even for completely different products and responsibilities, it gives me the stale data error as below. It seems like the session has been invalidated since I'm sure I haven't use the browser back button.
    Is this an expected behavior?
    ++Error: Cannot Display Page++
    ++You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).++
    ++To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.++
    Thanks,
    Eduardo

    Yes,that is the expected behaviour. In oaf http session is synchronised with the clicks, so on same desktop if u open two different apps sessions you will face the error, which ur facing now.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Log out browser back button

    I have a simple question - just wondering if there is an explanation or a fix.
    Why is it that when I log out of a secure zone, if I hit the browser back button I am able to see the last-viewed secure page? Of course, once I click on a link it redirects to the log in, but it seems like that page shouldn't be viewable in the first place.
    For me, it's not really a big deal - but it would be a shame for someone to log out of a secure page that displays sensitive data, only to have that page readily available via the back button.

    This is the nature of the web. Once you click back in the browser, the browser doesn't make the GET request to the server to render the page.
    You can overcome that with some JS - http://www.webdeveloper.com/forum/showthread.php?137518-How-to-refresh-page-after-clicking -quot-Back-quot-button. See the 02-07-2007 11:35 AM post.
    -m

  • Browser "back" button won't work when linked from Catalyst graphic

    I am using Flash Catalyst in (CS5 Design Premium) because I am much more a print than web designer so bear with me.
    I created a .swf file in FC, and placed it at the top of a "router index" page. I linked 10 "buttons" in the .swf, each to a different anchor on the "router index" page. Clicking on each "button" jumps to the correct anchor, so far so good.
    The problem is, when I hit the browser "BACK BUTTON" in IE only (Safari and Firefox work fine), it does not jump back to the top of the "router index" page. It jumps back to a previously opened page (homepage or another page), instead of back to the FC .swf graphic on the "router index".
    FC apparently only allows linking to "absolute" URL's, not "relative" URL's, (so my links to the anchors are "absolute"). I don't know if this is the source of the problem with IE. I have always linked to anchors previously in Dreamweaver using "relative" URL's, and have never encountered this problem.
    I looked over the files that FC creates and cannot find one that I understand, or shows an editable file path that I can change.
    I hope i don't have to buy Flash Builder. Right now I have Design Premium. And... I don't understand Actionscript.

    Hi azaral
    Take a look at Project > Quiz Manager... > Quiz
    Settings tab. My guess is that you have DE-selected the "Allow
    backward movement" check box.
    Cheers... Rick

  • Making a Browser BACK button in Java Script

    I've been trying to create a Browser Back button to return the user back to my LMS.  They typical ones I've found on the internet don't seem to work or I'm not entering it into Lectora properly.  Has anyone succussfully created a BACK button in Captivate?
    Using Captivate 3.
    One code I've tried that won't work:  <a href="javascript:history.go(-1)" </a>

    Hi there
    This could be an issue with Flash Player Security as described in the link below.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Browser back button does not work (IE) - Error On Page message

    Just take over website from our designer; I'm new, probably doing more fiddling on the live remote website than I should be...
    http://www.cmcwny.org
    Error On Page message, internal links work, but the browser Back button does not (at least in IE). 
    I have a backup of my local site from before this happened, but I do not know how to actually replace it.
    Any help on either issue will be appreciated, thanks!
    Larry Congdon
    Buffalo, NY, USA

    Hi
    First, get rid of your designer, the page design/code is a mess.
    There are a number of problems with the page, not least being the disabling of the back button in all browsers I tested it in, (visitors may visit once with this, but are unlikely to do so a 2nd time).
    The menu system is a fixed size so that when the browser is resized it overflows the browser window.
    The use of tables for layout is not recommended as it is inaccessible to users using assistive devices.
    To put this more politely, if you paid for this, ask for your money back. If you did not pay, then start again and use one of the dreamweaver layouts for your page, for more info, see - http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html.
    PZ

  • Need to select link twice when using Browser back button

    I see that my command_link works fine in normal scenarios.
    But when I come to that page using browser back button and then select the link within the page.... the first time, looks like its regenerating the page and only when I select the link second time it is calling the action listener associated with the link.
    Any clue as to how to fix this problem?
    Thanks

    use the following lines in your web.xml to avoid this bug of the current jsf-ri version.
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>I already tried to report this bug some time ago:
    http://forum.java.sun.com/thread.jsp?forum=427&thread=478928&tstart=180&trange=15

  • How to disable  browser back button after session logout..

    Hi;
    I want to restrict the user to use the back button after session expired or logout. By doing the session expired we are restricting the user to do any new work but I want to restrict the user to see the back pages that he surfed previously in the session.
    Is there any method to disable the browser back button after the session Expired?
    please help me to find out the solution..
    Thanks in advance.
    With Regards,
    Haramohan

    One possible way is automatic return to the current page by writing the following Javascript code to the previous page:
    <script language=JavaScript>
    function backButtonOverride(){
    setTimeout("backButtonOverrideBody()", 1);
    function backButtonOverrideBody(){
    try {
    history.forward();
    } catch (e) {}
    setTimeout("backButtonOverrideBody()", 100);
    </script>
    <%
    catch(Exception e){
    %>
    <jsp:forward page="front.jsp"></jsp:forward>
    <%
    %>

  • OA Framework browser back button

    Hello,
    How does OA Framework figure out navigation using browser back button?
    I am taking an example from the tutorial which comes with JDeveloper.
    There are these 2 pages EmpSearchPG(X) and EmployeePG(Y), there is an explict link from X to Y and an implicit link from Y to X (when you create an employee or cancel employee creation process).
    This is the scenario
    1. You start from page X
    2. You go to page Y, by clicking on the link to page Y from page X
    3. You come back to page X with browser back button
    4. You again go to page Y, by clicking on the link to page Y from page X
    In this case control first comes in processRequest of the page X controller and then processFormRequest of the page X controller and
    OA Framework does this because it detects the browser Back button navigation. How does OA Framework figure this out?
    regards, Yora

    Which function are you using for parameter setting? Setting parameter on pageContext will be lost on back button. Use putTransientSessionValue to set the parameter.
    But to be on the safer side, now that you have found the reason of NPE as the back browser button, follow the back browser button handling section in Dev guide to handle that scenario also.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for