You can dispatch F11 event as below:

stage.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_UP , true , false,
0 , Keyboard.F11));

On Wed, Oct 7, 2015 at 4:54 PM, megharajdeepak [via Apache Flex Users] <
ml-node+s2333346n1127...@n4.nabble.com> wrote:

> Hi there,
> Right now when I hit  F11 on the keyboard on any browser, the web
> application goes into full screen mode. I am trying to give a button for
> users which makes them go to full screen. I just want to dispatch this
> in-built F11 event when I click on some button in the application.
>
> Any ideas how can that be achieved?
>
> I assume it would be on stage. I can dispatch keyboard event like this:
> stage.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_UP));
>
> But how do I dispatch F11 in particular?
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.2333346.n4.nabble.com/Full-Screen-Mode-tp11278.html
> To unsubscribe from Apache Flex Users, click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
*Regards,*
Prashant Kumar* | *Mob.: +91 8408811225




--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Full-Screen-Mode-tp11278p11287.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to