1 person found this helpful
If I understand, you are trying to keep the focus on the animation button.
Make sure in your html wrapper you have two things:
1. Set the wmode parameter to "window". this is not for the focus but it does allow screen readers access to your content.
<param name="wmode" value="window" />
2. Set the seamlessTabbing value to false. This will keep the focus from jumping back out to the address bar.
<param name="seamlessTabbing" value="false" />
One other item you may want to check. If you are using a movieclip as a button and it has an up, over and down state, make sure that all states are that same size, or as an alternative create a "hit" area for the button (mc) that spans all the states of the button. The reason is, if there is a change in the size of the graphic in let's say the down state, it will cause the focus rectangle to jump off of that movieclip after it has been clicked. I discovered this after troubleshooting a moviclip button that had a different size graphic in the down state. After changing the graphic to the same size as the up state, problem solved (or as I said, create a "hit" area that spans all the states). However, this does not seem to be an issue with "buttons" only with movieclips.
Is there a way to turn this feature on and off from inside the swf file using ActionScript? I want them to stay in the Flash animation until it is over, and THEN I want them to move back to the HTML file so that they can navigate to another page and not get stuck in the Flash file.
Sorry, I don’t believe there is an actionscript method to go back to the browser address bar but I could be wrong. Hopefully someone on this forum will have an answer for you. I know quite a bit about accessibility and Flash (it’s actually a lot more accessible than people think) but have never had to do what you are asking.