For example this function ,

                        <!-- The function "OnZoiperReady" is the entry point 
for Zoiper Web usage. It is called by Zoiper Web when it is ready for use. It 
provides a reference to its "Phone" object which we assign to the "Zoiper" 
variable. We use it to make the initial setup -->          
                        function OnZoiperReady(phone)
                        {
                                Zoiper = phone;
                                Zoiper.AllowMultipleInstances();
                                
                                var Config = Zoiper.GetConfig();
                                Config.SetSIPIAXPorts("4566", "5060");
                                Config.PopupMenuOnIncomingCall = "false";
                                Config.RingWhenTalking = "false";
                                Config.AutoAnswer = true;
                                Config.UseEchoCancelation = true;
                                Config.RecordCalls = false;
                                Config.RingWhenTalking = false;
                                
                <!-- Force the browser to set flex app with focus -->
                var obj = swfobject.getObjectById("WebAgent");

                if (obj) {
                        obj.ZoiperReady();
                }
                        }


It sends to the swf a notification when the activeX (phone) was loaded  

Regards
Saul
-----Original Message-----
From: Alex Harui [mailto:[email protected]] 
Sent: Sunday, November 22, 2015 9:51 PM
To: [email protected]
Subject: Re: FlexJS and ExternalInterface



On 11/22/15, 4:27 PM, "Saul Diaz" <[email protected]> wrote:

>Hi
>
> 
>
>Not sure is the right place to ask about this but will make my life 
>super easy.
>
> 
>
>FlexJS have anything like ExternalInterface that allows to integrate 
>another js SDK?

We don't have such a thing now.  Simple versions might be easy to create.
Can you provide another level of detail on what you are trying to do?
There may be another/better way to do it in FlexJS.  For example, we have 
wrapped Jquery and CreateJS components so you can work with them more directly 
than you can with ExternalInterface.

Thanks,

-Alex


Reply via email to