|
-
ExternalInterface.call and set focus after HTML click
I have a audio player that takes its audio file name from a link in the HTML. I'm using ExternalInterface.call in Flash with a JavaScript link in the HTML.
My player has a function that normally runs when the space bar is pressed. However, when I select an HTML link, I lose focus on the Flash player, so - when the space bar is pressed nothing happens. If I click the player to give it focus, then the space bar works on the player.
How can I return focus to the player after the HTML click? Here is what the html link looks like.
<p>1. <a class=Uline href="javascript: void();" onclick="makeCall('normalSong')" title="Normal Song" border=0>Audio 1.</a></p>
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|