Why call ExternalInterface fail?

I want to ActionScript3 set HomePage to "www.google.com",so I use following stagement:
private function onMouseClick(e:MouseEvent):void {
  ExternalInterface.call("setHomePage"," http://www.google.com");
Then I call this swf in html page,like follows:
<html>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="558" height="207">
      <param name="movie" value="Demo.swf">
      <param name="quality" value="high">
      <!--<param name="wmode" value="transparent">-->
      <embed src="Deom.swf" width="558" height="207" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</body>
</html>
When I use mouse click,IE8 raise javascript error.
'null' is null or not object
Where wrong with my code? How to correct it? Example code is better.
Thanks

I try to add javascript into html file,like follows:
<html>
<script language="JavaScript">
function setHomePage(navigateURL) {
alert(navigateURL);
</script>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http : // download .macromedia .com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="558" height="207">
      <param name="movie" value="Demo.swf">
      <param name="quality" value="high">
      <!--<param name="wmode" value="transparent">-->
      <embed src="Deom.swf" width="558" height="207" quality="high" pluginspage=" http : // www .macromedia .com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</body>
</html>
I run above code,When I use mouse click,IE8 raise javascript error
'null' is null or not object
Where is wrong?
If I single run Demo.swf,it raise following error:
Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX,....
I am puzzled with it!  How to solve above error?
Thanks

Similar Messages

  • Transfered calls are failing

    Hi All,
    In IPCCE environment, some of the agent to agent transfer calls are failing with the below error.
    Couldn't find CallConnection with DeviceID of 32767308.  CILConnectionID:9
    I can see this same device ID 32767308 for all the failed calls. This device ID 32767308 is present only in ctios client and server logs. Any idea where/why this device ID getting generated for the failed calls?
    Regards,
    Adithya

    Hi Irfan,
    Thanks for the reply.
    Let me explain the cal flow.
    Agent A selects the available agents(Agent B) first and then consults with agent B(First Call leg). If agent B agrees to take the call, agent A does the complete transfer.(call leg 2) which triggers the ICM script thru a Dailed Number.
    Just we found that here  the call leg 1 is getting dropped before establishing the call leg 2. Thats why we see that the error message Couldn't find CallConnection with DeviceID. Any suggestion?
    Regards,
    Adithya

  • The Cluster Service function call 'ClusterResourceControl' failed with error code '1008(An attempt was made to reference a token that does not exist.)' while verifying the file path. Verify that your failover cluster is configured properly.

    I am experiencing this error with one of our cluster environment. Can anyone help me in this issue.
    The Cluster Service function call 'ClusterResourceControl' failed with error code '1008(An attempt was made to reference a token that does not exist.)' while verifying the file path. Verify that your failover cluster is configured properly.
    Thanks,
    Venu S.
    Venugopal S ----------------------------------------------------------- Please click the Mark as Answer button if a post solves your problem!

    Hi Venu S,
    Based on my research, you might encounter a known issue, please try the hotfix in this KB:
    http://support.microsoft.com/kb/928385
    Meanwhile since there is less information about this issue, before further investigation, please provide us the following information:
    The version of Windows Server you are using
    The result of SELECT @@VERSION
    The scenario when you get this error
    If anything is unclear, please let me know.
    Regards,
    Tom Li

  • HT5622 Actually um trying to update new iOS 7 for my iphone 4 but when i press the button to install new software suddenly it appears why " iOs 7 failed verification because you are no longer connected to the internet " even my phone is already connected

    hie there Actually um trying to update new iOS 7 for my iphone 4 but when i press the button to install new software suddenly it appears why " iOs 7 failed verification because you are no longer connected to the internet " even my phone is already connected to net

    I tried powering down and re-starting the iPhone (as suggested at http://support.apple.com/kb/TS1275). This seems to have cleared the "...not connected to the Internet" problem, and iOS 6.1 is now in the process of downloading.
    Thanks very much for your feedback.

  • First call attempt fails with 12000; reason="Routes available for this request but no available gateway at this point"

    We've installed a new Audiocodes Mediant 1000B gateway for our customer.  They only have about 6 users enabled for Enterprise voice and using Lync for all calls.  They have an intermittent problem whereby the first call attempt to a number on the
    PSTN fails with 12000; reason="Routes available for this request but no available gateway at this point".  There is only one PSTN gateway installed.  All routes point to this gateway.  What I found initially is that the calls
    were failing after 10 seconds which is the default "failovertimeout" in the OutboundRouting.exe.config.  I found this post http://voipnorm.blogspot.co.uk/2012/06/lync-2010-gateway-timeout-call-failures.html and
    changed the value to 20 seconds.  Subsequent failures failed after 20 seconds (the new value).  The interesting thing is that the second attempt even a couple of seconds later succeeds.  My Lync server event log has 46046 "A call to a PSTN
    number failed due to non availability of gateways." for the failed call and 46047 "A PBX gateway is now responding to requests after some failures." for the successful call moments later.
    My environment is Lync 2010.  A single enterprise edition Front End with collocated mediation.  The server is virtual and in a different physical location to the gateway.  The two sites are connected via a LES1000.  The RTT between the
    sites is very low so it isn't necessarily networking.
    In the Syslog output on the Audiocodes we don't see the call even reach the gateway.  It's likely that Lync has simply marked the gateway as down and doesn't route the first call.  Then it wakes up and marks it as up and routes the next call.
    Update wise I'm on 4.0.7577.183, 199 and 217 for those that are up to date and the only components that are behind say that 223 is available.  Those being Core Components, Lync Server, Conferencing Server and Web Components.
    As I said, this is intermittent, apparently doesn't happen for every user (which I don't buy), but is easily replicated on request.
    I definitely think changing the failovertimeout value has reduced the number of failures.  But realistically I don't want users sitting there for 20 seconds before their call fails.  Or 19 seconds for the call to route.
    I've found a few posts on this and similar issues.  I don't get the 25051 or 25052 errors.
    Any help gratefully appreciated.
    Regards
    Randy Chapman
    Best Regards Randy Chapman

    Try to change the value of Failovertimeout to 1000.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • The ADS call has failed - Error

    Dear all
    I have created one web dynpr application with interactive forms followed by saptechical.com, If i run the web dynpr application, it thrown an error
    "WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server"
    I have checked standard prog. (FP_PDF_TEST_00) for checking ads connection, thats working fine. It shows a forms.
    But if i run my custome web dynpro application, it shows error.
    Please give a solution.

    Hello,
    please also check:
    FP_TEST_00
    and
    FP_TEST_IA_01
    these also have to work in order to render interactive PDF inside a Webdynpro ABAP application.
    I assume:
    1. You do not have proper destination service configuration. (described in note: #915399)
    or:
    2. The credential is not properly installed into your ADS.
    Please ensure the credential is installed, the expiry date is visible and the J2EE engine was restarted after the credential has been installed.
    Best regards,
    Dezso

  • Why use oracle fail safe???

    hi
    i have one question..
    why use oracle fail safe???
    In the case windows HA System, our systems is operating Oracle database using only Windows Cluster (MSCS) without Oracle Fail Safe!!
    Without oracle fail safe, our systems was installed Oracle database.....
    if using oracle fail safe, how is merit???.
    Thanks...

    Hi Kim,
    why use oracle fail safe???Refer http://download.oracle.com/docs/html/B12070_01/intro.htm#i1005996
    Hope helps
    Regrads,
    Xaheer

  • Can you please tell us why our API fails

    Can you please tell us why our API fails when we use this timezone of Slovakia?
    API Name: jtf_tasks_pub.create_task
    This standard oracle API fails with the error : TIMEZONE FOR 483 IS EITHER DISABLED OR INVALID
    But we do have the Timezone record number 483 in Oracle.
    If we run this query, we see UPGRADE_TZ_ID 483 assigned to Europe/Bratislava
    select * from apps.fnd_timezones_vl
    where UPGRADE_TZ_ID=483
    Please let us know why it fails.

    I'd suggest you log a SR for this issue.
    Thanks,
    Hussein

  • CTI Warning: The call has failed because of network interruption

    Hi, one of agents received incoming call and his call dropped within few seconds and error on CTIOS agent desktop was "CTI Warning: call has failed because of network interruption". I investigated and got info from icm database schema that this error is 26-U-Abort and caused due to network congestion. Network team shown the logs and no error regarding network found. What else could be the reason?

    Hi Folks, I am facing the same issue with multiple Agents on random PCs. So it doesn't look PC issue or Phone issue. these Ip Phones not IP Comm.

  • RW Cronacle : JOB_RUN_OUTPUT: R/3 call BAPI_XBP_JOB_JOBLOG_READ failed

    Hello everyone,
    We have a problem with a RFC agent in Cronacle, it cannot connect to the target system, we get this error message :
    RSUSR000/18073800: opened
    RSUSR000/18073800: step 1 execution of RSUSR000 
    RSUSR000/18073800: closed
    RSUSR000/18073800requested to run as soon as possible
    RSUSR000/18073800: Step 1 has no spoollist id
    JOB_RUN_OUTPUT: R/3 call BAPI_XBP_JOB_JOBLOG_READ failed
    RFC error: XM034
    RFC Message: Internal problem (function BAPI_XBP_JOB_JOBLOG_READ)
    Have you ever met this kind of issue ? Do you know what can make this happens ?
    The system seems to be OK, other RFC agents are OK, they are connected to the other systems.
    Thanks for your help.
    Sheduling team

    I cannot acces to the syslog of the system for yesterday, but I tried to execute the RSUSR000 this morning and it failed again, then that's what we get in the syslog :
    Time     Type Nr  Clt TCode Priority Grp N Text
    09:19:45 DIA  000 400                AB  0 Run-time error "CALL_FUNCTION_NOT_FOUND" occurred
    09:19:45 DIA  000 400                AB  1 > Short dump "100309 091945 c3slsap015_XI4_04 CRONACLE " created
    09:19:45 DIA  000 400                AB  0 Run-time error "CALL_FUNCTION_NOT_FOUND" occurred
    09:19:45 DIA  000 400                AB  1 > Short dump "100309 091945 c3slsap015_XI4_04 CRONACLE " created
    09:23:46 BTC  012 400                F6  1 TemSe input/output to unopened file
    09:23:46 BTC  012 400                R3  8 Error at DB commit, return code 001024
    09:23:46 BTC  012 400                R1  8 SAP Commit Failed
    09:23:46 BTC  012 400                F6  1 TemSe input/output to unopened file
    09:23:46 BTC  012 400                R3  8 Error at DB commit, return code 001024
    09:23:46 BTC  012 400                F3  T Invalid object name for TemSe object: " "
    09:23:46 BTC  012 400                F6  1 TemSe input/output to unopened file
    09:23:46 BTC  012 400                R3  8 Error at DB commit, return code 001024
    09:23:46 BTC  012 400                R1  8 SAP Commit Failed
    09:23:46 BTC  012 400                F6  1 TemSe input/output to unopened file
    09:23:46 BTC  012 400                R3  8 Error at DB commit, return code 001024
    09:23:46 BTC  012 400                F3  T Invalid object name for TemSe object: " "
    09:23:47 BTC  012 400                EC  F Failed to create log for job RSUSR000 09234500%_IMMEDIATE %NEWSTEP/
    09:23:47 BTC  012 400                F6  1 TemSe input/output to unopened file
    09:23:47 BTC  012 400                R4  7 Delete session 001 after error 009
    09:23:47 BTC  012 400                EC  F Failed to create log for job RSUSR000 09234500%_IMMEDIATE %NEWSTEP/
    09:23:47 BTC  012 400                F6  1 TemSe input/output to unopened file
    09:23:47 BTC  012 400                R4  7 Delete session 001 after error 009
    To answer your last question, Last question, assuming it has worked before: has the security of the RFC user used by Cronacle been changed ?, I don't have the answer yet, I will inform you of this point asap.
    Regards Anton,
    Scheduling team.
    Edited by: Architecture Architecture on Mar 9, 2010 9:56 AM

  • Error in BW ( Operating system call SiPeekPendConn failed )

    Hi All,
    This is Ganesh, new to SAP BASIS. We are facing some errors in BW, where users cannot able to run BW reports from yesterday.
    Please find below system log details:
    Operating system call recv failed (error no. 10054)
    NiConnect Unsuccessful, Return Code: -0010
    > Host: 156.5.30.34
    > Service: sapgw00
    Please help me out by providing the solution and the cause for above system log.
    Waiting for your reply.
    Best Regards,
    Ganesh

    Hi,
    check this,
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/sap-r3-to-bw-521356#M521423
    Also try to search with the error ur getting in Google or for Notes in SMP.
    Regards,
    Ravi

  • I fail to start the sap server with error:Operating system call recv failed

    I fail to start the sap server in SAP R3 Management Console and the message in the syslog was :
    R/3 Basis System: Operating system call           recv failed (error no. 10053)
    Is there any one could tell me how to resolve the problem or give me some advice?I will appreciate him/her very much.Thank you.

    trc file: "dev_disp", trc level: 1, release: "620"
    Sun May 07 13:14:30 2000
    kernel runs with dp version 3(ext=1) (@(#) DPLIB-INT-VERSION-3)
    length of sys_adm_ext is 304 bytes
    systemid   560 (PC with Windows NT)
    relno      6200
    patchlevel 0
    patchno    674
    intno      20020600
    pid        3628
    ***LOG Q00=> DpSapEnvInit, DPStart (00 3628) [dpxxdisp.c   978]
         shared lib "dw_xml.dll" version 674 successfully loaded
         shared lib "dw_xtc.dll" version 674 successfully loaded
         shared lib "dw_stl.dll" version 674 successfully loaded
    Sun May 07 13:14:32 2000
    WARNING => DpNetCheck: NiAddrToHostCanon() took 2 seconds
    Sun May 07 13:14:37 2000
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3212]
    MtxInit: -2 0 0
    DpShMCreate: sizeof(wp_adm)          12784     (752)
    DpShMCreate: sizeof(tm_adm)          1690816     (8412)
    DpShMCreate: sizeof(wp_ca_adm)     18000     (60)
    DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    DpShMCreate: sizeof(comm_adm)     192000     (384)
    DpShMCreate: sizeof(wall_adm)     (22440/34344/56/100)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 001E0040, size: 1977824)
    DpShMCreate: allocated sys_adm at 001E0040
    DpShMCreate: allocated wp_adm at 001E0560
    DpShMCreate: allocated tm_adm_list at 001E3750
    DpShMCreate: allocated tm_adm at 001E3778
    DpShMCreate: allocated wp_ca_adm at 00380438
    DpShMCreate: allocated appc_ca_adm at 00384A88
    DpShMCreate: allocated comm_adm_list at 003861F8
    DpShMCreate: allocated comm_adm at 00386210
    DpShMCreate: allocated ca_info at 003B5010
    DpShMCreate: allocated wall_adm at 003B5018
    MBUF state OFF
    Sun May 07 13:14:38 2000
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 2458 MB
    <ES> 2457 blocks reserved for free list.
    ES initialized.
    ***LOG Q0K=> DpMsAttach, mscon ( db01) [dpxxdisp.c   9115]
    CCMS: Initalizing shared memory of size 20000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6200, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   941]
    DpMsgAdmin: Set patchno for this platform to 674
    Release check o.K.
    Sun May 07 13:15:18 2000
    ERROR => W2 (pid 4776) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W2
    Sun May 07 13:15:38 2000
    ERROR => W5 (pid 4548) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W5
    ERROR => W8 (pid 4592) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W8
    ERROR => W9 (pid 4584) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W9
    ERROR => W12 (pid 4676) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W12
    ERROR => W13 (pid 4272) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W13
    my types changed after wp death/restart 0xbf --> 0xb7
    Sun May 07 13:15:58 2000
    ERROR => W4 (pid 4888) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W4
    ERROR => W6 (pid 4788) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W6
    ERROR => W15 (pid 4596) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W15
    Sun May 07 13:16:18 2000
    ERROR => W1 (pid 4892) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W1
    ERROR => W3 (pid 4904) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W3
    ERROR => W7 (pid 4000) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W7
    ERROR => W10 (pid 4864) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W10
    my types changed after wp death/restart 0xb7 --> 0xb5
    Sun May 07 13:16:38 2000
    ERROR => W0 (pid 4900) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W0
    ERROR => W11 (pid 4500) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W11
    ERROR => W14 (pid 4636) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W14
    ERROR => W16 (pid 3532) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W16
    my types changed after wp death/restart 0xb5 --> 0x80
    DP_FATAL_ERROR => DpEnvCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    DpModState: change server state from STARTING to SHUTDOWN
    Sun May 07 13:16:42 2000
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9341]
    MBUF state OFF
    MBUF component DOWN
    ***LOG Q05=> DpHalt, DPStop ( 3628) [dpxxdisp.c   7883]

  • Function call SALI_MT_GET_TID_BY_NAME failed

    All,
    We have the Central System Monitoring set up on the SOM to monitor Red Alerts. There is a current Red Alert associated with Log Attributes under the following path:
    SOM\CCMS database self-monitoring\...
        Database self-monitoring
            SQL Server 
    Red Alert:
    create_mss_space_mgmt: function call SALI_MT_GET_TID_BY_NAME failed with exception NAME_NOT_FOUND. Affected MTE: ., Red 28.04.2007 , 10:02:18 ( No value has yet been reported )
    I would greatly appreciate if you can provide me a solution to correct this Red Alert.
    Thank you very much in advance.

    Dear Dilanka,
    Kindly reset the node using RZ20 :
    Transaction code RZ20
    ====>  SAP CCMS Technical Expert Monitors
       ====>System / All Monitoring Segments / All Monitoring Contexts
         ====>CCMS database self-monitoring
           ====>Database self-monitoring
    ********check the box for Oracle with a tick*********
    **********Go to Extras on the Menu bar *******
       ====>Activate maintenance function
             ====>Edit  ====>  Nodes Reset  <===
    This should normally resolve the issue.
    Regards
    Amit Devale

  • WebDynpro Exception: The ADS call has failed. You can find information abo

    hi,
    I have created the From .
    when i try to run the application .i am getting the folllowing error .
    Is there any solution for that?
    WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server.
    Regards
    Vivekananthan.S

    It sounds like your system is not properly configured for the connection to the Adobe Document Services.  Have your system admins confirm the setup.  Look for the error.pdf document mentioned in the exception for more details on the actual cause of the error. This error message is generic and could be caused by several different conditions - almost all of which are related to incomplete or incorrect configuration of the ADS/ADS Connectivity.

  • The ADS call has failed-ADOBE form

    Hello All,
    I am getting the following error, while runing WD, i am displaying pdf form in that.
    but for few of the pdf forms i can display properly with out any error. in the same WD, but in other view
    this error is coming only with one form.
    the exception is .....
    WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server
    The error occurred on the application server pep74_S92_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CREATE_PDF_DDIC of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP

    Have you managed to establish what is different about the forms that do/do not display?  Main one is the interactive flag.  If it is just your interactive forms that produce the dump then it is likely that the credential file has not been installed correctly (or at all).

Maybe you are looking for

  • How to get the workitem id from UWL

    HI All,            I have developed a workflow and   starting this workflow from webdynpro abap.I integrated that task in SWFVISU transaction  to trigger the webdynpro from UWL up to now its working fine. but now the problem is i need to get the WI_I

  • My bb 9860 wont turn on!!

    Ive had my new torch for almost two months. It was working normally until two days ago when I woke up to a dead blackberry.  It just wont turn on, just kept gettin the red led on. I took it back and was told that this is happening a lot to this new b

  • F110 Debit Balance Check auto block account

    Hi: on F110 , I run debit balance check and execute the and put block. Is this really block vendor account or not? I go to FK05 but it not put the block there. pls advise.

  • Shrink table and Truncate/delete command

    Friends , Regarding truncate cmmand we know , "Truncate table removes all rows from a table, but the table structure and its columns, constraints, indexes etc., remains as it is." That means the table's data are deleted but the block is still not fre

  • Changing desktop background issue12

    hi, I have an issue with my macbook pro retina display 13" running mountaion lion os. I was trying to change my desktop background, so I right-clicked my mouse and choose 'change desktop background option'. The first time I did this, nothing happened