in the html tag use allowFulscreen =true; On 1 May 2011 23:51, Vikas Madan <[email protected]> wrote:
> I am not sure what are you trying to do. Do you want to make it full screen > on clicking of a button, then follow Shalu's suggestion below. If you want > to do something with F11 dispatch, you need to let the browser know that you > dispatched an F11 key event in your swf. Use ExternalInterface to let > browser know that you want browser to do something. > > Hope this helps. > > > On Sat, Apr 30, 2011 at 8:26 PM, Abhilash Nagar <[email protected]>wrote: > >> Hello again , >> >> Thanks for the response.I tried this but nothing is happening when i press >> button.Not sure whether flex allows sending F11 from button click. >> >> Please do suggest. >> >> Abhilash >> On Sat, Apr 30, 2011 at 3:06 AM, vicky <[email protected]> wrote: >> >>> You can do something like below to dispatch the F11 key event -- >>> >>> protected function >>> dispatchKeyStroke_clickHandler(event:MouseEvent):void >>> { >>> dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_DOWN, true, >>> false, >>> 100, 122)); >>> } >>> >>> Read about fscommand here -- >>> >>> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/package.html >>> >>> ENJOY ! >>> V >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Flex India Community" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/flex_india?hl=en. >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > > > > -- > Vikas > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- Hissam, Flex Developer, INDIA. (m) +919860694301 If I CRY angels deserves to DIE. -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

