--
You received this message because you are subscribed to the Google Groups "SWFObject" group.
To post to this group, send email to swfo...@googlegroups.com.
To unsubscribe from this group, send email to swfobject+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui
@Alex - Using the ExternalInterface methodology of calling focus from within the swf after it is rendered etc (as described in my first response) worked in all recent versions of FF/Safari/IE/Chrome/Opera that I tested.
Setting the tab index seemed to fix the focus issue on some versions.
In my situation, I needed not only to focus the swf on page load (kiosk app driven by keyboard / remote control), but needed to be able to defocus the Flash so the swap browser tab shortcut worked on FF as well... It was pretty annoying to get working, but boiled down to some pretty simple functions in the end...
Cheers,
Aran
On Mon, Nov 7, 2011 at 11:54 AM, Alex Harui <aha...@adobe.com> wrote:
Which browser and version of the browser? I am under the impression that
the focus() call doesn't work on all browsers.
On 11/7/11 9:33 AM, "tidybox" <tid...@hotmail.co.uk> wrote:
> Thanks for the quick response and I have tried both your suggestions
> but still not working!
> I'm not the best at coding and my original code doesn't seem to
> reflect your suggestions so maybe I'm altering it incorrectly (I used
> the air swfObject2 generator)!
> Here is my HTML code before adding any of your stuff and maybe you can
> point me in the right direction as to where to place the new code.
>
> Much appreciated
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
> <head>
> <title>Portfolio</title>
> <meta http-equiv="Content-Type" content="text/html;
> charset=ISO-8859-1" />
> <script type="text/javascript" src="swfobject.js"></script>
> <script type="text/javascript">
> var flashvars = {};
> var params = {};
> params.menu = "false";
> params.quality = "best";
> params.salign = "tl";
> params.bgcolor = "#F7ECDA";
> var attributes = {};
> attributes.id <http://attributes.id> = "swfContent";
>>> For more options, visit this group at
>>> http://groups.google.com/group/swfobject?hl=en.
--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui
--
You received this message because you are subscribed to the Google Groups "SWFObject" group.
To post to this group, send email to swfo...@googlegroups.com.
To unsubscribe from this group, send email to swfobject+...@googlegroups.com <mailto:swfobject%2Bunsu...@googlegroups.com> .
For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
To unsubscribe from this group, send email to swfobject+...@googlegroups.com.
Cheers,Aran
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui
--
You received this message because you are subscribed to the Google Groups "SWFObject" group.
To post to this group, send email to swfo...@googlegroups.com.
To unsubscribe from this group, send email to swfobject+unsubscribe@googlegroups.com.
Cheers,Aran
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui
--
You received this message because you are subscribed to the Google Groups "SWFObject" group.
To post to this group, send email to swfo...@googlegroups.com.
To unsubscribe from this group, send email to swfobject+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/swfobject/-/VkrosqCQnvYJ.
To unsubscribe from this group, send email to swfobject+...@googlegroups.com.