Problem with ExternalInterface.call and Internet Explorer

Hi, I´m developing a site, (
www.gen-studio.com/avelart2
), and I´m using a swf to display a set of thumbs that when
clicked show an item and its description on the browser, those
items might be images or video, everything works fine with the
images.
And actually it works fine with the videos too, when using
Firefox, but when I test the page on Internet explorer it just
doesn’t work!
On principle let me describe how it´s supposed to work,
a thumbnail when clicked sends an id number to javaScript using
ExternalInterface.call(“myFunction”,myId); -I´m
using AS3 for the swf´s-
the javaScript file has already loaded (ever since$(
document).ready) a XML file which uses to match the id with a file
and the description, if the item to show it´s a video, then it
creates a variable which holds a string with the proper html to
embed a swf (a swf movie player that resides just next to the HTML
file), when loaded, the swf movie player uses
ExternalInterface.call() to ask for the source of the video that
has to play, and that function is as follows:
setVideo: function(){
alert("hola");
return comun.miVideo;
(The alert(“hola”); is just to test that the
function is being called), which it is, but it returns null as a
value instead of the proper string, and this happens only on
internet Explorer, but works correctly on Firefox.
I´ve been reading all day about the subject and found a
few interesting things, which though have made me narrow my
problem, they haven´t just provided me with a solution, what I
found so far:
-I must have in account flash security issues: Checked (my
actionScript follows:)
import fl.video.*;
import flash.external.ExternalInterface;
flash.system.Security.allowDomain("*");
var vid:FLVPlayback = this.miPlayer;
vid.source =
flash.external.ExternalInterface.call("comun.setVideo");
-ExternalInterface and Internet explorer don´t work
properly when tested locally: Checked (I have a server on my PC and
I´m testing the site as well in the above direction).
-The object tag holding the swf must have a proper id
attribute: Checked.
-It´s super important the way the object tag is formed:
Checked, and I also tested the tag separately (I put it directly in
the HTML instead of adding it via javaScript) and it worked as
expected in both Firefox and Internet Explorer, which leads me to
believe:
-I read somewhere that if you add the object tag by using
innerHTML or appendChild, returning values from javaScript to swf
won´t work, but I couldn´t find an explanation nor a
solution.
Well, as I said now I´ve been looking all day for an
answer, so I really hope you can help me or give me some advice on
the subject, thank you so much for your time!

Hi! it solved itself !! (nahh, I wish), but it indeed had a
solution, it was something quite simple, and I don´t really
understand why it was not working in the first place, but here is
the thing:
I´m learning jquery and this is the first proyect
I´m officially using it, so I was using
$('#myDIV').append("string"); to embed the swf, (and it was working
perfectly on Firefox), so since I had narrowed my problem to those
lines, I decided to try some good-old-fashioned-javaScript and
changed it for: var myDiv =
document.getElementById('thatParticularDiv'); myDiv.innerHTML =
('string'); and it worked both in Firefox and IE !!!!!! :)
I´m quite happy about it, and if someone knows
what´s the issue with my jquery approach I would love to hear
it. THANKS !!

Similar Messages

  • Problem with WIndows 7 and Internet Explorer 11

    I have Windows 7 Pro and just completed installing Service Pack 1.  I checked the the System information and it indicates that the Service Pack did in fact install.  I am now trying to install the latest version of Windows Explorer 11 and when
    I try, I get a message that states "Operating System is not Supported" "you need Windows 7 SP1 or Server 2008 R2 SP1 to install Internet Explorer 11.
     I have worked on this problem for about six hours.  Reinstalled Service Pack 1 and anything else I can think of.  I can't get Internet Explorer 11 to install.  I use GMail and it is advising me that I need to upgrade to the lates version
    Internet Explorer.
    Can anyone give me some advice?

    Which version of Internet Explorer are you currently running? And how are you trying to install IE 11?
    Although there are standalone installers for IE, it's usually best if you can install it through Windows Update. From memory I think IE 11 can only be installed on top of IE 9 or 10. 
    Please can you open Windows Update, and click Check for updates. Once this has finished checking, look in both Important and Optional updates, and see if an updated version of IE appears.
    Regards,
    James Henderson
    MTA: Windows Server Admin Fundamentals
    MTA: Networking Fundamentals

  • Problem with af:showPrintablePageBehavior and Internet Explorer

    Hi, I am using JDeveloper 11.1.2.1.0.
    I have a table with the iterators Range size = -1 and the tables AutoHeightRows and FetchSize set to estimatedRowCount.
    I have added a commandButton with af:showPrintablePageBehavior to the page.
    The table I am printing generates 4 pages in Firefox, Chrome and Safari. In Internet Explorer 8 and 9 I only get 1 page. (The metadata on the page also say page 1 of 1. )
    Unfortunately we have some customers that use Internet Explorer, so how do I make this work for them?
    All data is viewed at the printable page in IE, but when printed there is only 1 page.
    Regards,
    Thomas H.

    Hi,
    not sure this is an issue with the showPrintablePageBehavior if IE shows all data in the browser after using this behavior. The print functionality is owned by the browser and obviously it doesn't get to all of the page content (which I think is out of the ADF Faces scope). You may try and file a Service Request with customer support for them to have a look. However, if the showPrintablePageBehavior properly displays the data, then I am not sure what we can do to make the browser native print functionality working
    Frank

  • Problem with hidden items and Internet Explorer

    Hello,
    I have discovered a very strange behavior of my Page in which are a few hidden items!
    In a region six hidden items produces an empty row! But this empty row is only be displayed in Internet Explorer! In Firefox everything looks fine!
    Does anybody have done the same experiences about that?
    Is there a solution for this problem?
    Regards,
    Tim

    Tim,
    I have discovered a very strange behavior of my Page
    in which are a few hidden items!
    In a region six hidden items produces an empty row!An empty row where? In a report? In a form?
    But this empty row is only be displayed in Internet
    Explorer! In Firefox everything looks fine!Although hidden items are 'hidden' they're still part of the HTML and consume space within the HTML source of the page. Is ApEx just putting these items inside a td tag that shows up in the browser? Maybe you could post an example on apex.oracle.com.
    Earl

  • A problem with this webpage caused Internet Explorer (IE9) to close and reopen the tab

    I have IE9 (using 32-bit version) installed on a relatively new laptop with Windows 7 64-bit. Up until last weekend IE9 worked fine and Flash Player worked fine too.
    At the weekend a webpage asked for Flash Player to be updated - which I did. Ever since then whenever I go to a webpage needing Flash Player I get the message "A problem with this webpage caused Internet Explorer to close and reopen the tab". This happens twice and then an IE9 error page.
    I have read the discussions in here about the problems with Flash Player 10.3 and have tried the various solutions. I have updated to 10.3.181.16 having tried 15 and 14 previously. Same problem.
    I have reset IE9. Same problem.
    I have disabled all add-ons which stops the problem. If I enable just the Flash Player add-on then the problem recurs. Since there are so many webpages that use Flash I do not want to run my browser without this add-on running.
    If I enable the add-on and run IE9 using software rendering instead of GPU rendering then I don't get the problem. However, this isn't exactly making the best use of the resources on my laptop.
    This may well all be related to the 10.3 problems but no one seems to have mentioned having a problem with tabs closing and reopening so I thought I would post on here to check.
    Any suggestions for how to solve this (other than using software rendering)?

    Thanks again for your reply. I appreciate the time you have taken to respond.
    I think, however, you misunderstand the problem. IE9 does not reopen the tabs on just one website - it is doing this on every website that needs Flash Player. Therefore, running in Compatibility mode is not an option. In fact, because IE9 reopens the tabs so quickly and then ends up with an error page, I cannot even click the Compatibility button anyway.
    I could use ActiveX filtering - true. All that this means is that Flash does not play on any of the websites. When I want to re-enable ActiveX for a particular website where I need to see the Flash Player item, this just triggers the error.
    This problem also happened on .14, .15 and well as the current .16 version. It did not happen with the previous version of Flash Player that I had on the system (version 10.2 I think).
    The fact is that either Flash Player or IE9 or both is/are broken. The two choices I am still left with are:
    1. Use software rendering (which contradicts the latest advertisements for IE9 about unleashing the power of IE)
    2. Use another browser - I have no problems with either Firefox or Chrome

  • Problems with dropped calls and no reception on Samsung Continuum

    My mother and I both purchased a Samsung Continuum in late March 2011, and have experienced the same problems with the phone.  The device drops at least 2-3 calls per day, often on the same conversation; we have not found that location or time of day makes a difference.  The phone freezes up frequently, even if no apps are running in the background.  We lose our 3G network reception frequently, and cannot access our texts, emails, or the internet.  The screen saver kicks in even when we are actively dialing a number, or typing in a text message.  The overall performance of the phone is also poor, and it is quite slow much of the time.
    We have raised this issue several times with a representative at one of the Verizon stores, but he states that he can find no problem with the phone, and that these issues may not be covered under our insurance plan.  None of my friends with non-Samsung phones are having the same problems with phone reception and performance.  I am aggravated enough with these issues that I am considering reactivating my old Blackberry, which worked like a charm.
    I am not upset that my phone has not been updated to Android 2.2.  I just want the phone to perform as stated, and not fail at its primary function:  making and receiving phone calls.  I am not certain if these problems originate with the phone, Verizon, or Samsung, nor do I care.  I just want to resolve these issues as soon as possible, or I will have to look at other alternatives.
    Thank you.

    If this doesn't work...now what??? I have a useless $400 plus piece of unreliable junk. My Motorola Razor was ions more reliable than this phone...very, very sad but true.
    What carrier were you using with the Razor? AT&T? Same area?
    Dave M.
    MacOSG Founder/Ambassador  An Apple User Group  iTunes: MacOSG Podcast
    Creator of 'Mac611 - Mobile Mac Support' (designed exclusively for an iPhone/iPod touch)

  • Troubles with web.show_document and internet explorer

    Hi folks, this is my problem
    I generate a text file on forms and then I use this to open the document in a new window
    web.show_document( nome_ver_, '_BLANK' );where nome_ver_ is a variable with the url
    Using mozila firefox this run fines and a new window is open and everything goes right.
    But in some machines with the internet explorer the new window appear and then close in milliseconds. I try different's versions of IE on the machine and still have the problem...
    Anyone see this bug?
    I try to disabled everything on secure on IE and still nothing...
    Sorry for my bad english and thanks in advance
    Luis

    You are generating a text file you say. Is it a pure text file? Or is it html that you wnt the user to view in the browser?
    In what versions of IE is this happening in?

  • Problems with sub menus in Internet Explorer

    My menu bars work great in Chrome and Firefox however my submenus are jacked up in Internet Explorer. Can someone please give me some direction? Thanks.
    The website is www.aptyssolutions.com

    Have a look here http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one
    Then have a look at what you have got
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
           display: block;
            f\loat: auto;
            background:
    and
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: AUTO;
        position: absolute;
        left: -1000em;
       top: 23px;
        height: 35px;
        background-image: url(/images/bluebar.png);
    There is more, but the above is most likely what is causing the problem.
    I suggest that you resurrect the original SpryMenuBarHorizontal.css and start again.

  • Problem with jinitiator in my internet explorer

    I am using Forms and Reports 10g and Database 10g. Installed both successfully.
    When i try to run a form(even Test.fmb) , it is not working in internet explorer.... i still could not understand the problem. But, i noticed one thing... either, JInitiator is not installed or it is not invoking automatically when i run the forms... this is the problem.. can someone help me on this please?

    I am using Forms and Reports 10g and Database 10g.
    Installed both successfully.
    When i try to run a form(even Test.fmb) , it is not
    working in internet explorer.... i still could not
    understand the problem. But, i noticed one thing...
    either, JInitiator is not installed or it is not
    invoking automatically when i run the forms... this
    is the problem.. can someone help me on this please?When you say "it is not working..." what do you mean??
    What is the error message raised??
    Does the browser crashes??
    Keep in mind that to run a form from the forms builder (including test form) you must start the OC4J instance.
    Tony

  • Problem with OCI call  and  how to install and use 'DEBUG_EXTPROC' on Linux

    Hi,
    Can any one let me know how I can install and use this debug_extproc package. I have installed oracle XE server on Linux machine(32-bit).
    When I use : DEBUG_EXTPROC.STARTUP_EXTPROC_AGENT' ... i get an error saying that : it is not declared.
    I tried looking in all the directories but did not find the dbgextp.sql(which is required in order to install that package).And tried searching on google but could not get any relevant information.
    Also I am newbie to OCI call interface and also to C programming too: I have coded a external procedure or custom user aggregate in C. But since I was using C++ : 'set' STL. I have compiled my program using g++ instead of gcc and I have correspondingly modified the make file in public/demo directory.
    So, is it fine to do it that way: using OCI (instead of OCCI(C++)) but again compiling the pgm as a regular C++ using g++ instead of gcc.(But rest of the pgm including printf statements : everything is in C).
    Also I have created the library from my : custagg.so library:
    SQL> create or replace library custagg is '$ORACLE_HOME/lib/custagg.so'
    But my aggregate function implemented as external C function using OCI is either not recognised or else : if recognized then there is some error because of which i am getting the following errors : ORA-06522
    SQL> select MinDistance(TT) from egg1;
    select MinDistance(TT) from egg1
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/custagg.so:
    cannot dynamically load executable
    Please kindly answers my queries and trying to resolve this for almost 4 days now and could not find any clue on how to get this done.
    Thanks,
    -NN

    #/bin/make
    # Make file for OCI,OCCI and ODBC demos
    # Usage :
    # For compiling & linking the cdemo81.c file
    # make -f demo_xe.mk buildoci CDEMOEXE=cdemo81 CDEMOOBJS=cdemo81.o
    .SUFFIXES: .o .c .cpp
    ICINCHOME=$(ORACLE_HOME)/rdbms/public/
    ICLIBHOME=$(ORACLE_HOME)/lib
    ICLIBPATH=-L$(ICLIBHOME)
    THREADLIBS=-lthread
    CCLIB=$(ICLIBPATH) -lclntsh $(THREADLIBS)
    OCCILIB=$(ICLIBPATH) -locci -lclntsh $(THREADLIBS)
    CCINCLUDES = -I$(ICINCHOME)
    CCFLAGS=$(CCINCLUDES) -D_REENTRANT -g -xs
    LDFLAGS=
    SO_EXT=.so
    EXTLDFLAGS=$(LDFLAGS) -shared
    REMOVE=rm -rf
    MKLINK=ln
    MAKE=make
    MAKEFILE=demo_xe.mk
    CDEMOEXE=custagg.so
    CDEMOOBJS=custagg.o
    OCCIDEMO=occidml
    OCCIOBJDEMO=occiobj
    OTT=$(ORACLE_HOME)/bin/ott
    OCCIOTTUSR=hr
    OCCIOTTPWD=hr
    ODBCDEMOEXE=odbcdemo
    ODBCDEMOOBJS=odbcdemo.o
    AQDEMOEXE=ociaqdemo00
    AQDEMOOBJS=ociaqdemo00.o
    EXTDEMO=extdemo2.so
    CC=/usr/bin/g++
    echo "LIBCLNT value is :" $(LIBCLNT)
    echo "CC value is :" $(CC)
    .c.o:
    g++ -c -I$(ICINCHOME) $(CCFLAGS) $<
    all: clean buildoci
    echo "LIBCLNT value is :" $(LIBCLNT)
    buildoci: $(LIBCLNT) $(CDEMOOBJS)
    g++ -o $(CDEMOEXE) $(LDFLAGS) $(CDEMOOBJS) $(CCLIB)
    echo "CC value is :" $(CC)
    echo "LIBCLNT value is :" $(LIBCLNT)
    clean:
    $(REMOVE) $(CDEMOOBJS) $(CDEMOEXE)
    # This port-specific file is currently empty on Solaris. Product
    # lines may use this file to override compiler definitions and
    # flags used in occi.mk.
    # Linux compiler definitions
    CC=/usr/bin/gcc
    cc=/usr/bin/gcc
    CCFLAGS=$(CCINCLUDES) -DLINUX -D_GNU_SOURCE -D_REENTRANT -g
    LDFLAGS=-g
    # This macro CCINCLUDES has to be redefined on Linux because of
    # the existence of the 'new' directory in t_work. The name new
    # clashes with a system header file.
    CCINCLUDES = -idirafter .
    THREADLIBS=-lpthread
    ifdef BUILD_CCC296
    CC=/usr/bin/g++296
    endif
    And I am executing the make file using the command :
    make -f demo12.mk buildoci CDEMOEXE=custagg.so CDEMOOBJS=custagg.o
    I am not getting any error while running this make file.
    Can you please tell me whether PLSQL/Oracle is able to locate the file or not. Incase, if it is locating the file but due to some error in the custagg.so it is throwing that error. If this is the case, is there any way that i can debug the C program .....how can i install the debug_extproc package.. I am really new to C & OCI ... if the custagg.so is being located then there might be some problem with the way I am dynamically allocating memory to some variables.
    Please kindly reply to this Post/response.
    Please let me know if you also want to see my program code.
    Thanks & Regards,
    -NN

  • Problems with flash player through internet explorer on MacBook

    Here is the problem:
    I downloaded internet explorer for mac to use it in some websites that requires this browsers. when I opened the site a pop-up message came out saying that I need flash player plug in so I went to that website of adobe that was suggested using internet explorer but it freezed. so I went to the adobe website and I used Safari this time and I downloaded the flash player installer . I installed it & it was successfull . I went back to use the internet explorer to the earlier website that requires internet explorer and I got the same plug-in required window. I'm new to mac I don't know what to do. help me please.
    I have got MacBook Mac OSX 10.6.4

    IE for Mac hasn't been supported by microsoft for 7 years. I'm surprised that it works at all. There's probably a conflict between the flash and the browser.
    A better way to run IE may be installing windows via crossover, boot camp or vm on your MacBook.

  • Problem with history manager on internet explorer

    Hello,
    I'm using the flex's history manager to save a state of my
    application. When I use firefox everything works almost fine, but
    when I use internet explorer nothing works. I tried both 6.0 and
    7.0.
    Do anyone know why does this happen and how can I workaround
    it?

    Hi Konstantin,
    Searching through our bugbase, I found this bug which sounds
    like the issue you're having:
    history management doesn't work when previewing a local file
    in IE:
    http://bugs.adobe.com/jira/browse/FB-443
    This should work fine when using an http url. If not, can you
    please log a bug?
    thanks,
    Sharon

  • Problem with dreamweaver site on internet explorer

    Hi all
    Help required! i have a website up and running www.villaneptunecyprus.co.uk which works fine in most browsers apart from Internet Explorer!
    If you have a look you will see a slider banner picture come across the screen  which then slides out to be replaced by another and so on. However in IE the first banner slides in and then out and then all the text disappears and the website , for want of a better word, just stops. You can still navigate to other pages in the site but the same thing happens eventually.
    Just cannot quite see what is going wrong.....any suggestions gratefully received!!
    Regards
    Neil

    Code errors are responsible for 90% of browser display issues.
    Start by fixing your code.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fpromanageidaho.com%2F
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • ITunes 11.1.3.8 on Windows 8.1 64 bit display problems with CD tracks and Internet Radio

    Recently installed iTunes 11.1.3.8 on a Windows 8.1 64 bit machine and I have the following problems:
    1) Inserting a CD in order to listen or import tracks I get no display of tracks when I click the CD drive in the side bar. The list has only white and gray lines where the tracks should have been listed and the top of the table contains some grabbed display from Music table (i.e. the first track that was displayed in Music but only 2/3 of the line. The status bar at the bottom of the iTunes window shows correct information about the number of tracks and total playing time.
    2) Hitting the play button while on this CD Drive listing starts the playback but the tracks play in random sequence even though shuffle play is not selected (not blue to be precise). In the zone with track name, playback progress, elapsed and remaining time and other track options the indications are correct.
    3) Importing the CD works but the tracks are imported in random order. Track information from CDDB providers is accurate eventhough nothing is displayed while selecting CD drive as per problem 1). Imported tracks in Music show in random order. This is also strange because when I was importing something from a CDDB indexed CD or even a non indexed one the tracks were always imported in the order they were written on disc.
    4) Going to Music -> Internet I get the same white and gray lines with no stations displayed but this time the status bar reads Zero Stations. Obviously I can't select/listen anything
    I'd say I'm quite experienced with iTunes, using it since 2005 but never had problems of this type. Some assistance would be helpful. I smell a bug that maybe shows up in my particular configuration. Searched everywhere, maybe not good enough, but couldn't find something even similar.

    i have the same problem no radio stations at all bit shabby hate technolgy now adays

  • Problems with text messages and internet access

    I have an Apple 5c and over the last few weeks my text messages to most people had not been completing the send. Now, in addition, I am not receiving most messages and I can't access the internet for most apps (like maps, yahoo search, youtube). Is anyone else having this problem? Does anyone have any suggestions as to why this is happening and how to go about fixing it?

    Try removing then reinserting the SIM card -
    SIM Card Inserting Removing Apple iPhone 5 | Verizon Wireless
    It may just need a refresh to reconnect to the network again.

Maybe you are looking for

  • I am getting "invalid signature" error when i try updating itunes. How do I fix?

    I received a notice that an update was available for itunes. I went through the installation process and then near the end an error message came up telling me that it would not be installed because of an invalid signature I tried doing this again onl

  • Can I build a waveform reference

    I am using Labview 6 and would like to build a wave form reference property node. I want to do this so that I can use a for loop to create a series of waveform names and feed them to one property node , is this possible??

  • 2 appleTV 2 and 2 ipads

    I have 2 Apple TV2, 1 at home and 1 at a cabin. The cabin broadband isnt fast enough to stream video. I download movies at home on an Ipad and airplay it on the Apple TV2 at the cabin. My wife now has an Ipad and a downloaded a movie. It will not str

  • IPhoto '11 Cannot Export Photos

    Noticed tonight that I cannot export any photos. When i select the photo and select export, nothing happens. No messages or errors. No photos. Any ideas?

  • How does message work

    Can't figure out how to text from ipad with the update