A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Making a back button

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    3

    Making a back button

    Maybe i'm blind and just can't find it, but how would i make a back button for a flash animation that will be the index page of my website? i have an animated logo, and then two buttons move in. one says enter the other, leave. i have the enter button working to take me to the homepage but how do i make a back button to take the person back to whatever site they were just at?

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Most probably with a call to a javascript function handling "history" or whatever it's called.

  3. #3
    Between Flash & Flashkit timothye's Avatar
    Join Date
    Dec 2003
    Location
    Sweden
    Posts
    1,666
    Code:
    on(press, release){
    getURL("javascript:history.go(-1)");
    }
    this is the code for a back button in flash
    cheers
    I want to learn .
    wannabe flasher [ Actionscript 2.0 ]

  4. #4
    Junior Member
    Join Date
    Jan 2004
    Posts
    3
    thanks

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