Why am I getting-"The ExternalInterface is not available in this container" in Flex Mobile Project

I am using StageWebView to show an HTML page. I want to call a function in my flex mobile project to be called from a JS function. Using ExternalInterface, I have 
   in Flex - 
    ExternalInterface.addCallback("myFunction",myFunc);
   in JS -
        function thisMovie(movieName) {
           if (navigator.appName.indexOf("Microsoft") != -1) {
             return window[movieName];
           } else {
             return document[movieName];
       function showAlert()
              alert("Going to call AS function");
            thisMovie("ShowLocalHTML").myFunction("Hello");
              return false;
I am getting "Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime." when trying to run the application.
And my project targets Android platform. And  I have Mozilla, Chrome installed on my desktop - although I am not user if that is relevant to the problem.
Please help in resolving this issue.

Is there an alternative?
I want to display a local HTML file and then allow for JS to Flex communication. I am new to Flex and AS. As per my understanding, StageWebView is the only way to
show a local HTML file in a mobile project. If the script interface is not available - then I cannot achieve JS-to-Flex communication. So is there any other way to do this??
Please help ...else I will have to abandon my foray into Flex, AS and go back to Android Java.

Similar Messages

  • Why do I get the message "iPhone Not Available" when trying to make calls from my Mac even when both devices are clearly on the same Wi-Fi network?

    I am using a mid-2010 Mac Book and the iPhone 6.  I can't imagine that it is due to the age of my Mac because if it was disqualified, then we would not get the option to use it to take calls.

    I get the same message and stating that both the iPhone and Mac must be on the same network, which they are.  I was able to call from my iPad through the iPhone on the same network I'm using for the iMac and iPhone.  I've tried several settings configurations on the iPhone but to no avail.

  • When connecting my iphone 4 to itunes for the first time i get the following message "cannot connect to this device because Apple Mobile Service is not started" what does this mean and how do I solve it?

    when connecting my iphone 4 to itunes for the first time i get the following message "cannot connect to this device because Apple Mobile Service is not started" what does this mean and how do I solve it?

    I'd start with the following document with that one:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • On shut down I always get the message Program Not Responding. This happened before I installed Firefox. It does not pose a problem, that I know of but it does concern me.

    On shut down I always get the message Program Not Responding. This happened before I installed Firefox. It does not pose a problem, that I know of, but it does concern me because I always have to End Program manually when I get this message.
    == Over a year ago.

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    SeaMonkey

  • HT2188 I have an iphone 3GS that keeps getting the message "charging not supported by this device" Dismiss I have tried other usb adapters, car chargers, and directly hooked to the computer and still get the error message. Software is up to date as well.

    I have an IPhone 3GS that keeps getting the message "charging not supported by this device" Dismiss. I have tried several different ac adaptors, car chargers and even directly connected to USB on computer and still get the same message. Software is up to date as well. Help!

    Clean the dock connector with a soft dry brush.    

  • I keep getting the message "charging not supported by this device" iphone4

    i keep getting the message "charging not supported by this device" after ive clean out he port, no water damage and even brought a new apple wall charger
    and its for the iphone4

    Clean the dock connector with a soft dry brush.    

  • Encore CS5:  The software that's used to decode the media is not available on this system...

    Hi guys, I am needing assistance with this matter.  I have read up on similar threads (mostly commented on my Bill Hunt), but I fear I may be missing something.  Can anyboy please assist me?
    Here's the background:
    OS:  Windows 7 64-bit.
    Video footage format:  AVCHD 1440 X 1080 (1.333) 25fps, 48KHz
    Photoshop Images:  1440 X 1080 (1.333)
    I have been running CS4 Master collection for the past year and a half, with minimal hassles in encore (except for the early patch that needed to be downloaded and applied for some or other transcoding error in Encore CS4). 
    Right, so we bought the CS5 Master collection upgrade, and all applications are running great, except Encore.  The moment I have completed editing my hour-long video in Premiere Pro CS5, I "send to Encore" via Dynamic Link.  (This is the way I have been operating countless times in CS4.  However now, in Encore CS5, the programme opens with all the regular project settings and saving dialogues, but the the moment it looks as though Encore is going get going, it stalls and doesnt respond, forcing me to close and try again. 
    So I tried the other way around.  I restarted Encore, created a new project, in a new project folder, encore opens, and I chose to Import as "new timeline" selecting the Premiere project of choice.  This time around, i don't get a crash out of Encore, instead I get the following message:
    "The software that's used to decode the media is not available on this system. 
    Installing the correct decoders for the files you are working with may help to correct the problem."
    So I googled the matter, and came up with Bill's response to the same problem (expect the date that it was posted was back in 2009).  I am would desperately like to know if there is a solution, a patch, a workaround of some sorts that can help me get back to my usual workflow. I am pretty screwed without encore at this present moment, and the work is piling up.  Can anybody help?
    Many Thanks,
    Matt

    I am having the same problem however I end up having hardware error "Sense code 52102"
    My video capture is similar to yours except I am using HD (Canon HNV model Legria HV40)
    The process takes a long time and I have breaks in my recording to DVD and with no sound - once it completed after 40 hours.
    I have wasted over 20 DVD's trying different things.
    OS:  Windows 7 64-bit.
    Video footage format:  HD 1440 X 1080 (1.333) 25fps, 48KHz
    Photoshop Images:  1440 X 1080 (1.333)
    I have not tried what you did buy opening up Encore and importing to new timeline , let me do that and see if I get the same message.

  • I'm out of the country right now and I want to suspend my verizon service, but I couldn't. It says "Error, the service is not available at this time. Try it later" What should I do?? Plz Help me!!

    I wanted to suspend my verizon service, but I couldn't. The web shows "the service is not available at this time. Try it later..." How can I address this problem??

        Hi Shell126 - We certainly want you to be able to easily manage the account while so far from home! Have you tested a different web browser? Also try clearing the cookie and temporary internet files on your current browser. I am eager to help get this resolved!
    Thank you, 
    YaleK_VZW
    Follow us on Twitter @VZWsupport

  • The software that used to decode the media is not available on this system

    I can see that this has been asked numerous times over the years.  I am sorry to post this AGAIN, but I have not yet found a solution and have a deadline looming.
    We created a 200+ DVD's using Encore CS6 on a Windows 7 system.
    We upgraded to Windows 8.  Re-installed CS6 Production Premium.
    Now, when we try to open the projects to make a few edits, we get the "The software that's used to decode the media is not available on this system.  Installing the correct decoders for the files you are working with may help to correct the problem."
    I've done the Encore Updates.  I've done the Media Encoder updates.  I've "Run as Administrator".
    I've tried re installing.
    Does anyone have any suggestions on how to debug this?  The videos are already transcoded as *.m2v files.
    You'd think this would be easy... like install a codec or something.
    ==> Mike.

    Part of the problem is that this is probably not a "logical" error.  The common cause of this issue is still image files where the pixel size is too large. This suggests that Encore's (and other Adobe apps) ability to handle image size is exceeded without a better error message. The link, which I'm going to post until I find a "new" location (if one exists) is now a bad link:
    http://helpx.adobe.com/encore/kb/error-software-used-decode-media.html
    And in this example where it was not an image issue, the user fixed the problem by re-encoding the problem file.
    http://forums.adobe.com/message/6004428#6004428

  • Adobe encore the software that's used to decode the media is not available on this system. installing the correct decoders for the file you are working with may help correct the problem

    Hi,
      I got this message after importing about ten or so H.264 files that I encoded from Adobe media encoder.  "adobe encore the software that's used to decode the media is not available on this system. installing the correct decoders for the file you are working with may help correct the problem."
    The files we're shot with HD cameras.  Edited in Premiere Pro CS3.  I installed the update 3.0.1 with still the same error.
    I also tried a brand new project and after about ten or so files being imported into a timeline, the system crash.  I tried this twice....
        Thanks in Advance

    Hi Hunt,
           Here is the skinny.  A window base PC.  footage shot with HD sony HD cameras,  Project imported to Premiere CS3.  Once completed sent file to Adobe media encoder and render them as H.264 widescreen high Quality.  Imported them to Adobe Encore CS3.  After about ten files or so.  I got the error message.  Did all the basic trouble shoot like restarting the computer, got latest patch.  Even build a new test project with the same problem.
        Something else I read in the forums, is the encore will transcoded the project to Mpeg 2 anyway, after looking at my project I realized those few files were indeed untranscoded.  So it will be a double compression and I dont want that.  So, my new question is, what is H.264 good for ?????????? I was research that Mpeg 2 is a faster render but H.264 is a slower render but better quality.....
       what do you think ????
       Peter

  • Viber - the update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled.

    VIBER does not work!
    the update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled.

    Hi everyone yesterday I was experiencing the same problem I am glad to share its fixed now for me
    "This issue is only related to our Apple ID and to to those specific apps which we already have on phone or had installed on phone before except for those apps which we already have in purchase history AppStore>Updates>Purchase History(having cloud icon next to them) it's something related to our purchase data
    *ITS NOT RELATED TO PHONE!
    *RESETTING OR UPDATING THE DEVICE WONT MAKE A DIFFERENCE!
       (As in my case it  was on iPhone 4 7.1.1 iPhone 5s 7.0.3 and iTunes of course )
    Here is how I got it fixed
    I contacted apple support via chat method and I  asked about a solution giving my info.she told me that she submitted my application and in order to resolve this I should not be using my AppStore ID for any purchase for at least 30mins as  doing so may not resolve the issue so I checked it after couple hours and it's fixed
    (As I read in some other discussions that some people asked for solution from apple support and they told them to reset the device or so.. You may need to make your statement clear that it's appearing both on iTunes and iPhone )
    A lot of people are already facing this problem

  • The update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled.

    Ipone 5s
    Problem
    the update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled.

    Hi everyone yesterday I was experiencing the same problem I am glad to share its fixed now for me
    "This issue is only related to our Apple ID and to to those specific apps which we already have on phone or had installed on phone before except for those apps which we already have in purchase history AppStore>Updates>Purchase History(having cloud icon next to them) it's something related to our purchase data
    *ITS NOT RELATED TO PHONE!
    *RESETTING OR UPDATING THE DEVICE WONT MAKE A DIFFERENCE!
       (As in my case it  was on iPhone 4 7.1.1 iPhone 5s 7.0.3 and iTunes of course )
    Here is how I got it fixed
    I contacted apple support via chat method and I  asked about a solution giving my info.she told me that she submitted my application and in order to resolve this I should not be using my AppStore ID for any purchase for at least 30mins as  doing so may not resolve the issue so I checked it after couple hours and it's fixed
    (As I read in some other discussions that some people asked for solution from apple support and they told them to reset the device or so.. You may need to make your statement clear that it's appearing both on iTunes and iPhone )

  • I want to suspend my verizon service. However, the service is not available at this time.... Could you help me to address this problem?

    I suspended my verizon service for last 3 months and it has been reconnected few days ago. But I want to re-suspend the service for 3 more months. As far as I know, I can suspend the service up to 180 days. How can I re-suspend the service? The web shows "the service is not available at this time" for every time i attempt to suspend the service. How can I resolve the issue?

        I'm sorry you're having issues with suspending your line dyoung_lee.  For each line of your account, you can only suspend your service for up to 180 days in a 365-day period. Have you suspended your before in the past  year? Your line can remain suspended for up to 90 days.
    KinquanaH_VZW
    follow us on Twitter @vzwsupport

  • HT4847 Why do I get the answer on trying to open this application, limit reached,want to use skygo on this device visit manage devices to replace a registered device with this one. How do I do that

    Why do I get the answer on trying to open the application skygo, limit reached, want to use skygo on this device visit manage devices to replace a registered device with this one. How do I do that. ?

    Please see http://help.sky.com/tv/sky-go/register-devices-on-sky-go . Note that if you have in the past already removed one device you will have to wait for a month to elapse before you can remove another.

  • Why do I get "The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again." when loading Firefox with no explanation as to what is causing the problem?

    When I load Firefox (since an upgrade to 3.6) I get error messages before it starts stating the quote above. The message does not specify which update and so when stability problems arose I stopped using Firefox in preference for another browser. I also get a message prompting me about Java which doesn't happen with any other browser. If I cannot get rid of these messages then I will continue to prefer other browsers.

    No, if I used the version of Firefox that I had then not only did I have the problem that I described but also it crashed regularly.
    As I said, the latest version does not appear to have these problems so with any luck I will be able to say that the upgrade has resolved the issues but it is too soon to be sure.

Maybe you are looking for

  • Printing the text in JTextPane

    Hello I need to print the text in a text pane. It prints the first page of the text pane and it doesn't print the rest of the text. I don't know what the problem is. The code I am using, is below. I Thank you. LilyLay import java.awt.*; import javax.

  • Setting Chart type property of iSPC chart dynamically doesn't work

    Hi all,       I am trying to set the chart type property (XBAR, MEDIAN etc..) of iSPC chart dynamically from my html page. This is the code that I used. var chart_obj = document.iSPCChart.getChartObject(); chart_obj.setChartType("MEDIAN"); iSPCChart

  • How to access Sybase IQ data from SAP BW

    Hi, I read from Sybase website that we can access Sybase IQ data from SAP BW using Remote Cube through JDBC driver. Is there any documentation on how to configure that? Thanks in advance for your help. Our BW version is 7.01 Sybase IQ is 15.4 Thanks,

  • Error : Workflow definition does not exits(T-code : SWU7 )

    Hi All, I checked my workflow template in SWU7 .Its gives me error "Workflow definition does not exits". In the bottom left of screen it displays message : "Container Element ZBUS2081 is not used". How can remove this error ? Please help..

  • Touchsmart "House" icon is gone, where can I download it?

    I have an HP Touchsmart all in one IQ526 model desktop. I recently had it upgraded from Vista to Windows 7, but the house icon has disappeared, and is nowhere on the computer. This icon allowed for me to access my built in webcam, among other things,