My browser-deployed Flex app, built in FB4, is using the
ExternalInterface. The Flex app gets some search terms from the user,
goes out to a webservice for some data, and then pushes some html markup
out to a DIV in the HTML document using the ExternalInterface.call()
method.
I send the content
Hi,
The ExternalInterface.call() will return the value from javascript.
So your flex code might look like this,
*var returnObj:Object = ExternalInterface.call(**
BrowserScriptsJS.GET_BROWSER_**INFO);*
where *returnObj *is the object that is returned from javascript functon.
Hope this will help
I have an ExternalInterface call in my application that looks like this:
ExternalInterface.call(BrowserScriptsJS.GET_BROWSER_INFO);
-
Anyone know why I am getting this error when making an
externalinterface call?
missing ) after argument list
[Break on this error] try { __flash__toXML(Glide.onSelect(43,4...
YOU $ 'FBar'\",\"connection\":0
I added an extra argument to a ExternalInterface called that was
already working. This argument is an object with one of its
properties being XML.
After I added the object, the JS function was not being called
anymore. After a little debugging, it looks like you cannot send XML
or a nested
Can anyone shed a light on how code execution flows when you have JS
calling AS function which calls another JS function? I seem to be
getting a very unpredictable race conditions.
So here's how my code kind of looks like:
[JS]
JSLine1();
swfMov.callASFuncA(); // this calls AS functions
JSLine
http://livedocs.adobe.com/flex/2/langref/flash/errors/ScriptTimeoutError.html
- Original Message -
From: "icykorpio" <[EMAIL PROTECTED]>
To:
Sent: Friday, October 26, 2007 10:05 AM
Subject: [flexcoders] ExternalInterface script time out problem!
hi every
hi everyone,
when i use externalinterface to call its container's function, flash
player will pop up an exception if the function doesn't return in 15
seconds.
i can't try-catch the exception because it's a timer-based async error.
any expert know some way to work-around the 15 seconds limit?
Hi,
I am developping an application using the ExternalInterface API a lot
(well not sure anymore..). But after a few runs a noticed huge
performance differences between IE7 and FF2. I decided to quickly
benchmark them ; here are my results.
100 calls : FF=30ms, IE=1600
1000 : FF=200, IE=3200
100
I hope this isn't a bug and I am just doing something wrong. The
situation is we have an object that looks like this (JSON notation):
mainObject = {
id: "1234",
name: "mainObject Name",
control: "mainObject Control",
subObject: {
id: "abcd",
name: "subObject Name"
I was super excited yesterday when I started playing with FABridge and
saw how great it worked. Fast forward to this morning when we moved
the code and swf into the deployed .ASPX page and everything broke.
Turns out this is a well documented (by users, not Adobe/MM) bug with
ExternalInterface (whi
Greetings list
This is my first post to the list, so please excuse me if anything is
not in order...
I'm using struggling to get my flex app to talk to a JS object in the
browser, and can't figure out what it is not working... I've googled
for hours to no avail...
Here is a basic mockup of what
Hello people,
I am having a problem with Firefox. I do a javascript (window.open) by
an ExternalInterface.
Something like this:
var strJavaScript:String = 'window.open("test.html","Test","width="+
screen.width +",height="+ (screen.height - 30)
+",left=0,top=0,status=0")'
ExternalInterface.call(st
Dear Adobe Engineers,
I have a button in a popup window within my Flex App. This button
fires an ExternalInterface command which then fires a javascript alert
box.
After firing the alert box, the timer icon starts spinning and the App
just hangs.
All of this code was working fine in Beta3.
Hi
I am trying to invoke _javascript_ functions(stored in a .JS file) from my MXML document. I am using flash.external.ExternalInterface to do the same.
But am unable to import the JS file. Could someone please tell how to import an external JS file into MXML. Pls note : I am not using an HTML w
It's working perfectly in IE! but Firefox is giving a javascript-error.
in my html-template:
function setDirectory(dir) {
var flash = getMovie("${application}");
flash.setDirectory(dir);
}
function getMovie(movieName) {
if ( navigator.appName.inde
Hi guys,
I have seen that ActiveX version of Flash Player issues an event
(FlashCall) that describes using xml the function call that the
programmer has called with ExternalInterface.call method.
That xml has the form :
name="thenameofthefunction">...
However, regarding the NPPlugin version,
I wanted to create an "dialog" as an html form in an iframe rather than
opening a separate browser window for uploading image files. I also
wanted to create an html page preview using an iframe as well.
I spent an entire Sunday working at this and none of my efforts have
succeeded satisfactorily.
PM
Subject: RE: [flexcoders] ExternalInterface Question
Hi
Jester,
I am using Flash 8. Can I use
ExternalInterface for communication between JS and Flex 1.5 as below? Or do I
have to use swf ?
---à
Test.jsp
<%@ taglib uri="FlexTagLib"
prefix="mm" %>
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Wednesday, January 25, 2006
12:32 PM
To:
Sent: Wednesday, January 25, 2006 3:11 PM
Subject: [flexcoders] ExternalInterface Question
Hi,
Is ExternalInterface not available in Flex 1.5? I have
to make a communication between a windows application and my Flex application
e.g. Clicking on an Image in Windows Application passes an object to my
Hi,
Is ExternalInterface not available in Flex 1.5? I have to make a
communication between a windows application and my Flex application e.g. Clicking
on an Image in Windows Application passes an object to my flex app and highlights
the values in my Datagrid. What are my options here?
22 matches
Mail list logo