Use back button in flash site?

when I use the back button in my flash site it goes out of the site and I have to enter the movie all over again. why does it do that what did I not do correctly?

and, if you have sound files in your movie and they are attached to buttons, what is the script to stop the sound from playing from one button when another sound button is pressed?

To be able to use the Back buttons within a Flash site, you need to insert mini bookmarks / named anchors within it. These will tag certain sections of the Flash movie and take you back through them when you press the Back buttons on the browser.

It’s a new feature of MX. :slight_smile:

Thanks for mentioning that Kit. I never would have looked it up unless I knew it was there. :slight_smile:

I wish it wasnt :-\

Thanks for mentioning that Kit. I never would have looked it up unless I knew it was there.

To tell the truth, neither would I if I hadn’t popped along to one of Macromedia’s seminars. They were plugging the new MX version and all of it’s special features, and this was one of them. They said they added it precisely because people were getting fed up about clicking Back and being taken out of the Flash site. :slight_smile:

There’s also a little tute on Robert Penner’s site that uses a little javascript code on the HTML page to track progress:

http://www.robertpenner.com/index2.html

click on “back button”

Senocular, why the long face about back buttons in Flash? :q:

I think the ‘back’ aspect should be part of the interface. I dont like it when a flash movie takes away what I think back means, and to me it means the previous html page. I know when theres a new html page - when the browser refreshes its screen. A flash movie is its own entity and not part of the browser. It shouldnt mess with what the browser does (imho). plus, it can lead to abuse.

That’s a good point. I agree with you that it’s easier and more logical. (-:

If you know the difference.

I think average user doesn’t understand (or care about) the difference. IMO if you are creating a full site in Flash, you should do so in a way that respects (or at least anticipates) normal Web usage.

Not being able to use the “back” button to navigate through a Flash site, as they would through an HTML site, could be counterintuitive from a user’s (not a programmer’s) pov.

no?

:hangover:

exactly, which is why they added it, because people are dumb :slight_smile:

… than and people are making flash sites which look a lot like html and sometimes its hard to tell the difference…

^of course I dont think that takes advantage of flash but … yeah

'Tis a long learning curve…