A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Setting history.back()...

  1. #1
    World Kit Vote Holder Abelius's Avatar
    Join Date
    Feb 2002

    Setting history.back()...

    Ok, here is what I am trying to solve. I have -let's say- a simple flash movie which has a simple red box in the middle of the stage and a stop() action in the main timeline. On frame two there is another stop() "sign" and the red box is green; and on the third frame the box turns yellow, with a third stop().
    There is a button at the bottom of the stage that makes the movie go to the next frame (or the first frame if positioned on the last one).

    Now I open this flash movie in a browser, and I see the red box. I hit the button and the box goes green. Cool. Then I enter "www.flashkit.com" in the browser address bar and of course I see this website. Then I hit "BACK" and I see the flash movie again, with the red box.

    But I wanted to see the green box, because I had it on the green box before going to www.flashkit.com. What is the most practical way to do so?

  2. #2
    Observe Alot By Watching ryanmacflashkit's Avatar
    Join Date
    May 2006
    In the Jungle
    Hi Abelius,

    I'm just reading over this quickly, I think that sharedobject may be able to help you with this.

    There is a quick tut on google that I just picked up for it...

    Hopefully that helps.
    Kind Regards
    Ryan Mac

    Big shots are just little shots that keep shooting.

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