now i'm testign with a super simple test swf in AS2 like this...

import flash.external.ExternalInterface;

if(ExternalInterface.available)
{
statusTXT.text = "External Interface is available";
 ExternalInterface.call("alert", "Called from flash");
getURL("javascript:alert('alternative JS call');");
}

and while both alert's fire on windows, in FF and chrome on ubuntu not even
the second one goes.

as far as timings go, in the actual project i call JS to set a var to say
that the flash is all ready and raring to go before anything gets called in
it. plus it works fine on windows in every browser i've tried...



On 5 May 2010 18:59, Paul Andrews <p...@ipauland.com> wrote:

> On 05/05/2010 17:43, tom rhodes wrote:
>
>> ok, currently got probs with firefox as well on linux. the swf thinks
>> ExternalInterface is available but nothing gets called in the JS
>>
>>
> Maybe it's really a problem with the code. The most common error is trying
> to call Flash functions before the swf is ready. Might that be it? Or are
> you just calling javascript from flash?
>
>
>
>> On 5 May 2010 18:00, Mattheis, Erik (MIN - WSW)<
>> ematth...@webershandwick.com>  wrote:
>>
>>
>>
>>>
>>> http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html
>>>
>>> Flash Player for Linux version 9.0.31.0 and later supports the
>>> ExternalInterface class in the following browsers:
>>>
>>> Browser
>>> Mozilla 1.7.x and later
>>> Firefox 1.5.0.7 and later
>>> SeaMonkey 1.0.5 and later
>>>
>>> _ _ _
>>> Erik Mattheis
>>> Senior Web Developer
>>> Minneapolis
>>> T  952 346 6610
>>> C 612 377 2272
>>>
>>> Weber Shandwick
>>> Advocacy starts here.
>>>
>>> PRWeek Global Agency Report Card 2009 - Gold Medal Winner
>>> The Holmes Report Global Agency of the Year
>>> PR News Agency of the Year
>>>
>>> -----Original Message-----
>>> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
>>> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of tom rhodes
>>> Sent: Wednesday, May 05, 2010 10:26 AM
>>> To: flashcoders
>>> Subject: [Flashcoders] ExternalInterface broken? chrome and safari on
>>> linux...
>>>
>>> anyone got ExternalInterface calls working in chrome/safari on linux?
>>>
>>> or know why mine might be failing? they work on everything else
>>> seemingly...
>>>
>>> tia,
>>>
>>> tom.
>>> _______________________________________________
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>> _______________________________________________
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>>
>>>
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
>>
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to