# Back button in flash

**URL:** <https://forum.kirupa.com/t/back-button-in-flash/13702>\
**Category:** Uncategorized\
**Created:** [February 17, 2003, 3:36am UTC](https://forum.kirupa.com/t/back-button-in-flash/13702 "2003-02-17T03:36:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rico](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@rico](https://forum.kirupa.com/u/rico)\
**Post date:** [February 17, 2003, 3:36am UTC](https://forum.kirupa.com/t/back-button-in-flash/13702/1 "2003-02-17T03:36:05Z")

</div>

hi,  
The code that u have recommended is not working properly… What i meant is that the function of the back button is to navigate where the users has last viewed the webpages…  
htm(1)----\>flash-----\>htm(1)

Thx…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 21, 2003, 6:00am UTC](https://forum.kirupa.com/t/back-button-in-flash/13702/2 "2003-02-21T06:00:33Z")

</div>

you might try something like this:  
on(Release){  
getURL(javascript:history.go(-1));  
}  
i’m assuming you’re doing that on a button. You might have to target that, but that should work.
