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 8400055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:27:58+00:00 2026-06-09T21:27:58+00:00

ExternalInterface.call in Opera (ver. 12.01) doesn’t perform. I’m using SWFObject. In my index.php file

  • 0

ExternalInterface.call in Opera (ver. 12.01) doesn’t perform.
I’m using SWFObject.

In my index.php file in head-section:

swfobject.embedSWF("example.swf", "flash", "1", "1", "10.0.0");

JavaScript function in body:

function ready() {
    alert();
}

Code in ActionScript 3:

if (ExternalInterface.available) {
    ExternalInterface.call('ready');
}

In Google Chrome all works fine.
What may cause the problem in Opera?

Even Internet Explorer 7 works properly with this code.

  • 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-06-09T21:27:59+00:00Added an answer on June 9, 2026 at 9:27 pm

    It’s possible that the JavaScript ready method is unavailable when the Flash first attempts to call it. The Adobe documentation recommends polling the JavaScript until you get a result (see the ExternalInterface.as example here).

    You could test the theory quickly with something like the following:

    if (ExternalInterface.available) {
        // Poll JavaScript.ready method until we get a result
        var interval = setInterval(function() {
            if (ExternalInterface.call('ready')) {
                trace("JavaScript is ready");
                clearInterval(interval);
            }
        }, 50);
    }
    

    Also, JavaScript.alert is a fairly intrusive method of debugging. Try using console.log instead:

    function ready() {
        console.log("JavaScript.ready method fired");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm communicating from a flash application using a command like the following: ExternalInterface.call(hello, world)
I'm using this code to open a popup ExternalInterface.call(function () { window.open(' + url
I can open a new window using window.open() in ExternalInterface.call() but then I want
i have successfully integrated Google earth with Flex using ExternalInterface.call(javascriptMethodName) method and writing the
I have this in AS3 var myName:String = David; var result:Number = ExternalInterface.call(methodInJS, myName);
How would I pass these two arguments into Actionscript 2's externalinterface.call? name: 'go' params:
This is the code I am using to call a function calc in javascript:
Hello the problem i'm experiencing is when I attempt to call javascript function. Using
Is it possible to pass an ArrayCollection object from flex ExternalInterface.call() as a parameter
I'm calling a JS function with ExternalInterface.call and trying to get a return value

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.