Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6888053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:57:42+00:00 2026-05-27T05:57:42+00:00

I got two AS3 functions. One that toggles fullscreen and one that is called

  • 0

I got two AS3 functions. One that toggles fullscreen and one that is called with javascript with ExternalInterface that only logs “Hello World”.

Both works well in the browser, but if I try to call the fullscreen function with javascript the same way, i get an error like this:

Error calling method on NPObject!

I googled that problem but that only had something to do with same domain access, and sinced it worked with the other function, it has to be something else.

What am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:57:42+00:00Added an answer on May 27, 2026 at 5:57 am

    The fullscreen mode can only be set by user input. So I’m affraid calling it from javascript is not allowed.

    Full-screen mode is initiated in response to a mouse click or key
    press by the user; the movie cannot change Stage.displayState without
    user input. Flash runtimes restrict keyboard input in full-screen
    mode. Acceptable keys include keyboard shortcuts that terminate
    full-screen mode and non-printing keys such as arrows, space, Shift,
    and Tab keys. Keyboard shortcuts that terminate full-screen mode are:
    Escape (Windows, Linux, and Mac), Control+W (Windows), Command+W
    (Mac), and Alt+F4.

    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Stage.html#displayState

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got two submit buttons in a form. One that deletes the post, and
I've got a string in AS3 composed of two elements that is dynamically assigned
Got two little problems with this interface. The worse one is that I have
I got two console processes that second one is created by first one using
I got two console applications that the first one runs the second one: 1_first
I got two tables. One that holds all availeble trophys and one that holds
Ive got two activities in the same application. the first one is with gui(main
I got two divs, one is a background and the other is the container
I have got two movieclips on the main timeline. First one is envelope_mc and
Ive got two DIV elements one of which has absolute position (lower left corner

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.