A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: back button

  1. #1
    Junior Member
    Join Date
    May 2001
    Posts
    19
    Hallo,
    Is there a way to use back button in a flash movie? If there is could someone please tell me how????
    I went through the message boards in a search for the answer and it seems that every time there is a back button question nobody replies to it.
    Thanks,
    Joanna
    [Edited by Joasia on 09-18-2001 at 12:16 PM]

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    57
    A back button to where?

    Start of movie?
    Specific frame or scene?
    Html page?

    A little more info would help.

    bd7

  3. #3
    Junior Member
    Join Date
    May 2001
    Posts
    19

    hi

    back button to the previous scene visited by the user.

  4. #4
    Junior Member
    Join Date
    Jan 2001
    Posts
    16

    back button works with javascript but why two clicks

    I am doing the same thing but my button requires a dbl click, which is what I am trying to fix. The go back works but it needs a dbl click. Here is my problem:
    I am adding a java script button. The purpose of the button is to go back. I have the following script and it is needing to be clicked twice before actually going back to the previous page, as opposed to the one click necessary to view the pages under the buttons with no java script. I have tried it with and with out the onclick in the code and nothing has changed. Can you help? Thanks in advance, I am desperate...

    This is the code I have tried, both with the onClick and without:

    on (release) {
    getURL ("javascript: onClick(history.go(-1))", "_self");
    }

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    57
    Ok.... tadai, you're using an action to activate a javascript that requires a click.
    Try this:

    on (release) {
    getURL ("javascript: (history.go(-1))", "_self");
    }

    It's the same thing without the onClick.

    Joasia, this should also work for you.

    If this does not work, remember that a button calls an action. If you use onClick in your java inside a button, it also requires a click. Hence the dubclick.
    Look for a way to activate your script without a click.

    Sorry I wasn't much help, but I think I set you guys on the right path.

    bd7

  6. #6
    Junior Member
    Join Date
    May 2001
    Posts
    19
    hi
    i tried both: with onClick in the script i get "object expected" error and without onClick nothing happens????????
    Could someone explain why?
    Please.........
    Joanna

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center